This commit is contained in:
parent
142746c3a4
commit
8c7311ac38
1 changed files with 13 additions and 5 deletions
|
@ -18,10 +18,11 @@
|
||||||
<meta name="viewport" content="width=device-width initial-scale=1.0">
|
<meta name="viewport" content="width=device-width initial-scale=1.0">
|
||||||
<textarea id=f></textarea><br>
|
<textarea id=f></textarea><br>
|
||||||
<button onclick='
|
<button onclick='
|
||||||
/*qrplay v1, nycki & SArpnt, 2025*/
|
/*qrplay v2, nycki & SArpnt, 2025*/
|
||||||
|
f.A&&f.A.close();
|
||||||
|
f.A=A=new AudioContext;
|
||||||
v=f.value;
|
v=f.value;
|
||||||
T=[];Z=0; // channels
|
T=[];Z=0; // channels
|
||||||
f.A=A=f.A||new AudioContext;
|
|
||||||
B=new GainNode(A,{gain:0.4});
|
B=new GainNode(A,{gain:0.4});
|
||||||
B.connect(A.destination);
|
B.connect(A.destination);
|
||||||
for(
|
for(
|
||||||
|
@ -50,17 +51,24 @@ for(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
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())]
|
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())]
|
||||||
'>#play</button><button onclick='f.A.close();f.A=0'>#stop</button>
|
'>#play</button> <button onclick='f.A.close()'>#stop</button>
|
||||||
<!-- stop snipping here -->
|
<!-- stop snipping here -->
|
||||||
|
|
||||||
<script>f.value=f.value||window.location.search.slice(1)||`'Solfeggettio in C Minor by JS Bach
|
<button onclick='
|
||||||
|
window.location.search = "?"+f.value.replaceAll(" ","%20").replaceAll("\n","%0a").replaceAll("#","%23");
|
||||||
|
'>#save</button>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
f.value=f.value||window.location.search.slice(1)||`'Solfeggettio in C Minor by JS Bach
|
||||||
@i-e!ce!g+ce!dc-bgb+dgfe!de!
|
@i-e!ce!g+ce!dc-bgb+dgfe!de!
|
||||||
@ice!g+ce!dcdc-bagfe!d
|
@ice!g+ce!dcdc-bagfe!d
|
||||||
@ie!ce!g+ce!dc-bgb+dgfe!d
|
@ie!ce!g+ce!dc-bgb+dgfe!d
|
||||||
@i+e!ce!g+ce!dcdc-bagfe!d
|
@i+e!ce!g+ce!dcdc-bagfe!d
|
||||||
@i+e!c-ge!c++c-ge!a!--fa!+cfa!+ce!
|
@i+e!c-ge!c++c-ge!a!--fa!+cfa!+ce!
|
||||||
@i+d-b!fd-b!++b!fdg--e!gb!+dgb!+d
|
@i+d-b!fd-b!++b!fdg--e!gb!+dgb!+d
|
||||||
@i+ge!dc-ge!dh.c`</script>
|
@i+ge!dc-ge!dh.c`;
|
||||||
|
f.value=f.value.replaceAll('%20', ' ').replaceAll('%0a','\n').replaceAll('%0A','\n').replaceAll('%23', '#');
|
||||||
|
</script>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue