Changes

Jump to navigation Jump to search
200 bytes added ,  11:54, 20 November 2008
Line 10: Line 10:  
I'm currently developing a game using GRRLIB and SNDLIB, but I'm having trouble with the sound. I was wondering if you could give me some tips how you did to get the sound to play correct.
 
I'm currently developing a game using GRRLIB and SNDLIB, but I'm having trouble with the sound. I was wondering if you could give me some tips how you did to get the sound to play correct.
   −
What I've done until now is: I've patched the lastes CVS version of OGCLIB with SNDLIB. Then I converted two wav files that to 48000 hz and saved them as PCM Mono 8bit. I've added a rule to my Makefile so it compiles .wav files (located in data dir) when building the project. I've initiated the sound library in 48000 hz mode, but when I play my samples they sound really bad. Just a "scraping" sound. I also tried to compile the example included in SNDLIB zip, but the samples sounds really bad there as well, the music (MOD) playing in the background sound good. You can reach me at, lofblom(at)gmail(dot)com
+
What I've done until now is: I've patched the lastes CVS version of OGCLIB with SNDLIB. Then I've converted two wav files to 48000hz and saved them as PCM Mono 8bit (also tried PCM Stereo 16bit). I've added a rule to my Makefile so it compiles .wav files (located in data dir) when building the project (are you doing this as well or do you use a standalone utility for this?). I've initiated the sound library in 48000hz mode, but when I play my samples they sound really bad. Just a "scraping" sound.  
 +
 
 +
I also tried to compile the example included in SNDLIB zip, but the samples sounds really bad there as well, the music (MOD) playing in the background sound good.
 +
 
 +
-Edit: I noticed that the sound effects in the pre-built examples for SNDLIB sounds bad aswell.
 +
 
 +
You can reach me at, lofblom(at)gmail(dot)com
    
BR
 
BR
84

edits

Navigation menu