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

1 vue (au cours des 30 derniers jours)
Jack Latham
Jack Latham le 9 Avr 2018
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.

Réponses (0)

Catégories

En savoir plus sur Simulation, Tuning, and Visualization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by