From 1bea44d89008a33fe006ab3fe3f932e13204c183 Mon Sep 17 00:00:00 2001 From: nycki Date: Sun, 13 Jul 2025 02:15:41 -0700 Subject: [PATCH] working --- static/qrplay/v3e.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/static/qrplay/v3e.html b/static/qrplay/v3e.html index 05dbbf0..3b31107 100644 --- a/static/qrplay/v3e.html +++ b/static/qrplay/v3e.html @@ -35,7 +35,7 @@ F=( I=0, K=0, S=D=>D?S(D+(M[++I]==C)-(M[I]=='/')):I -)=>{;for(; +)=>{console.log(T);for(; C=M[I++]; D=M[I], J=E=>E.indexOf(D)>=0, @@ -78,15 +78,12 @@ F=( O.stop(T+=L/U*15/8) ): // any unused letter or number - C-3|C>'@'?setTimeout( - // play a sample in parallel - _=>F(D,T,L,N), - // ...but don't read infinitely far ahead - 1e3*T-Date.now()+W-5e3, - D=F[C] - ): + C>'/'?((M,T,L,N)=>( + console.log(M), + setTimeout(_=>F(M,T,L,N)) + ))(F[C],T,L,N): // change octave, or noop - N-=C+12|0 + +C&&(N-=C+12|0) )Q='XCDEFGABR$JTSIQHWVU3.\n;:'.indexOf(C)}, F('\nU137V40'+H.value.toUpperCase()) ">#play