You are playing sfx on channel 2 and stoping it on 0
try to call instead
sfx(-1,0,2)
Thanks, but the volume still not working argument. (even if I don't care for my current project ;) )
yes, channel #2 has triangle waveform by default and the wave has no volume control. It plays sound only if volume > 0 and silence otherwise, all other waves have volume control.