How do I save a portion of an http mp3 bitstream of a radio broadcast in Matlab?

1 回表示 (過去 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?

採用された回答

Rishik Ramena
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 件)

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by