Sound mix

Hi

can some body send some code (at least pseido code) of how to make two mp3 files played at one time and firsts volume going down from 100 to 0 for some 5 seconds by 20 per second, and seconds volume growing from 0 to 100 for the same 5 seconds
i want to make it in SMPEG_Mixer, but … i have some problems in solving that problem

marex

I was struggling with a similar thing myself, and many told me that it was
not possible to play more than 1 mp3 at one time.>From: “Mareks Rampans”

Reply-To: sdl at lokigames.com
To:
Subject: [SDL] Sound mix
Date: Mon, 24 Jul 2000 16:35:09 +0200

Hi

can some body send some code (at least pseido code) of how to make two mp3
files played at one time and firsts volume going down from 100 to 0 for
some 5 seconds by 20 per second, and seconds volume growing from 0 to 100
for the same 5 seconds
i want to make it in SMPEG_Mixer, but … i have some problems in solving
that problem

marex


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

nut is it possible to do that with mp3 in background and wav foreground?
like when the dialog should start, then back sound goes down for .5 sec and speech starts, after speech has finished, the back sound grows back to inital volume?>I was struggling with a similar thing myself, and many told me that it was

not possible to play more than 1 mp3 at one time.

Hi

can some body send some code (at least pseido code) of how to make two mp3
files played at one time and firsts volume going down from 100 to 0 for
some 5 seconds by 20 per second, and seconds volume growing from 0 to 100
for the same 5 seconds
i want to make it in SMPEG_Mixer, but … i have some problems in solving
that problem

marex


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

nut is it possible to do that with mp3 in background and wav foreground?
like when the dialog should start, then back sound goes down for .5 sec and speech starts, after speech has finished, the back sound grows back to inital volume?

Yep, that’s easy to do.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software