RECORD SYSTEM AUDIO IN MATLAB (NO MICROPHONES)
8 views (last 30 days)
Show older comments
Sugar Daddy
on 11 Jul 2020
Edited: Walter Roberson
on 9 Dec 2023
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
0 Comments
Accepted Answer
Walter Roberson
on 17 Jul 2020
Edited: Walter Roberson
on 9 Dec 2023
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation 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!