Capture an infinite audio stream?

Hello,

I have an infinite audio stream (online radio) that I want to capture. Using the Audio function (Audio: Construct an object from data or file (MP3 etc.)—Wolfram Documentation) goes on indefinitely capturing it until I’m out of resources. Is it possible to capture only, say, 1 minute of the stream as it’s currently playing?

Best,
P.

Hi Przemyslaw,

Try using TimeConstrained.

Hm, but this seems to return $Aborted, at least on wolfram cloud.