Home   Help Search Login Register  

Author Topic: Music "WithoutAFace" Not Found  (Read 849 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
Music "WithoutAFace" Not Found
« on: 16 May 2003, 21:49:54 »
Hey guys!

  I'm trying to get a tune to play as soon as the Intro of the mission starts but the file is never found!

I pretty much tried everything of my knowledge and tutes as well but the problem is still unsolved. Can anyone help me?

Ofcourse I have the music in the "music" file of my mission,

I use "GoldWave" and "WaveSurfer" to convert the files, (yes in .Ogg  ;))

I tried pretty much everyway to save it as;

Vorbis 1.0, 44100Hz, mono or stereo, all sorts of Kbps like 128Kbps,

It doesn't work! >:(

Oh and BTW, what the hell does a "Constant BitRate", cos in one of the tutes I have it is mentioned;

"Bitrate: Any bitrate seems to work, as long as it is a CONSTANT bitrate"

---Any idea?


And many thanx in advance for the help and time! :D
Back to the forest!

Knut Erik

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #1 on: 16 May 2003, 21:55:21 »
The sound MUST be in MONO format to work. If this doensn't work, upload your description.ext file or add a qoute from it here...  ;) :D

Kaliyuga

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #2 on: 16 May 2003, 22:05:22 »
Make me break out the textbook in the summer time eh? :hmm:



Quote
CBR stands for Constant Bitrate. Basically it is a term that describes how video or audio is encoded -- constant bitrate means that the bitrate doesn't vary during the video or audio at all, but is same through the clip. CBR bitrates are very easy to use in calculations -- if you have an MP3 file that has CBR of 128kbit/sec and it lasts for 3 minutes, the amount of HDD space it takes can be calculated easily

VBR or variable bit rates would be files that may vary their bitrates, often in relation to some sort of buffer, Variable bitrates are commonly found in video and  DVD, but can be found in some digital audio mediums as well.

  Best way to understand why this is used is to think of a film -- when there are shots that are totally, absolutely black, like scene changes, normal 1-pass CBR encoding uses the exact same amount of data to that part as it uses for a complex action scene. But by using VBR and multi-pass,  the encoder "knows" that this piece is Ok with lower bitrate and that bitrate can be then used for more complex scenes, thus creating better quality for those scenes that require more bitrate.


 With regards to your problem playing your music file....  

what does your description.ext look like?
« Last Edit: 16 May 2003, 22:09:34 by Kaliyuga »

Offline Captain Crunch

  • Members
  • *
Re:Music "WithoutAFace" Not Found
« Reply #3 on: 16 May 2003, 22:09:03 »
Eh thanx a lot!

Here is my Description.ext



class CfgSounds
{
Sounds[] = { WithoutAFace };

class WithoutAFace
{
Name = "WithoutAFace";
Sound[] = {"WithoutAFace.ogg", db-40, 1.0};
Titles[] =
{
0, $STRM_WithoutAFace
};
};

};




thats all there is to it yet! very short and simple. (Hopefully right!) :-[
Back to the forest!

Kaliyuga

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #4 on: 16 May 2003, 22:14:50 »
Thats yer problem ;)  it should look like this:

class CfgMusic
{
      tracks[]={music};
 
      class music
      {
            name = "";
            sound[] = {\Music\yournamehere.ogg,db+10, 1.0};
      };
 class music1
      {
            name = "";
            sound[] = {\music\custom.ogg, db+30,1.0};
      };
 
};


then you can play the first .ogg file by using:

playmusic "music"

and the second by

playmusic "music1"  


:toocool:  

Knut Erik

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #5 on: 16 May 2003, 22:17:13 »
Here ya go. Try this!

class CfgMusic
{
   tracks[]={WithoutAFace };

   class WithoutAFace
   {
      name = "WithoutAFace ";
      sound[] = {\music\WithoutAFace .ogg, db+30, 1.0};
   };

};


The mistake was in the blue line. You could make your work by putting the .ogg file in the mission folder. Not in the Music folder. In the folder where the mission.sqm, briefing and overview is.

Does this help  ???

Offline Captain Crunch

  • Members
  • *
Re:Music "WithoutAFace" Not Found
« Reply #6 on: 16 May 2003, 22:19:29 »
WOW! I must thank Kaliyuga for the Constant bitrate answer!

This is not an answer amigo, it's a manual!!! :D

I appreciate a lot, I have way more than expected! 8)

My Description.ext is up there!

 :D
Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:Music "WithoutAFace" Not Found
« Reply #7 on: 16 May 2003, 22:59:14 »
 :'( It doesn't work!

I'm desperate! It simply won't let my tune play!

Could it be the way that I save the music?

I took a song from a normal CD, and raised the Gain (db) and converted it into an Ogg file!

I still tried mono and stereo but it's not working. I even tried with puting the tune in the sound folder and it just wont work!

What is wrong? I have version 1.46 BTW
Back to the forest!

Captain Winters

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #8 on: 18 May 2003, 05:12:44 »
your .ext shouldb like dis:

class CfgMusic  
{  
tracks[] = { "NAME" };  
class NAME  
{  
name = "NAME";  
sound[] = {"\music\MUSICFILENAME.ogg", db+50, 1.0};
};
};

Tanks!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Music "WithoutAFace" Not Found
« Reply #9 on: 19 May 2003, 03:12:14 »
The sound MUST be in MONO format to work...

Careful ;)

Sound must be in Mono. However Music must be in stereo...

Navy_Seals

  • Guest
Re:Music "WithoutAFace" Not Found
« Reply #10 on: 20 May 2003, 06:31:19 »
 :noo: LOL boy, ohh boy.... decided to stop by after been away for a while and i see that people still have probs with all that sound/music stuff hehe. Guess my tutorial is just soggy.....  :hmm: :beat:
*thinks*..... Ohh well guess maybe it is time to update it and rewrite it hehe, though i havent done anything in OFP for like 6-8 month lol, but we'll figure something out  :joystick: :thumbsup:
Well laters, ohh and about ur problem i didnt really read into it, so if u still gonna have probs i might look into it if i still remember how it is done
ROFL i need to read the tutorial myself  :beat: :wave:

Offline Captain Crunch

  • Members
  • *
Re:Music "WithoutAFace" Not Found
« Reply #11 on: 23 May 2003, 21:59:57 »
I've got it worknig now!
 

   Boy oh boy! A million thanx for all the help amigos! It's actually not complicated, I just thought it was!!!  ::)

    Can't wait to post my mission and see what You guys think of it! I'll let You well know for sure!

   Cheers! ;)
Back to the forest!