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.

1 Commento

Thak you very much for the answer. Unfortunately our academic license does not include the audio toolbox. I was used to work with audio in the past in a different license environment.

Accedi per commentare.

 Risposta accettata

Nick Choi
Nick Choi il 7 Dic 2017

0 voti

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:

Più risposte (0)

Categorie

Scopri di più su Audio I/O and Waveform Generation in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by