Home   Help Search Login Register  

Author Topic: Custom music question PLEASE HELP  (Read 4120 times)

0 Members and 1 Guest are viewing this topic.

Offline Pr0ph3t

  • Members
  • *
Custom music question PLEASE HELP
« on: 08 Mar 2005, 02:00:26 »
I've made a 50 mission campaign and now its time to add custom music sound and voices.. I'm trying to add music BUT IT WON'T WORK. I've been trying for a day, read every tutorial, downloaded every converter and it JUST WON'T WORK. I really hope its something stupid and obvious so I can start passing around this campaign! so here goes:

fire.mp3 converted to CONSTANT 44100 khz stereo 128kbps .ogg description.ext written properly, when mission loads (trigger is immediately placed in beginning since music starts right away) and OFP boots me to desktop or crashes. I tried using helimusic.ogg which comes with the example tut here and it worked great. None of my .oggs work though. I've used dbpoweramp, wavesurfer, freerip, cooledit, you name it. I just can't get these stupid songs to play!!!

also tright lesser bitrates and everything
even tried average bitrate instead of constant. Same problem. Tried lowest quality settings. Same problem. Yes I also tried different mp3s. NOTHING WORKS IT MAKES ME WANT TO THROW THIS BOX THROUGH THE WALL.

Can anybody figure this out please?
« Last Edit: 08 Mar 2005, 04:15:18 by Pr0ph3t »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Custom music question PLEASE HELP
« Reply #1 on: 08 Mar 2005, 04:23:05 »
post your description.ext please.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #2 on: 08 Mar 2005, 04:40:20 »
Here you go:

// Indicates whether or not the debriefing window appears at end of the mission 0 = no, 1 = yes
debriefing = 0

// Music
class CfgMusic
{
// Contains a list of all the .ogg files (without the .ogg extension) which are
// in all of the CfgMusic class instances below.

tracks[]=
{
fire
};

// Definition for a specific music track
// The class name is referenced in the mission.sqm file. (E.g. track="01demo")
class fire
{
// Name.
name = "fire";

// Sound file to use
// First entry is sound file to use (from music directory)
// Second field?
// Third field? Pitch maybe?
sound[] = {\music\fire.ogg, db+0, 1.0};
};
};


Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #3 on: 08 Mar 2005, 04:47:27 »
Is your music file in a folder called music....and is this folder inside your mission folder?


Planck
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #4 on: 08 Mar 2005, 04:49:37 »
yes yes all that stuff has been taken care of.. Its the .ogg file itself I think. I don't know what I'm doing wrong!

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #5 on: 08 Mar 2005, 04:54:02 »
Well I'm not the best troubleshooter for .ext or scripts for that matter, but maybe try replacing


tracks[]=
{
fire
};

with

tracks[]= {fire};

I was looking at one of my .ext's and  that's how my "tracks" part looked.

And I see Planck's post, having the folder is a good thing too. And just out of curiosity, to see if it matters, how did you "start/call" the music through the trigger?

And one last thing, its a campaign right? I haven't dealt with a campaign .ext, but I suspect they are a little different. (maybe not in the music department though :P)


Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #6 on: 08 Mar 2005, 04:54:29 »
How long is the music.......is it just a small titchy wee track or does it last a fair bit?


Planck
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #7 on: 08 Mar 2005, 04:56:47 »
first of all, the trigger is called by anybody standing on it on the very begining of the mission. When I renamed helimusic.ogg to fire.ogg and put it in there, it played fine. Its the ogg files I'm putting.. I just don't know what format ofp needs. The tracks are about 3-4 minutes each.

and helimusic comes from bloodmixers tutorial.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #8 on: 08 Mar 2005, 04:57:18 »
oh and also right now its not a campaign yet its just single missions.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #9 on: 08 Mar 2005, 04:59:25 »
Examine helimusic.ogg to see what its stats are as far as length, Hz,kbps.... etc are.


Planck
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #10 on: 08 Mar 2005, 05:01:36 »
already did all of that. the only thing I noticed was that my song had nominal 128 kbps and avg. 128 kpbs. and the one that worked was nominal 128 and avg. 63

But in bloodmixer's tutorial it said that you MUST use CONSTANT bitrate. I even tried using average just in case it was wrong.. And nope nothing. I really don't get what's wrong..

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #11 on: 08 Mar 2005, 05:02:01 »
Yea sounds like a .ogg screwup or something. Maybe before reconverting it, try renaming the fire .ogg file to some other name like test and change the codes accordingly. Otherwise, what Planck said. :joystick:

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #12 on: 08 Mar 2005, 05:03:13 »
nothing works so far

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #13 on: 08 Mar 2005, 05:05:46 »
I dunno then... :P

Wait for the sound guru's to wake tomorrow and they can have at it. ;D

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #14 on: 08 Mar 2005, 06:40:38 »
*** GURU CALL ***

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #15 on: 08 Mar 2005, 07:20:09 »
I can't believe this after all that work I've hit such an obstacle! WHAT A PISS OFF! I've tried like EVERY OGG format in existence.. I have no idea what it can possibly be

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #16 on: 08 Mar 2005, 09:49:40 »
Hmmmn,   might want to send me the music file as .ogg and description.ext and I'll see if I get the same issue.

