in reply to Audio programming portability

Searching CPAN for Audio will give you a bunch of modules, some of which are platform independent. I suggest you take a look at SDL first. It has reasonably straightforward playing and mixer control. The biggest drawback is the limited documentation.