How do I save a portion of an http mp3 bitstream of a radio broadcast in Matlab?
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to save 30 seconds of mp3 audio from the following http mp3 stream to a matlab variable, and then save the mp3.
I looked into webread, but it only downloads a file with a fixed duration, rather than a radio stream that is continuously broadcasting. Any ideas?
0 个评论
采纳的回答
Rishik Ramena
2021-3-17
webread expects the response to be complete before it can process the data. So a workaround for processing streams froms the web is to delegate the work to Java which can be called from MATLAB. Have a look at this comment for further details.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!