What version of OPFLASH 1.46 <--> 1.96?


send  to  ww2_weasel@yahoo.com


Also what else happens; does the music not play, does an error come up, do you crash to the desktop?



Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #17 on: 08 Mar 2005, 10:24:59 »
Ok just reread your post.

It crashes.  

Hmmmn, if I understand you correctly; you were then able to load the mission by putting another .ogg file, by just renaming it to fire.ogg?

I'd still like an email with your files; zip or rar them up if possible.


Everything else in the description.ext looks ok,  except:

May not matter in this case.

I also noticed your db set to 0-- try 20 or up to 45.

sound[] = {\music\fire.ogg, db+0, 1.0};

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #18 on: 08 Mar 2005, 10:30:37 »
If it doesn't work for me either:

Worse case scenario; I can rerecord your music/soundbyte digitally (I would need original wav file)  I would then convert it and send it back to you.

Once I made sure, I could use it.

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #19 on: 08 Mar 2005, 10:42:28 »
I was focusing so intently onthe music - I missed the obvious.

Just noticed this:

debriefing = 0


Where's the semi colon?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Custom music question PLEASE HELP
« Reply #20 on: 08 Mar 2005, 10:47:21 »
It's not that, you don't actually need a semicolon.
Plenty of reviewed ArmA missions for you to play

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #21 on: 08 Mar 2005, 10:54:06 »
About last post:

Doesn't matter if semicolon is there or not.

I just tried it; music plays fine.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #22 on: 08 Mar 2005, 15:01:54 »
Unless you know what guys? is there anyone that can refer me and mp3 -> ogg converter? and the EXACT setting to use... I actually use OFP 1.0. Lemme know if you guys had any luck with this mp3. The problem is that OFP does not recognize my OGG file. When I took the bloodmixer OGG and renamed it to fire.ogg it played fine. Its none of the mp3s I converted to ogg that work.. So basically I need the EXACT format I can convert to or some program everyone uses.

But I use 44100, 128kpbs constant and 2 chan (stereo) that's exacly what the tutorial says, but I tried all other types of setting too, variable, average, lower khz lower kpbs.. ITS A NIGHTMARE!
And no way I ain't updating. Everything MUST stay ver 1.0

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #23 on: 08 Mar 2005, 15:02:48 »
Someone send me an OGG that you know works with OFP if it doesn't work I know I have a more serious problem . PLEAASE thank u! ;)

thes33r@hotmail.com

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #24 on: 08 Mar 2005, 15:16:42 »
Okay I just took bloodmixer's helimusic.ogg converted it to .wav then to .mp3 then to .ogg again and you know what OFP crashed.. Its the way I'm converting them to .ogg.. I think I have to find a seperate program with an old vorbis codec.. anyone got any input?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Custom music question PLEASE HELP
« Reply #25 on: 08 Mar 2005, 15:20:40 »
I use Goldwave, which you can download free from the net.
Plenty of reviewed ArmA missions for you to play

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #26 on: 08 Mar 2005, 17:34:43 »
I've used EVERYTHING. Goldwave, dbpoweramp, wavesurfer, freerip, and like a dozen other ones.. All converter.. Something wizard. EVERYTHING.. I have a feeling its my codec.. can anyone refer me to an older one? (not vorbis.com)

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #27 on: 08 Mar 2005, 18:23:25 »
Okay, I OGGINFOed the helimusic.ogg file and this is the feedback:

Processing file "helimu~1.ogg"...

New logical stream (#1, serial: 000065f8): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 22050

Nominal bitrate: 30.000000 kb/s
Upper bitrate not set
Lower bitrate not set
Vorbis stream 1:
   Total data length: 84013 bytes
   Playback length: 0m:24s
   Average bitrate: 27.421091 kbps
Logical stream 1 ended

XiPH encoder? well that's a surprise

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #28 on: 08 Mar 2005, 18:26:38 »
Winamp however says this:

Length : 0:24
Average bitrate : 63 kbps
File size : 194,998 bytes
Nominal bitrate : 128 kbps
Channels : 2
Sampling rate: 22050 Hz
Serial number: 27713
Version : 0
Vendor :
Xiphophorus libVorbis I 20010225 <--- THIS is the OGG encoder I must find!! but where?
« Last Edit: 08 Mar 2005, 18:28:20 by Pr0ph3t »

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #29 on: 08 Mar 2005, 18:46:18 »
I found this - do a search on google.

http://www.xiph.org/

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #30 on: 08 Mar 2005, 18:56:57 »
DAMN!! I've looked everywhere..  I managed to download the source code but No1: I have no compiler and No2: dunno if its compatible with win or linus.. yay..

All I'm finding is dead links.. There must be an archive somewhere which has this old codec

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #31 on: 08 Mar 2005, 19:01:40 »
Alternative solution:

I use:  http://www.tucows.com/preview/194683.html

PolderbitS Sound Recorder and Editor

to rerecord and edit sound that has formatting that does not allow me to convert normally.   (You can do this digitally or with microphone close to speaker)   I was able to convert old Russian WW2 folk songs this way.

Only converts mp3 to wav and vice versa.

Then you could try converting the wav file to ogg or wss; however you do that normally.  

I'm only suggesting this as it's a very fast way for me to get around this kind of problem.

Has always worked for me.  No exceptions.


I might add, I have a license for those Russian sound files --->   ;)




Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #32 on: 08 Mar 2005, 20:01:37 »
I had a look at the music .ogg files that came with the game.

