Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: ShadowWolf_IH on October 19, 2005, 04:25:46 pm

Title: music help
Post by: ShadowWolf_IH on October 19, 2005, 04:25:46 pm
ok ia mworkin on the music aspect for Origins, and when i added the music it is added at 22050 khz.  it won't play in game....why?  i saved it as 16 bit stereo.  can someone help?  oh and they are wave files in the music folder.

#SoundTrack Start                        ; SoundTrack 7
$Soundtrack Name: 8: Swem
$Name:   seamb.wav            14.0   73500   ; * Ambience
$Name:   FS2_AArv_A01.wav         1.8   105840   ; * Allied Arrival during Normal
$Name:   FS2_Arv_E02.wav            1.8   147000   ; * Enemy Arrival during Normal
$Name:   sebat1.wav            27.8   147000   ; * Battle 1
$Name:   sebat2.wav            23.8   88200   ; * Battle 2
$Name:   sebat3.wav            22.8   88200   ; * Battle 3
$Name:   FS2_AArv_A01.wav         1.8   105840   ; * Allied Arrival during Battle
$Name:   FS2_Arv_E02.wav            1.8   147000   ; * Enemy Arrival during Battle
$Name:   FS2_Vict_A01.wav         2.8   52920   ; * Victory 1 ( goal completed )
$Name:   FS2_Vict_A02.wav         30.8   52920   ; * Victory 2   ( all enemies dead, goals completed )
$Name:   FS2_Dth_A01.wav            23.8   132300   ; * Goal Failed
$Name:   FS2_Dth_A01.wav            23.8   132300   ; * Player dies
#SoundTrack End                     ; End SoundTrack 7
Title: music help
Post by: karajorma on October 19, 2005, 05:22:54 pm
Why aren't you saving them as .ogg files out of interest?

Or is that the eventual plan but you just want to get them working first?
Title: music help
Post by: ShadowWolf_IH on October 19, 2005, 05:34:15 pm
bingo kara.....waiting to get them working first.
Title: music help
Post by: CaptJosh on October 19, 2005, 05:38:54 pm
Question: What about MP3 format? Is that supported? Or has it been left alone due to patent issues?
Title: music help
Post by: karajorma on October 19, 2005, 05:54:52 pm
License issues. We'd have to pay for it. Besides .ogg is at least the same if not better quality and smaller in size.

@ShadowWolf  Try playing them in-game using the play-sound SEXP (or whatever it's called) that way you can at least tell if the problem is your table or the sounds themselves.
Title: music help
Post by: ShadowWolf_IH on October 19, 2005, 06:21:13 pm
forgot, i want these to be retial compat as well as scp compat, so i am trying them in retail.
Title: music help
Post by: karajorma on October 19, 2005, 06:26:34 pm
I don't think there were any major changes to the way FS2 plays wavs so just make a copy of the mission and try out my suggestion :) It should still be a valid test :)

Best I can do until someone who actually understands the music.tbl can tell you different. :)
Title: music help
Post by: Nuclear1 on October 19, 2005, 06:35:52 pm
PM Singh. He seems to have a firm grasp on the music.tbl enough to help you out.
Title: music help
Post by: ShadowWolf_IH on October 19, 2005, 07:29:46 pm
it's the files....thanks guys.  I'll see if i can singh to help.
Title: music help
Post by: ShadowWolf_IH on October 19, 2005, 10:18:47 pm
it was an adpcm codec problem......fixed and working great...thanks guys.
Title: music help
Post by: Nuke on October 20, 2005, 06:57:06 am
its always the damn codecs
Title: music help
Post by: Singh on October 20, 2005, 07:15:37 am
Quote
Originally posted by nuclear1
PM Singh. He seems to have a firm grasp on the music.tbl enough to help you out.


I should probably dispel the myth about this. My working with the music.tbl is 60% guesswork, so yeah, NOT a good idea :P