Why isn't there a command to capture Raspberry Pi external soundcard data except for Simulink?

1 view (last 30 days)
I have raspberry pi set up with Matlab and connected. Raspi is connected to an external soundcard: hw:1,0
Here's where I am:
devices = listAudioDevices(raspi,'capture')
How to capture the soundcard’s microphone which is device(1) in this case without using simulink?

Accepted Answer

Jun W
Jun W on 8 Jun 2018
Edited: Jun W on 8 Jun 2018
I've looked everywhere, there isn't even a command to capture Raspberry Pi external soundcard’s microphone data except for using Simulink. The link below only provides the code to list all the audio devices, fs, etc, then send all the responsibility to Simulink, which means the Matlab hardware support package is incomplete. It's like selling a product without instruction.

More Answers (0)

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!