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
댓글 수: 0
답변 (2개)
Azzi Abdelmalek
2013년 8월 24일
편집: Azzi Abdelmalek
2013년 8월 24일
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
댓글 수: 1
bala sadiq
2013년 9월 1일
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!