RECORD SYSTEM AUDIO IN MATLAB (NO MICROPHONES)

1 view (last 30 days)
How to record system audio in MATLAB (for example: Song playing on Youtube) without third party app...
Actually my goal is to uninstall all the apps and do everything with MATLAB (i know it's silly)
Regards,
Sugar

Accepted Answer

Walter Roberson
Walter Roberson on 17 Jul 2020
That goal cannot be met, at least not under Windows. The audio systems used by most applications do not have loopback capabilities. I discussed a third party driver at https://www.mathworks.com/matlabcentral/answers/386734-how-do-i-get-sound-data-from-a-speaker#answer_309137
The way that would work is that you would have to tell the application to send audio to what looks like a device it, but is the loopback driver instead. You would then open the loopback driver as an input device.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by