How to capture audio from sound card using ALSA?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone!
How are you?
So, I'm working in a project that I'll need to capture an audio data, probably 2 minutes of data, using the Simulink and Raspberry Pi (I'm using the Matlab support package with simulink to work with the raspberry pi). First thing that I've done was to check if my raspberry pi was able to record an audio using the USB audio device. I configurated it (using this tutorial -> http://www.oodlestechnologies.com/blogs/Record-Audio-on-Raspberry-Pi-3-using-audio-sound-card) and managed to get some audio data. After that, I was planning to work with simulink to get some audio data but I still don't manage to do it. I've read the information in this website (https://www.mathworks.com/help/supportpkg/raspberrypi/ref/alsaaudiocapture.html) but it still not clear to me how to do it. I thought that I could just put the block of Alsa Capture and then send it to workspace, but it didn't work well doing that. I didn't find any tutorial or examples of this kind of application.
So, my question is: Does anyone know how to capture an audio data using alsa capture block in simulink? What kind of configuration should I do?
Thanks for your attention... :)
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!