Home   Help Search Login Register  

Author Topic: Need help (converting sound files)  (Read 593 times)

0 Members and 2 Guests are viewing this topic.

Black Operative

  • Guest
Need help (converting sound files)
« on: 27 Apr 2003, 01:07:59 »
Hi everyone! :)

I desperately tried to convert my sound files into a format that OFP likes, but I failed. I used GoldWave and tried several other programs, but it just won't work. Well, I'll put my question simple: Would anyone be so kind and download my attached sound files, convert them into an OFP-applicable format and load them up? (the one who does this for me will be on top of my credits in my mission and I will remember and admire him for my whole life! :D)

Black Operative

  • Guest
Re:Need help (converting sound files)
« Reply #1 on: 27 Apr 2003, 01:08:40 »
Here comes sound package number two:

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #2 on: 27 Apr 2003, 04:56:52 »
Here Ya Go!:

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #3 on: 27 Apr 2003, 04:57:41 »
And Numero Dos!:

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #4 on: 27 Apr 2003, 04:58:31 »
There Ya Go Buddy! Those should work grrreeat! They Do For Me!  ;)

Tanks!  8)

Black Operative

  • Guest
Re:Need help (converting sound files)
« Reply #5 on: 27 Apr 2003, 16:10:16 »
Big THANKS, Captain! :)


Argh, this is definetly not my day! :( I have set up the following stringtable and description and copied all the sound files into the sound directory.

STRINGTABLE.CSV:

LANGUAGE,English,Comment
STRM_Beep,"",
STRM_LongBeep,"",
STRM_ShortBeep,"",
STRM_Firehole1,"",
STRM_Firehole2,"",



DESCRIPTION.EXT:

class CfgSounds
   {
   sounds[] = {Beep,LongBeep,ShortBeep,Firehole1,Firehole2};
   
   class Beep
      {
      name = "Beep";
      sound[] = {"Beep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Beep};
      };

   class LongBeep
      {
      name = "LongBeep";
      sound[] = {"LongBeep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_LongBeep};
      };

   class ShortBeep
      {
      name = "ShortBeep";
      sound[] = {"ShortBeep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_ShortBeep};
      };

   class Firehole1
      {
      name = "Firehole1";
      sound[] = {"Firehole1.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Firehole1};
      };

   class Firehole2
      {
      name = "Firehole2";
      sound[] = {"Firehole2.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Firehole2};
      };
};



But it won't work. :( Can anyone tell me what I'm doing wrong?


btw Captain Winters: How did you convert the files? What program did you use and what wave format did you convert them to?
« Last Edit: 27 Apr 2003, 16:33:35 by Black Operative »

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #6 on: 28 Apr 2003, 00:37:16 »
I used GOLDWAVE. It's shareware but that version does everything the full version does minus a couple... WAV files?? They need to be OGG. The frequency for the files is i believe 56KBPS (9.4q) VBR! Uhh, I'll take a look at the description.ext. I duno know jack shit bout Stringtables!

Tanks!  8)

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #7 on: 28 Apr 2003, 00:40:51 »
class CfgSounds
   {
   sounds[] = {Beep, LongBeep, ShortBeep, Firehole1, Firehole2};
   }
   class Beep
      {
      name = "Beep";
      sound[] = {"\sound\Beep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Beep};
      }
 class LongBeep
      {
      name = "LongBeep";
      sound[] = {"\sound\LongBeep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_LongBeep};
      }
    class ShortBeep
      {
      name = "ShortBeep";
      sound[] = {"\sound\ShortBeep.ogg", db+40, 1.0};
      titles[] = {0, $STRM_ShortBeep};
      }
   class Firehole1
      {
      name = "Firehole1";
      sound[] = {"\sound\Firehole1.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Firehole1};
      }
   class Firehole2
      {
      name = "Firehole2";
      sound[] = {"\sound\Firehole2.ogg", db+40, 1.0};
      titles[] = {0, $STRM_Firehole2};
      };
};

That sould work jack dandy! What was wrong was that you needed to specify that the sounds were in the "Sound" folder. (Which they should be  ;) :D)

Tanks!  8)

Black Operative

  • Guest
Re:Need help (converting sound files)
« Reply #8 on: 28 Apr 2003, 01:27:48 »
I'm just about to give up. :(
I just had a configuration of description, stringtable and all that rubbish so that it at least played SOMETHING in the game- but the only thing that came outta my speakers was a rustling sound, nothing that would sound like the beeping or the "Fire in the hole!". I attached my example mission so that you can have a look into it at see what is wrong with it. I have absolutely no idea.  :'(

btw: Big thanks to you for doing this for me at all, Captain Winters! :) Without you, I would have already given up about 12 hours ago.

Captain Winters

  • Guest
Re:Need help (converting sound files)
« Reply #9 on: 28 Apr 2003, 01:52:10 »
Here try this Decription, and just put the sound files in a folder called "Music" then instead of "AP say "Firehole1" just type "playMusic "Firehole1".

class CfgMusic
{
   // List of music tracks (.ogg files without the .ogg extension)
   tracks[] = {Firehole2, ShortBeep, Firehole1, Beep, LongBeep};

   // Class definition needed for each music track
   class Firehole2
   {
      // Name to display in mission editor
      name = "Firehole2";
      // Music path, volume, pitch
      sound[] = {\music\Firehole2.ogg, db + 0, 1.0};
   };
   class ShortBeep
   {
      // Name to display in mission editor
      name = "ShortBeep";
      // Music path, volume, pitch
      sound[] = {\music\ShortBeep.ogg, db + 0, 1.0};
   };
   class Firehole1
   {
      // Name to display in mission editor
      name = "Firehole1";
      // Music path, volume, pitch
      sound[] = {\music\Firehole1.ogg, db + 0, 1.0};
   };
   class Beep
   {
      // Name to display in mission editor
      name = "Beep";
      // Music path, volume, pitch
      sound[] = {\music\Beep.ogg, db + 0, 1.0};
   };
   class LongBeep
   {
      // Name to display in mission editor
      name = "LongBeep";
      // Music path, volume, pitch
      sound[] = {\music\LongBeep.ogg, db + 0, 1.0};
   };
};

That should work perfectly!

Tanks!  8)