Real-time audio classification -> how to get latest X seconds of audio input
1 view (last 30 days)
Show older comments
I'm putting together a program to classify audio signals (input via mic) in real time. The classification portion of the code can take a couple of seconds, once the classification is complete I'd like to classify the latest X seconds of audio. Using for example audioDeviceReader I can create a buffer of X seconds, which can be input into the classifier, however due to the time taken for classification there will be a delay w.r.t the signal. Is there a way to set up the audioDeviceReader so that only the latest X seconds of data are being recorded? i.e. so calling it gives the last X seconds of audio input? Thanks for any tips/suggestions.
0 Comments
Answers (0)
See Also
Categories
Find more on Simulation, Tuning, and Visualization 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!