in reply to The state of audio processing with Perl

I think I mentioned before about using SDL. Right now it's cross-platform, handles multiple channels, and is probably as fast as you get with Perl (it's used for Perl games). I havn't seen an example of recording with it though, and it dosn't really handle all the various audio formats well. SDL::Mixer and SDL::Music

P.S. I just googled for "recording SDL" and found some interesting links.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re: The state of audio processing with Perl

Replies are listed 'Best First'.
Re^2: The state of audio processing with Perl
by Joost (Canon) on Oct 16, 2006 at 14:03 UTC
    The problem with Perl/SDL, is that as far as I know, you can only play existing sound files. In other words, you can't stream and you can't generate your own samples on the fly. That's probably great if you want to use pregenerated samples in games, but if you want to do your own "live" effects etc it's pretty useless.

    update: after some browsing, it seems that SDL itself should be reasonably good for this kind of thing, but the Perl API has abstracted away the required low-level hooks.