commit 510f54174c0d29948beb1b268dfff1160b516169 parent 511dc4beac72fa89df0f81e6b1b990d72c8b7785 Author: Eamon Caddigan <eamon.caddigan@gmail.com> Date: Tue, 19 Dec 2023 22:16:00 -0800 Audio demo I (mistakenly) believe that this should sustain a note for 500 ms and then stop, but that's not what's happening. Diffstat:
A | beep.tal | | | 41 | +++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 41 insertions(+), 0 deletions(-)
diff --git a/beep.tal b/beep.tal @@ -0,0 +1,41 @@ +( beep.tal ) + +|30 @Audio0 &vector $2 &position $2 &output $1 &duration $2 &pad $1 &adsr $2 &length $2 &addr $2 &volume $1 &pitch $1 + +|0000 + +|0100 + ( It's my understanding that this should play a tone for 500 ms and then + stop, but it loops indefinitely. ) + + ;stop-sound .Audio0/vector DEO2 + #014f .Audio0/duration DEO2 + #00f0 .Audio0/adsr DEO2 + #0100 .Audio0/length DEO2 + ;sin-pcm .Audio0/addr DEO2 + #ff .Audio0/volume DEO + + #4e .Audio0/pitch DEO +BRK + +@stop-sound ( -> ) + #00 .Audio0/pitch DEO +BRK + +@sin-pcm + 8083 8689 8c8f 9295 989b 9ea1 a4a7 aaad + b0b3 b6b9 bbbe c1c3 c6c9 cbce d0d2 d5d7 + d9db dee0 e2e4 e6e7 e9eb ecee f0f1 f2f4 + f5f6 f7f8 f9fa fbfb fcfd fdfe fefe fefe + fffe fefe fefe fdfd fcfb fbfa f9f8 f7f6 + f5f4 f2f1 f0ee eceb e9e7 e6e4 e2e0 dedb + d9d7 d5d2 d0ce cbc9 c6c3 c1be bbb9 b6b3 + b0ad aaa7 a4a1 9e9b 9895 928f 8c89 8683 + 807d 7a77 7471 6e6b 6865 625f 5c59 5653 + 504d 4a47 4542 3f3d 3a37 3532 302e 2b29 + 2725 2220 1e1c 1a19 1715 1412 100f 0e0c + 0b0a 0908 0706 0505 0403 0302 0202 0202 + 0102 0202 0202 0303 0405 0506 0708 090a + 0b0c 0e0f 1012 1415 1719 1a1c 1e20 2225 + 2729 2b2e 3032 3537 3a3d 3f42 4547 4a4d + 5053 5659 5c5f 6265 686b 6e71 7477 7a7d