Use of soundcard in Simulink!
3 views (last 30 days)
There is no proper Element in Simulink to include the soundcard of the laptop in real time. In standard Matlab there is the function autiorecorder. I would like to do the same in Simulink. In my special case it is a Realtec soundcard with interior microphone. A USB microphone could be an alternative.
Nick Choi on 7 Dec 2017
The 'Audio Device Reader' block in the Audio System Toolbox would allow you to read audio from your computer's sound card. The following documentation page provides additional information on how to use this block:
Additionally, this link contains an example of how this block can be used to read audio from a computer's sound card and then write audio to the computer's speakers: