#60794 - whitewiz - Mon Nov 14, 2005 10:27 pm
Im a little newbie at coding
But Im coding an app and i want to put some backgroundmusic to it
and whats the easiest way of doing that?
#60795 - keldon - Mon Nov 14, 2005 10:43 pm
there are existing libraries for doing this. but if you want to do this yourself it's basically a case of storing a list of notes and playing them back.
To do this easily every 12 or so VBL's you change to the next note. If you want to further this you can create note lengths
once you've done this you can start to factor in code to have playlists and the like, just get the code for reading your notes from the list first - it's quite easy.
#60868 - thegamefreak0134 - Tue Nov 15, 2005 5:52 pm
Although your music may be simple, there's really no simple way to include audio in your game. Krawall is the only system I've evet actually gotten to work, and I can walk you through it if you'd like.
_________________
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]