capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341
Posted: 12:17am 09 Aug 2020
Ah, that's why my previous sound routines had sounded rough, if I play each sound for a whole number of cycles it sounds more like I intended.
print "zap sound, rough" for k=1 to 2 for n=800 to 100 step -20 play sound 1,B,q,n pause 10 next n next
play sound 1,B,O,300 pause 3000
print "zap sound, smooth" for k=1 to 2 ' multiples of 50 cycles per second for n=800 to 100 step -50 play sound 1,B,q,n ' 20ms is a 50th of a second pause 20 next n next