They are all variable bitrate...

Nominal bitrate is 128 Kbps...

2 channels.....emm stereo I presume   ;D

44100 hz

Compression Ratio 11 to 1 (8%)

Encoded by Xiphophorus libVorbis l 20010225


Planck
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #33 on: 08 Mar 2005, 20:13:26 »
DO YOU KNOW I TRIED EVERYTHING EXCEPT VARIABLE GRRRR AAAAAAAHHHHH

** censored **

gonna go test this theory also attempting weasel's
« Last Edit: 08 Mar 2005, 20:15:33 by Pr0ph3t »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #34 on: 08 Mar 2005, 20:45:07 »
Try convetting the mp3's to wav first........then convert the wavs to ogg.


Planck
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #35 on: 08 Mar 2005, 20:56:20 »
I've been doing that since the beginning

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #36 on: 08 Mar 2005, 21:10:02 »
I think the only way to do this is to get

 Xiphophorus libVorbis I 20010225 => 1.0 beta 4

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #37 on: 08 Mar 2005, 21:56:38 »
I just used dbPowerAmp to convert a wav into ogg.

The info after conversion is:

128 Kbps
44100 Hz
Stereo
Variable bit rate
Xiph.Org libVorbis l 20030909


Planck
I know a little about a lot, and a lot about a little.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Custom music question PLEASE HELP
« Reply #38 on: 08 Mar 2005, 23:10:52 »
This is what I used to easly (very easly) convert mp3 to ogg....
if whit this program you cant get your ogg files... you got an other problem...

http://www.download.com/Easy-CD-DA-Extractor/3000-2140_4-10368805.html?tag=lst-0-2


Try it!
and serch the crack at www.keygen.us

johan_d2

  • Guest
Re:Custom music question PLEASE HELP
« Reply #39 on: 08 Mar 2005, 23:17:55 »
Maybe a bug in 1.0? why not upgrade to 1.46 for free?

Johan

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #40 on: 09 Mar 2005, 01:41:28 »
It's not a bug, it's not the program, it's not the gravitational pull of THE MOON... ITS THE ENCODER. THAT'S where all the problem lies! Everyone that is suggesting stuff to me is older stuff that they used to use. The new version of the stuff you guys are suggesting are using NEW vorbis encoders. I need the old one. There's gotte be SOMEWHERE

P.S: I used flauta's program too btw
« Last Edit: 09 Mar 2005, 01:41:59 by Pr0ph3t »

Offline WW2Weasel

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #41 on: 09 Mar 2005, 02:11:27 »
Hi Pr0ph3t,

My last post before I drop out of this thread.

Would you like me to try converting the mp3 file for you?

Offline Pr0ph3t

  • Members
  • *
SUCCESS!!
« Reply #42 on: 09 Mar 2005, 02:20:47 »
I downloaded the 1.0 beta 4 vorbis ogg encoder and IT WORKED! You must convert the mp3 to wav and then using that specific encoder you can make .OGGs compatible!

I have the zip if anyone requires YAY!!!  :o

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #43 on: 09 Mar 2005, 02:22:33 »
Thats ok Prophet, the encoder I am using already does a good job.

Glad you got it fixed


Planck
« Last Edit: 09 Mar 2005, 02:23:12 by Planck »
I know a little about a lot, and a lot about a little.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #44 on: 09 Mar 2005, 02:31:13 »
You're just JEALOUS!

lol

Also can anyone suggest any good hard metal mp3s

johan_d2

  • Guest
Re:Custom music question PLEASE HELP
« Reply #45 on: 09 Mar 2005, 03:03:49 »
You're just JEALOUS!

lol

Also can anyone suggest any good hard metal mp3s

oh no 1 is down... no hard metal in missions please! use something more classy!


Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #46 on: 09 Mar 2005, 03:06:30 »
Well okay Mr. Sophisticated what do you suggest?

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #47 on: 09 Mar 2005, 03:27:09 »
Well this thread is pretty much dead...

But some metal in missions can be okay. I used a "Doors" song that somewhat fit the story. Been down so damn long.... Soviets getting beat up and your tanks will settle the score... ;D That wasn't metal. :P But metal in ofp is really only good for action, not showing a peaceful field. :o ;D :D

I usually use my own collection of songs, not the other kind, that I won't talk about so we don't stray to piracy. ;)
« Last Edit: 09 Mar 2005, 03:28:37 by GuiltyRoachKillar »