You are not logged in.

#1 2009-12-23 02:50:02

Marth_010
Member

[RESOLVED] PCM Sound Effects

Hi again. I was messing around with audio files for my project and I heard about .pcm files being the best for sound effects. The only problem is, I can't find ANYTHING on how to make these types of files. Do you guys have any tips for .pcm files? (sorry if this isn't the right place for this question)

Offline

 

#2 2009-12-23 04:36:36

Crayon
Bad Mother Fucker

Offline

 

#3 2009-12-23 09:24:09

Marth_010
Member

Re: [RESOLVED] PCM Sound Effects

Cool, so I got the sox to work with the command line (with one tiny problem) but failed with the GoldWave. The format always comes out as 'au' when I save it as type Raw with attributes being PCM signed 16 bit, big endian, stereo (read somewhere those are the proper attributes. So I still have two questions...

1.) What am I doing wrong with the GoldWave?
2.) Why does my sound have a higher pitch and is there a way to fix it?

Offline

 

#4 2009-12-23 18:46:44

Crayon
Bad Mother Fucker

Re: [RESOLVED] PCM Sound Effects

Marth_010 wrote:

The format always comes out as 'au' when I save it as type Raw with attributes being PCM signed 16 bit, big endian, stereo (read somewhere those are the proper attributes.

The extension is not a problem you could rename it has .pcm if you want.

In my code I have:

Code:

        ASND_SetVoice(SCREEN_VOICE, VOICE_MONO_16BIT, 44100, 0,
            (void *)screen_change, screen_change_size, 100, 100, NULL);

So my file is PCM signed 16 bit, big endian, mono

Make sure your code and your file are matching.

Offline

 

#5 2009-12-23 22:20:38

Marth_010
Member

Re: [RESOLVED] PCM Sound Effects

Ok, I gave my sound effect the proper attributes and converted with GoldWave successfully! (had to give my file the .pcm extension while saving it) The pitch is now normal and everything is good. Thank you sir!

Offline

 

Board footer

Powered by FluxBB