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.

Audio > generate noise on GBA

#111142 - katapulp - Mon Dec 04, 2006 10:50 am

Hello,

I would like to generate random noises on my GBA. I found this website (http://belogic.com/gba/) with good tutorials but I wonder if I can use this on my GBA without breaking it...

Any chance that someone knows?

#111177 - thegamefreak0134 - Mon Dec 04, 2006 5:50 pm

Ah, the famous \"Audio Advance.\" This is an exact mapping of the hardware on the GBA, with brief examples of how stuff works. Although the information should be accurate, it won\'t help you very much if you are new to sound programming. I would recommend a tutorial I saw written by DekuTree (someone with the link please?) which will take you through writing a software mixer on the GBA. It, combined with this reference you\'ve found, should be all you need to get going.

If this seems a bit much, you may look into a pre-made audio engine. I personally prefer Krawall, but others have their own opinions and in the end it\'s a matter of preference.

-gamefreak
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#111184 - kusma - Mon Dec 04, 2006 6:25 pm

katapulp wrote:
Hello,

I would like to generate random noises on my GBA. I found this website (http://belogic.com/gba/) with good tutorials but I wonder if I can use this on my GBA without breaking it...

Any chance that someone knows?


There's no real risk in breaking your GBA by doing some audio-programming.

#111216 - tepples - Mon Dec 04, 2006 10:46 pm

Some sites claim that it's possible to "break" the GBA's audio hardware by writing directly to the sound bias register, but in practice, that's not true. If you make a mistake, the worst you'll ever hear is a loud pop, no harm done.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#160456 - technofrosty - Wed Jul 16, 2008 6:46 am

i've found the links for deku tree

http://deku.gbadev.org/ <<<main site

http://deku.gbadev.org/program/sound1.html << gba sound programming


for anyone in the future