Page 1 of 1

Can Someone Plz Help me With My Custom Background Music

Posted: Fri Jun 15, 2007 5:16 pm
by SBF_Dann_Boeing
I've been trying to get my custom background music to work forever for my pepperland map. I've followed all the tut's and have gotten help from Vyse but I still can't get them to work.

First, is there a limit to the length of the wav?
Second, if i were to send someone my wav files would they be willing to make the sound.lvl i need for me?

My wavs are chunk1.wav chunk2.wav chunk3.wav vic1.wav and def1.wav. Here are the contents of all my sound files.

LSDcw_music_config.snd and LSDgcw_music_config.snd
// ----------------------------------------- LSD Music ------------------------------------

SoundStream()
{
Name("chunk1");
Pitch(1.0);
PitchDev(0.0);
Gain(1.0);
GainDev(0.0);
ReverbGain(0.0);
Bus("ingamemusic");
Looping(1);
Pan(0.0);
Mode3D(0);
CyclePlayback(3);
Stream("LSD");
SegmentList()
{
Segment("chunk1", 1.0, 0.0, 0.0);
}
}

SoundStream()
{
Name("chunk2");
Pitch(1.0);
PitchDev(0.0);
Gain(1.0);
GainDev(0.0);
ReverbGain(0.0);
Bus("ingamemusic");
Looping(1);
Pan(0.0);
Mode3D(0);
CyclePlayback(3);
Stream("LSD");;
SegmentList()
{
Segment("chunk2", 1.0, 0.0, 0.0);
}
}

SoundStream()
{
Name("chunk3");
Pitch(1.0);
PitchDev(0.0);
Gain(1.0);
GainDev(0.0);
ReverbGain(0.0);
Bus("ingamemusic");
Looping(1);
Pan(0.0);
Mode3D(0);
CyclePlayback(0);
Stream("LSD");;
SegmentList()
{
Segment("chunk3", 1.0, 0.0, 0.0);
}
}

SoundStream()
{
Name("vic1");
Pitch(1.0);
PitchDev(0.0);
Gain(1.0);
GainDev(0.0);
ReverbGain(0.0);
Bus("ingamemusic");
Looping(0);
Pan(0.0);
Mode3D(0);
Stream("LSD");
SegmentList()
{
Segment("vic1", 1.0, 0.0, 0.0);
}
}

SoundStream()
{
Name("def1");
Pitch(1.0);
PitchDev(0.0);
Gain(1.0);
GainDev(0.0);
ReverbGain(0.0);
Bus("ingamemusic");
Looping(0);
Pan(0.0);
Mode3D(0);
Stream("LSD");
SegmentList()
{
Segment("def1", 1.0, 0.0, 0.0);
}
}
LSDcw_music.mus and LSDgcw_music.mus
// ----------------- LSD Music ----------------------

Music()
{
Name("chunk1");
Priority(1.0);
FadeInTime(0.0);
FadeOutTime(1.5);
MinPlaybackTime(240.0);
MaxPlaybackTime(720.0);
MinInactiveTime(15.0);
SoundStream("chunk1");
}

Music()
{
Name("chunk2");
Priority(1.0);
FadeInTime(0.0);
FadeOutTime(1.5);
MinPlaybackTime(240.0);
MaxPlaybackTime(720.0);
MinInactiveTime(15.0);
SoundStream("chunk2");
}

Music()
{
Name("chunk3");
Priority(1.0);
FadeInTime(0.0);
FadeOutTime(1.5);
MinPlaybackTime(240.0);
MaxPlaybackTime(720.0);
MinInactiveTime(15.0);
SoundStream("chunk3");
}

Music()
{
Name("vic1");
Priority(9.0);
FadeInTime(0.0);
FadeOutTime(5.0);
MinPlaybackTime(3.0);
MaxPlaybackTime(360.0);
MinInactiveTime(600.0);
SoundStream("vic1");
}

Music()
{
Name("def1");
Priority(9.0);
FadeInTime(0.0);
FadeOutTime(5.0);
MinPlaybackTime(3.0);
MaxPlaybackTime(360.0);
MinInactiveTime(600.0);
SoundStream("def1");
}
LSD.req
ucft
{
REQN
{
"str"
"align=2048"
}
REQN
{
"lvl"
"LSDgcw"
"LSDcw"
}
}
LSDcw.req
ucft
{
REQN
{
"bnk"
"align=2048"
"LSDcw"
}

REQN
{
"config"
"LSDcw_music_config"
"LSDcw_music"
}
}
LSDgcw.req
ucft
{
REQN
{
"bnk"
"align=2048"
"LSDgcw"
}

REQN
{
"config"
"LSDgcw_music_config"
"LSDgcw_music"
}
}
LSD.st4
streams\chunk1.wav chunk1
streams\chunk2.wav chunk2
streams\chunk3.wav chunk3
streams\vic1.wav vic1
streams\def1.wav vic2
I've already shown these to Vyse and he says there's nothing wrong with em.

Posted: Fri Jun 15, 2007 6:51 pm
by phazon_elite
I've mastered the technique of adding music the way the game does, so I could make the sound.lvl for you.

Well, I think adding music the way I do seems easier, because it's more organized.

There's no limit to how long the .wav should be, although your MaxPlaybackTime should be as long as the length of the sound in seconds.

I read that you can only have a max of 5 streams, and the .wav's have to be in a certain format (Vyse's tut says what format. Use Sound Recorder to change it.

So, if you want me to set it up in a different way, PM me the files.

- EP-782

Posted: Fri Jun 15, 2007 7:41 pm
by SBF_Dann_Boeing
What is the suggested length for wave file?

Posted: Fri Jun 15, 2007 8:58 pm
by phazon_elite
The .wav's should be probably long enough to be 300 seconds at the most, as you probably dont want a gargantuan .lvl. Especially in your case, since the map probably will be a huge download.

Now, onto the next part...

From what I've seen from working with this, once you find how long it is, add the length in the MaxPlaybackTime in the .mus file, but maybe subtract your number by 5-15.
The reason for that is that the stream might restart after it's over, but will cut off after a few seconds.

If you have two streams called in one SoundStream and one is significantly longer than the other, the MaxPlaybackTime should be with the shorter stream, since the same result will happen like above, but uglier.

Hope that helps

- EP-782

Posted: Fri Jun 15, 2007 9:21 pm
by SBF_Dann_Boeing
ah well mine are about twice that length all around 600-700 secs.

grrr now i have to remix everything. When I do, do you mind me sending u the wave files and make the sound.lvl for me? I've been trying to do this for over a month and am tired of trying to fix this.

Posted: Sat Jun 16, 2007 12:28 am
by phazon_elite
Sure, I can do it.

Whoa, that's long! You'll definately want to remix them.

- EP-782