I have a wav file (example.wav) which has a duration of 5 seconds
How can I play the first 2 seconds of the wav file.
After two seconds, audio must stop.
The rate: command will downsample the wave file(my understanding). The sound is very much different from the original file.
use_bpm 60
sample “C:/spi/sounds/example.wav”,rate: 2
sleep 2