MATLAB Answers

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)
Muhammad Jibran
Muhammad Jibran on 15 Jan 2020
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags