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 > MaxMod: Looping sound effect?

#170704 - headspin - Tue Oct 13, 2009 3:24 pm

The DS has hardware support for looping a sound so why does there seem to be no way to loop a sound effect in MaxMod? Am I missing something or will I have to use soundPlaySample() from libnds instead?
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#170705 - headspin - Tue Oct 13, 2009 5:11 pm

Okay looks like it does support loops inside wav files. You can set a loop in Adobe Audition. Right click on the sample, select the Sampler tab, enable "Save Sampler Info" and then click the "New" button in "Sampler Loops". For an infinite loop select "Sustain".
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#170712 - melw - Wed Oct 14, 2009 8:43 am

The cool thing about Maxmod is that you can set loop points in the wav file to wherever you wish, so making a looping sound effect with both oneshot start and a looping part is easy to do in your favourite sound editor.