diff --git a/static/qrplay/index.html b/static/qrplay/index.html index b7f427b..f3c0948 100644 --- a/static/qrplay/index.html +++ b/static/qrplay/index.html @@ -34,10 +34,10 @@ for( k?0: // comment z>27?(T[Z]=t,Z=+v.slice(i,i+=2),t=T[Z]||0): // change channel z>17?t+=l: // rest - z<4? // @-+ + z<3? // @-+ z?o+=g: // change octave (o=0,l=1/8): // @ - z&1?l=g: // change speed + (console.log(z),z)&1?console.log(l=g): // change speed ( // note a=new OscillatorNode(A,{ type:`square`, @@ -75,7 +75,7 @@ for( - +
\ No newline at end of file +
\ No newline at end of file diff --git a/static/qrplay/min.txt b/static/qrplay/min.txt index aa7e782..2ecb347 100644 --- a/static/qrplay/min.txt +++ b/static/qrplay/min.txt @@ -2,4 +2,4 @@ note to self: space -> %20 # -> %23 -data:text/html,
29?k=1:%20z>28?k=0:%20k?0:%20z>27?(T[Z]=t,Z=+v.slice(i,i+=2),t=T[Z]||0):%20z>17?t+=l:%20z<4?%20z?o+=g:%20(o=0,l=1/8):%20z&1?l=g:%20(%20a=new%20OscillatorNode(A,{type:`square`,detune:100*(g+o+(d==`%23`)-(d==`!`))%20}),a.connect(B),a.start(t*.4),t+=l,a.stop(t*.4)))g=[,-12,12,4,-9,2,-7,1,-5,.5,-4,.25,-2,1/8,0,l/3,2,l*1.5][z=`@-+wchdqeifsgta3b.x012456789z\npovukr\x27`.indexOf(c.toLowerCase())]'>%23play%23stop \ No newline at end of file +data:text/html,
29?k=1:z>28?k=0:k?0:z>27?(T[Z]=t,Z=+v.slice(i,i+=2),t=T[Z]||0):z>17?t+=l:z<3?z?o+=g:(o=0,l=1/8):(console.log(z),z)&1?console.log(l=g):(a=new%20OscillatorNode(A,{type:`square`,detune:100*(g+o+(d==`%23`)-(d==`!`))}),a.connect(B),a.start(t*.4),t+=l,a.stop(t*.4)))g=[,-12,12,4,-9,2,-7,1,-5,.5,-4,.25,-2,1/8,0,l/3,2,l*1.5][z=`@-+wchdqeifsgta3b.x012456789z\npovukr\x27`.indexOf(c.toLowerCase())]'>%23play%23stop \ No newline at end of file diff --git a/static/qrplay/qrplay-v1.png b/static/qrplay/qrplay-v1.png index ff3dac7..9778925 100644 Binary files a/static/qrplay/qrplay-v1.png and b/static/qrplay/qrplay-v1.png differ