wanted to say hello first, i'm new to the board.
i'm tokenizing the following code into my stamp:
sw0 PIN 0
SEROUT 16,240,[10,10,0] ' turn media off
IF sw0 = 0 THEN GOTO setup
SEROUT 16,240,[10,10,1] ' turn media on
and listening for the 'on' state with this patch:
the problem i'm having is that whenever '1' or 'on' is triggered, sfplay will repeatedly play the first couple of milliseconds of the sound and only when '0' or 'off' is triggered will the rest of the sound finish.
i would like it so that the sound only plays and finishes when 1/on is triggered' and turned off if 0/off is triggered.
thanks in advance for any help!