in reply to perl script to capture streaming audio

I am not sure how to do this with perl, but as one of the other many ways to do it, I would suggest a nifty little (unfortunately, Windows) utility from High Criteria Software called Total Recoder

It does pretty much everything that you just listed. It does this by setting itself up as the Windows sound driver and then "T's" the output to an MP3 or Wav file while still passing the sound to the speakers.

It is very cool.

  • Comment on Re: perl script to capture streaming audio

Replies are listed 'Best First'.
Re: Re: perl script to capture streaming audio
by sysex (Initiate) on Dec 21, 2002 at 01:27 UTC
    A little off topic, but XMMS will save to disk for you. The default plugin writes WAV files, but I do believe that there are others that will write to different formats. Not sure how to cron this, though it's probably possible.
Re: Re: perl script to capture streaming audio
by hardburn (Abbot) on Dec 23, 2002 at 14:49 UTC

    VSound (external link) does something similar for *nix systems. It seems a bit flaky, though.

    Personally, if I know the input is going to be an MP3 stream (or whatever else), I'd prefer to save it directly to a file via Perl instead of mucking about with loopback sound drivers.