SndFile$ = "01 Mydlovar.mp3"
SndL = _MEMSOUND(Snd, 1)
SndR = _MEMSOUND(Snd, 2)
size& = OFFSET_to_I64(SndL.SIZE) \ 2
STP = 1
i = i + 1
ap& = ap& + 2
PRINT "Drag the mouse in the y-axis to correct the speed of sound, ESC for quit!"
'S = i / 2 'play track from middle
STP = STP + (MMY / 100)
IF STP
< 1 THEN STP
= STP
+ .0001 IF STP
> 1 THEN STP
= STP
- .0001
S = S + STP
LeftValue = Sam(S).Left
RightValue = Sam(S).Right
_SNDRAW LeftValue
/ 32767, RightValue
/ 32767
Offset_to_i64 = num
OFFSET_to_I64 = num