auximini has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
This might seem a little confusing, but I'll try to explain it as best as i can.

I want to do some dj-style-mp3-mixing on my computer. The best program I found for this is called eMixer (can be found at freshmeat). The problem is that I really dont like this program and feel I can write something better (or atleast better for me).
Why not just rewrite emixers code?
1. The original source wont compile on my system, I have to use precompiled binaries.
2. I havent looked at C code in a long time, and really dont have the time to brush up.

So I'm starting to write my own emixer type program in perl. It'll use curses, which wont be hard at all to incorporate. The main problem I feel I will have is here:

eMixer allows more than one song to be played through an output device (im guessing like esound -- but i havent messed with esound, only read about it).

So the point is: how can i get more than 1 mp3 to be played through 1 output and be able to control the volume, fade, and tempo for each song? There is an mpg123 module for perl, but I dont know if that will do everything I need. Usually if you play one mp3 through mpg123 in terminal A then in terminal B do the same, you get a /dev/dsp error in TermB.

Is this possible?

Replies are listed 'Best First'.
Re: Perl, raving, and mpg123
by strredwolf (Chaplain) on Mar 27, 2001 at 01:23 UTC
    Esound can multiplex sound, and do much of everything here, but there's no interface to adjust things.

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";