#170863 - Azenris - Sat Oct 24, 2009 2:52 am
Are there any decent sound/music tutorials you can recommend, I did a Google search and there doesn't seem to be many, a lot of tutorials just have the title and nothing written about it.
I've seen the Maxmod, but I was really hoping to start from scratch, even if it isn't great at least I'll understand it better.
_________________
My Homebrew Games
#170865 - keldon - Sat Oct 24, 2009 11:54 am
You might want to look at deku tree's tutorials if you want to create one from the ground up. Try using a music program like Reaper and maybe a Renoise to get a feel for what goes on in mixing and music playback.
In short, your mod player is a sequencer; each of the channels have to be mixed and streamed, etc.
#170869 - Ruben - Sat Oct 24, 2009 12:09 pm
After reading Deku's tutorial (which is VERY good), you may want to implement other formats like S3M, XM, IT, or even Midi (but MaxMod can play all tracker formats and Sonic AS can play midi ;)) as an exercise.
But yeah, Deku's tutorial = t3h r0ckz0rrz, hehe. It's how I made my first (yet epic failing >_>') S3M players that I then expanded to Midi and ported to the DS.
#170873 - Azenris - Sat Oct 24, 2009 4:42 pm
Thanks, reading it now.
EDIT:
wow, you have to do so much :/ no wonder I never had sound in anything I do :(
And it seems even more complicated for DS which is what I wanted it for since arm7 can only access the sound. Sick of my games being silent tho, has such a big impact on it :(
_________________
My Homebrew Games
#170881 - Drovor - Sun Oct 25, 2009 12:38 am
If you just want sound wouldn't it just be a matter of finding a library that does what you want and starting sound events? All my homebrew is silent at this point too.
#170886 - Azenris - Sun Oct 25, 2009 3:54 am
Well I wanted to do as much as possible on my own, yea I could just use a library, but I would hate myself! I really need to just slap myself and go for it. I must!
_________________
My Homebrew Games
#170887 - Ruben - Sun Oct 25, 2009 4:18 am
Hehe, well, for tracker formats you have to support many effects and stuff which is why Deku's tutorial is so long. Midi is pretty straight forward but not as flexible. You could take a look at my Midi player and maybe get an idea of how to do it.
#170916 - sverx - Mon Oct 26, 2009 10:11 am
Azenris wrote: |
Well I wanted to do as much as possible on my own, yea I could just use a library, but I would hate myself! |
Using libnds functions to play sound it's not so hard to implement a simple module player, for instance to play XMs/MODs with no effects (do a search for AxelF.mod to see what I mean)
If you need help, we're here :)