Home   Help Search Login Register  

Author Topic: Problems with .wav files :(  (Read 585 times)

0 Members and 1 Guest are viewing this topic.

HOBOMAN

  • Guest
Problems with .wav files :(
« on: 06 Jul 2004, 21:09:59 »
Well i was working on one of my missions and the sound files just will not play, here is part of the Description.ext, i dont see any problems!

class CfgSounds
{
     sounds[] = { };

     class spark
     {
         name = "spark"
         sound[] = {\sound\spark.wav, db + 5, 1.0};
         titles[] = {0, ""};
     };
     class Wind
     {
         name = "Wind";
         sound[] = {\sound\Wind.wav, db + 40, 5.0};
         titles[] = {0, ""};
     };
};

class CfgMusic
{
         tracks[] = { };

     class ironman
     {
         name = "ironman";
         sound[] = {\music\ironman.wav, db + 5, 1.0};
     };
     class ussr
     {
         name = "ussr";
         sound[] = {\music\ussr.wav, db + 5, 1.0};
     };
};

Can somebody please helping find the problem, the auido files are .wav, which works with opf.

Thx

Offline Blanco

  • Former Staff
  • ****
Re:Problems with .wav files :(
« Reply #1 on: 06 Jul 2004, 21:19:10 »
Code: [Select]
class CfgSounds
{
    sounds[] = {spark, wind };

    class spark
    {
        name = "spark"
        sound[] = {\sound\spark.wav, db + 5, 1.0};
        titles[] = {0, ""};
    };
    class Wind
    {
        name = "Wind";
        sound[] = {\sound\Wind.wav, db + 40, 5.0};
        titles[] = {0, ""};
    };
};

class CfgMusic
{
        tracks[] = {ironman, ussr };

    class ironman
    {
        name = "ironman";
        sound[] = {\music\ironman.wav, db + 5, 1.0};
    };
    class ussr
    {
        name = "ussr";
        sound[] = {\music\ussr.wav, db + 5, 1.0};
    };
};
Search or search or search before you ask.

HOBOMAN

  • Guest
Re:Problems with .wav files :(
« Reply #2 on: 06 Jul 2004, 21:25:28 »
could this info help?

Bit rate 20kps
channels 1
audio sample rate 16hz
audio format mpeg layer-3

HOBOMAN

  • Guest
Re:Problems with .wav files :(
« Reply #3 on: 07 Jul 2004, 02:14:19 »
Please help!!! ??? I have no clue what is wrong  ???

ponq

  • Guest
Re:Problems with .wav files :(
« Reply #4 on: 07 Jul 2004, 11:01:17 »
from the sticky post at the top of this forum :

 U can leave the channels: stereo, Bit rate must be 128kbps-standard and BIS used it too, Encoding
should be Constant Bitrate (a must) and Frequency-44100hz

Rokket

  • Guest
Re:Problems with .wav files :(
« Reply #5 on: 07 Jul 2004, 13:42:25 »
I think the real problem is wav files - they must be .ogg files! Check out Sound tute here are OFPEC, and various free conversation programs. Vorbizz Ogg Drop (or something like that) is easy, just drag and drop wav files and they convert to OFP .ogg files.

Offline Blanco

  • Former Staff
  • ****
Re:Problems with .wav files :(
« Reply #6 on: 07 Jul 2004, 17:13:07 »
No, it works with .wav, but it's not recommended due the filesize, use .ogg or even .wss.

Read Bloodmixer's soundtutorial 1.3, it's all there...

http://members.lycos.co.uk/bloodmixer/

btw : your description.ext was wrong, see the 2th post.


« Last Edit: 07 Jul 2004, 17:20:27 by Blanco »
Search or search or search before you ask.

HOBOMAN

  • Guest
Re:Problems with .wav files :(
« Reply #7 on: 07 Jul 2004, 21:29:59 »
Thanks!

HOBOMAN

  • Guest
Re:Problems with .wav files :(
« Reply #8 on: 08 Jul 2004, 01:31:08 »
So one final, question: I cant get the sound the stop playing ! :) (well atleast they are playing  :P)