So it turns out that you can update the DS sprite engine’s OAM in the middle of a VBlank to draw more sprites. Very neat. I’m going to use it for printing arbitrarilly sized text. Here’s some example code that prints 192 text sprites, 64 more than normally possible.
Multiplexing the DS Sprite Engine
August 24th, 2009 by phateMessing Around
August 24th, 2009 by phateI spent a bit more time poking around with that synth code. I was trying to figure out how to implement a fixed point version of the power fuction, but it turns out that it’s not really feasable with the limited accuracy that comes along with fixed point math, so I gave in and used devkitARM’s floating point stuff to calculate frequencies from note values instead.
It’s not all that efficient, but the note values are being calculated at the input poll rate, not the sample rate, so it doesn’t matter too much. Anyways, here’s a little Kaosscilator clone based on my previous code to play with. With some tweaking, this could actually be a decent improvisational tool.
First Blog Post, Hello All!
August 24th, 2009 by phateDovoto was kind enough to set me up here, so now I have an awesome blog. I plan on updating here with assorted portable music/audio applications. Here’s a rough demo of my currently-unfinished synthesis toolkit that sends a saw oscillator through a series of feedback delay lines.