dsp.AudioPlayer : output audio buffer clear

14 views (last 30 days)
IKJOO
IKJOO on 11 Sep 2014
I am using dsp.AudioPlayer( ) for real-time playing audio files.
The problem is that very short noise is generated at the beginning of the play. I think this is caused by garbage data that remains in the audio buffer at the last play.
When running my code after executing 'clear all', short noise is not generated. How can I clear real-time output buffers used in dsp.AudioPlayer( )?
My matlab version is 2013b.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!