gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > what kind of extention is sound??

#82711 - HtheB - Mon May 08, 2006 9:13 pm

Hi, I want to make sound effects for a game.. but I dont know what extention I need..


I heard of .raw and .bin???

I allready use the .mod for music...

I looked at the .raw.. but there are alot of options when I want to save it..
like 8-bit PCM 16-bitPCM and MANY more options..

so please :) can someone give information about this? :)

thnq! :)

#82712 - knight0fdragon - Mon May 08, 2006 9:42 pm

if u use PlaySound from chris double tutorial, it also gives you the "options"

this is for 8 bit mono

Hz data data length vol
CommandPlayOneShotSample(0, 16384, buffer, recorded_length, 0x7f);

if you use tobCommandPlayOneShotSample then that is 16 bit mono i believe


just take a look here, this should help you out
http://www.double.co.nz/nintendo_ds/nds_develop4.html
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#82779 - HtheB - Tue May 09, 2006 7:34 pm

thank you! :)