フィルターのクリア

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

1 回表示 (過去 30 日間)
Jack Latham
Jack Latham 2018 年 4 月 9 日
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 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by