Click here to explore the “World of Doria” if you care to. Thank you to my father for having web space I can use.
In this release I’ve added the ability to changes keys to any Major or Minor key. Scales starting on octaves 3 through 6 can be played. I removed the ability to play scales starting on octave 2 due to the inability to play the lowest note on the C flat major scale (Cb2/B1).
With this version I’ve added support for two sound channels. It alternates between them so you can play more than a note at a time.
Two downloads because one enables the length flags and one doesn’t. I prefer the continuous play one with the envelop set to end the note that way as opposed to it just cutting out like the Length ones do… On the other hand the Length version makes the Length flags actually change anything.
Download with Note Length
Download with Note Continuous
With this version you can change the configuration of the instrument. The settings are saved.
This version does octaves 2-7.
This version changes the keys to allow for a complete diatonic scale.
This edit adds the ability to change octaves up or down (should have been there to begin with…).
Played around with the GBA’s sound registers tonight and put tigether a very simple synth.
Thanks to headkaze on retrobyte’s forum for the asm demos. I used some of the macros defined in the sound demo here.
Here’s a version with a process for drawing rectangles. Source code included just like before.
Bonus moving square version
Worked a bit more at the previous demo and managed to make it work for all positive slopes.
After watching dovoto’s second live video tutorial I decided to check out the Bresenham algorithm mentioned in the last slide. After some help from dovoto and this indispensable website I put together this demo of the basic version of the algorithm. It only only draws in the first octant but it’s a start I suppose. Also, it’s in ASM rather than C and it is for the GBA instead of the NDS (dovoto’s tutorials being for NDS with C).