Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: karajorma on January 13, 2005, 01:22:55 pm

Title: MV_Music problems
Post by: karajorma on January 13, 2005, 01:22:55 pm
Is anyone else having problems with MV_Music.vp? If it's present I find the mission I'm testing it with crashes. If I remove it the mission works.

I seem to recall of hearing other people having problems with it too.
Title: MV_Music problems
Post by: mitac on January 13, 2005, 01:47:38 pm
*raises hand*

But the music works, kind of. Though it's more like the music's stuttering at high speed, skipping several seconds in between, then going on with the next track. Sounds pretty disturbing. Removing the mv_music.vp helped.
Title: MV_Music problems
Post by: WMCoolmon on January 13, 2005, 06:11:21 pm
Sounds like A) a bad pointer (could mean a lot of things) or B) the OGG decoding code isn't working correctly.

Mr.Fury's been having problems with OGG stuff, too, I think. taylor and I have both gone over the code at least once and haven't seen anything wrong with it, I'll probably be going over it again this weekend.

In the meantime, any patterns or errors you can find would be helpful. Something like 'When an OGG file is supposed to be played, the sound/music track before it in the tbl is played instead.' or 'it fudges up when X happens' would be handy (Which actually might be true) or 'variable bitrate files don't play right' or 'the numbers in music.tbl are wrong'

You could also try manually setting sound quality with this build: http://www.hard-light.net/forums/index.php/topic,29352.0.html

The code should also be in my not-typical build, but people have been trouble with pilots not working.
Title: MV_Music problems
Post by: Singh on January 13, 2005, 10:09:10 pm
OGG music doesnt work for me at all...it ends up Im in mission with _no_ sound at all, not even the non-music stuff :nervous:

But then, it could be the fact that im using an onboard sound card, so I never mentioned it.......
Title: MV_Music problems
Post by: redmenace on January 14, 2005, 06:16:27 am
Mee too
Title: MV_Music problems
Post by: WMCoolmon on January 16, 2005, 03:27:41 am
What's the hardware situation for you guys?
Title: MV_Music problems
Post by: mitac on January 16, 2005, 07:45:21 am
Alright, I'll re-install the mv_music.vp later this day and try it with some builds. Haven't had that much time lately.

Concerning the hardware situation, my soundcard is a SB Live Player 5.1, thus FS2 runs with EAX. And despite usual Creative Labs habits, it's working fine elsewhere. ;)
Title: MV_Music problems
Post by: redmenace on January 16, 2005, 07:54:05 am
integrated sound.
Title: MV_Music problems
Post by: Singh on January 16, 2005, 07:57:56 am
integrated sound here also. Gimme a sec, i'll get what DirectX says on it.

Appears to be a C-Media Wave Device, from the description........
Title: MV_Music problems
Post by: Jonathan_S47 on January 16, 2005, 08:58:18 am
I am having problems on both my laptop and my desktop. My laptop is running (of course) an integrated audio. My desktop however is using a Sound Blaster Live card.
Title: MV_Music problems
Post by: WMCoolmon on January 16, 2005, 12:44:28 pm
Hmm...

A) Is there any change between 3.6.5 and my newer builds? Especially this build (http://www.hard-light.net/forums/index.php/topic,29421.0.html).

B) For the above, what's the difference between no mv_music.vp and using mv_music.vp? (ie do non-ogg sounds stop working either way, or only when mv_music is installed?)

C) What mode are you running in? (EAX, A3D, and DirectSound are the three choices, I believe.)
Title: MV_Music problems
Post by: Fury on January 16, 2005, 01:12:15 pm
If you guys are playing TBP 3.x and want to test OGG and report bugs, please try this. (http://koti.mbnet.fi/fury/misc/B5-Beta-OGG.exe)
Just extract the single vp file where you installed TBP 3.x to.

It should then use ogg's instead of wavs. I first saved all wavs into 32-float uncompressed wavs and then encoded them to ogg by using the latest oggdropXPd. (http://rarewares.org/ogg.html)
Title: MV_Music problems
Post by: karajorma on January 16, 2005, 02:43:50 pm
Quote
Originally posted by WMCoolmon
Hmm...

A) Is there any change between 3.6.5 and my newer builds? Especially this build (http://www.hard-light.net/forums/index.php/topic,29421.0.html).

B) For the above, what's the difference between no mv_music.vp and using mv_music.vp? (ie do non-ogg sounds stop working either way, or only when mv_music is installed?)

C) What mode are you running in? (EAX, A3D, and DirectSound are the three choices, I believe.)


1) I've tried both new builds and 3.6.5. Both crash.

2) What with the crash I've been unable to check

3) DirectSound
Title: MV_Music problems
Post by: WMCoolmon on January 17, 2005, 04:24:51 am
http://www.hard-light.net/forums/index.php/topic,29644.0.html

Damn well better work now...I practically slept with the AudioStream and WaveFile code. :p
Title: MV_Music problems
Post by: Fury on January 17, 2005, 04:48:20 am
Can I hear wedding bells? :p
Title: MV_Music problems
Post by: WMCoolmon on January 17, 2005, 02:16:14 pm
Yes, but that would make some weird battle music and you'll have to encode them yourself. :p
Title: MV_Music problems
Post by: Jonathan_S47 on January 17, 2005, 11:09:47 pm
It seems to be working ok now. Defiantly stopped jumping to various music files.