Compare commits
No commits in common. "164aea2eae4b608433aeabb7908fe9466d1ae330" and "d1dc368f8f4dddf0c934766f8b31b6f9fc9b28a1" have entirely different histories.
164aea2eae
...
d1dc368f8f
1 changed files with 4 additions and 5 deletions
|
@ -27,13 +27,12 @@
|
|||
<BUTTON onclick="
|
||||
F.A?.close();
|
||||
F.A=A=new AudioContext;
|
||||
D=Date.now();
|
||||
// kill some time for the audio context to start
|
||||
S='@'+F.value.toLowerCase();
|
||||
S='@qx@'+F.value;
|
||||
// stack
|
||||
B=[];
|
||||
// stack variables
|
||||
K=L=O=T=Z=0;
|
||||
K=O=T=Z=L=0;
|
||||
U=137;
|
||||
V=40;
|
||||
// samples
|
||||
|
@ -95,7 +94,7 @@ M=_=>{
|
|||
// play sample
|
||||
S=C[a]+S.slice(s--);
|
||||
|
||||
// loop (but don't get too far ahead)
|
||||
A.state!='closed'&&(S=S.slice(s))&&setTimeout(M,1000*T-Date.now()+D);
|
||||
// loop
|
||||
(S=S.slice(s))&&setTimeout(M)
|
||||
};M()
|
||||
">#play</BUTTON> <BUTTON ONCLICK=F.A.close()>#stop
|
||||
|
|
Loading…
Add table
Reference in a new issue