Real-time audio classification -> how to get latest X seconds of audio input

1 visualización (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by