This is a very nice example of an app, created using the App Designer, that makes use of the Data Acquisition Toolbox and Hardware Support Package for data acquisition hardware.
I downloaded the Data Acquisition Toolbox Support Package for Windows Sound Cards to get streaming data from my sound card.
I launch the app, select my sound card from the drop down menu, and click “Start” to start capturing audio from my microphone. Of course, you can save the audio data to a file for any post-processing.
Get the MATLAB code
Published with MATLAB® R2018a