Hi there. I recently started to deal with SGDK. There was a task, to receive the most high-quality PCM sound, decided to try SND_startPlay_2ADPCM with 22050 hz. Maybe I'm doing something wrong, but how to properly prepare ADPCM 4 bit 22050 hz wav file for playing sound with SND_startPlay_2ADPCM?
I tried various variants with SOX converter, but wavtoraw.exe was permanently crashing when I try to build project with 4 bit ADPCM wav file.
wavtoraw crash on build 4 bit 22050 hz wav file
Moderator: Stef
Re: wavtoraw crash on build 4 bit 22050 hz wav file
it seems I understood, there is no need to pre-convert the sound, rescomp itself converts. everything works
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: wavtoraw crash on build 4 bit 22050 hz wav file
Exactly Just need to use rescomp and declare WAV resource correctly (specially that you want to use 2ADPCM driver).
The best is to preprocess your sample first and put in it at 22 Khz, rescomp can change rate (32Khz input changed to 22 Khz for instance) but it does it really bad so it's better to have it converted to 22 Khz with proper audio tools before
The best is to preprocess your sample first and put in it at 22 Khz, rescomp can change rate (32Khz input changed to 22 Khz for instance) but it does it really bad so it's better to have it converted to 22 Khz with proper audio tools before
Re: wavtoraw crash on build 4 bit 22050 hz wav file
Thanks for the tip Stef