how can i configure raspberry pi to get audio input using audio alsa capture in simulink?

1 view (last 30 days)
i want to execute a matlab code on raspberry pi 3 using simulink. matlab function should get audio in ".wav" format and process it on real time basis.

Answers (1)

Prashanth Krishnan
Prashanth Krishnan on 14 Dec 2016
To get Audio input using Audio ALSA Capture for Raspberry Pi, please consider using the ALSA Audio Capture block provided for Simulink as part of the Raspberry Pi Hardware Support Package. You can find more information on the block by visiting the link provided below:
  1 Comment
Jun W
Jun W on 8 Jun 2018
Edited: Jun W on 8 Jun 2018
Besides Simulink, is there a function to capture the external soundcard data? Simulink is unable to generate m code, kind of useless in this case.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!