MATLAB Answers

speech signal from Microphone USB

조회 수: 31(최근 30일)
hajer
hajer 21 Dec 2011
hi , i have question . In matlab , can i take online speech signal from Microphone USB and use it in my code at same time ?? can do that ?????

  댓글 수: 0

로그인 to comment.

답변(2개)

Chirag Gupta
Chirag Gupta 21 Dec 2011
Try this: http://www.mathworks.com/help/techdoc/ref/audiorecorder.html. If you want to record analog data from your soundcard, you should also look at Data Acquisition Toolbox!

  댓글 수: 5

표시 이전 댓글 수: 2
Walter Roberson
Walter Roberson 22 Dec 2011
Multiple microphones implies multiple device ID's.
If you need to record from several different microphones at the same time, you would probably need the Data Acquisition Toolbox; audiorecord() is not suitable for that task (because it does not return control until all the data for that device has been read.)
hajer
hajer 22 Dec 2011
thank you for helping ;
in Data Acquisition Toolbox can i play recorded sound.
Walter Roberson
Walter Roberson 22 Dec 2011
You would be able to output sound to a device, but DAT does not itself provide routines to read recorded sounds.
http://www.mathworks.com/products/daq/
With the toolbox you can configure data acquisition hardware and read data into MATLAB and Simulink® for immediate analysis. You can also send out data over analog and digital output channels provided by data acquisition hardware.

로그인 to comment.


Daniel Shub
Daniel Shub 28 Dec 2011
Depends what you mean by "same time." There is going to be a few milliseconds of latency. I would look at the MATLAB based port audio implementations. There are playrec and pa-wavplay (I am not sure i the latter handles input). My preference is for the audio part of the psychtoolbox http://docs.psychtoolbox.org/PsychPortAudio

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by