Info

此问题已关闭。 请重新打开它进行编辑或回答。

I want to get FFT of a live sound stream on guide, i have used following code to initialize a sound devise in MATLAB

1 次查看(过去 30 天)
d = daq.getDevices ;
dev = d(2);
handles.s = daq.createSession('directsound');
addAudioInputChannel(s,dev.ID,1:2);
handles.s.isContinuous = true;
handles.s.Rate =8000;
handles.NotifyWhenDataAvailbleExceeds = 4000;

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by