nycki.net/static/qrplay/v2c.min.html
nycki 819fda5985
All checks were successful
/ build (push) Successful in 32s
more tricks; remove the d
2025-07-09 22:45:15 -07:00

1 line
No EOL
767 B
HTML

<meta name=viewport content=initial-scale=1><center><p><a href=http://nycki.net/qrplay>qrplay v2c</a></p><textarea id=f style=width:min(40em,99%);height:9lh></textarea><p><button onclick='s=f.value.toLowerCase();f.A?.close();A=f.A=new AudioContext;T=[];u=137;v=40;for(c=t=o=k=Z=0,l=3;D=s[c+1],E=D+s[c+2],C=s[c++];z<0?0:z<2?k=z:k?0:z<4?o+=C+12|0:z<6?l*=3/d:z<23?(z-=6,O=new OscillatorNode(A,{type:`square`,detune:100*(z*2-(z>3)-(D==`!`)+(D==`#`)+o-9)}),G=new GainNode(A,{gain:z<7&&.5**(11-v/5)}),O.connect(G),G.connect(A.destination),O.start(t),O.stop(t+=2.5*l/u)):z<24?(o=0,l=3):z<31?l=3<<(z-25):z<32?(T[Z]=t,t=T[Z=E]|0,c+=2):z<33?u=E+s[c+=2,c++]:(v=E,c+=2))z=`\n;-+.3cdefgab012456789x@jtsiqhwzuv`.indexOf(C)'>#play</button> <button onclick=f.A.close()>#stop</button>