Author Topic: Sounds  (Read 7107 times)

Fluffy203

  • Guest
Re: Sounds
« Reply #25 on: 22 March 2009, 22:00:56 »
OK then i'll look into it thanks for the info  ;D

sandgroper

  • Guest
Re: Sounds
« Reply #26 on: 25 October 2009, 14:30:28 »
Okay, so what do I have to do to actually get the sounds to work in Glest?  I have them as *.wav and they play just fine on my computer, so I know the files themselves work, but the game tells me it can't read the sample or something like that.  Is there some very specific format or codec they need to be for Glest to use them properly?
I'm having a similar problem with *.wav sounds recorded with the standard Win sound recorder - even if I replace existing files (e.g. in magitech or megapack 4, which are all wav files) with my own, the game crashes with "error reading samples" on the replaced file. Should I be using ogg instead? The wav files play just fine by themselves...

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Sounds
« Reply #27 on: 25 October 2009, 19:34:37 »
I'm having a similar problem with *.wav sounds recorded with the standard Win sound recorder - even if I replace existing files (e.g. in magitech or megapack 4, which are all wav files) with my own, the game crashes with "error reading samples" on the replaced file. Should I be using ogg instead? The wav files play just fine by themselves...
I discovered a long time ago that the best way to do it is to record the sound with Audacity instead of the Windows default sound recorder, and save it as ogg.  Audacity is free and has a lot of useful features for modifying and improving your sounds, and you can get it here: http://audacity.sourceforge.net/download/

sandgroper

  • Guest
Re: Sounds
« Reply #28 on: 26 October 2009, 06:10:27 »
I discovered a long time ago that the best way to do it is to record the sound with Audacity instead of the Windows default sound recorder, and save it as ogg.  Audacity is free and has a lot of useful features for modifying and improving your sounds, and you can get it here: http://audacity.sourceforge.net/download/
Thanks John, I did that and it works great initially (i.e. the game no longer crashes during initialisation), though I get an "Error: Unhandled Exception" dialog that says "Error(s): Failed to create direct sound buffer" sometimes when I select one of the units with custom ogg sound files. I'll do some more testing and try to see whether it could always be the same sound file that it fails on, maybe one of them is corrupted or something. Cheers for the hint about Audacity (which I use under Ubuntu anyway, hadn't realised that there's a Windows version as well, I just figured since the default sounds were wav files I'd work with sound recorder) and ogg files.

Loronal

  • Guest
Re: Sounds
« Reply #29 on: 28 October 2009, 17:35:46 »
Thanks hailstone that looks good for making music ;D Im trying to make some music for my mod Storm Elves

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Sounds
« Reply #30 on: 28 October 2009, 22:43:42 »
Your welcome. I also found http://ardour.org/ but that is Linux only. The developer is really keen on people donating since he's a full time developer on it.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/