How can I handle processing live audio data?
Show older comments
I am using the "audiorecorder" object and the "record" function to process live audio data using techniques like FFT, binning, and filtering. I am using a timer callback to process the data every so often. However, the time it takes to process a chunk of data is longer than the time it took to record that data, which means that over time the amount of data I need to process when I call "getaudiodata" or use a callback also increases. It gets to the point where the time it takes to process the data is longer than it takes for the next callback to trigger. Trying to use "recordblocking" or a time parameter does not help in fixing the issue either.
Accepted Answer
More Answers (0)
Categories
Find more on Audio and Video Data 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!