Adjust Matlab Gui parameter while playing an audio
As far as I know, the simplest, very old, matlab function to play wave PCM audio is "sound(x,Fs,Nbits)" and it is a high level function that will buffer the entire piece before it is played. And it will not allow adjustment on "x" before it is fully played. If your play function is also similar in mechanism, then you shall consider either using a low level audio playback function or divide your audio into small pieces and send each piece in sequence. However this last method may create problems due to multimedia timing issues. And as a result played audio may have pops &amp; cracks in it.