Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
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;

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!