pls I what to know the procedure to follow, in order to acquire sound using sound card and MATLAB

pls I what to know the procedure to follow, in order to acquire sound using sound card and MATLAB

답변 (2개)

If you have Data Acquisition toolbox
% Create analog input object
ai = analoginput('winsound');
addchannel(ai, 1);
% set the frequency to 7000 Hz and time aquisition to 10 second
ai.SampleRate = 7000;
ai.SamplesPerTrigger = 7000*10;
ai.TriggerType = 'Immediate';
% Start speaking or singing in your microphone
start(ai)
[d,t] = getdata(ai);
% Now check your sound by
sound(d)
For more details look at

이 질문은 마감되었습니다.

질문:

2013년 8월 24일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by