Help with speed multiplier button controls

14 views (last 30 days)
i have two speed button, one fast and the other slow. i want to be able to control the playback with my play/resume, pause and stop button. How do i go about doing that?
global Fs;
global audio1;
global y;
Fs = Fs*2;
audio1 = audioplayer(y,Fs);
play(audio1);

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!