This time it's pretty, more functional, easier to use, better pitched, and has an NES controller!
There's a lot going on, so I had to explain it in the video -- but the gist is you select which notes you wish to make sound with the left/right and A buttons on the NES controller, adjust the actual note to play with the up/down buttons, and hit start to loop the sequence. 16 notes, about 250 milliseconds per note, C major.
As a side note, the interface is a bit sloppy. You can see me having some very minor timing issues with the A button in the video -- that's because the code is simply checking to see if the button is held down, not whether it's a new button press or anything fancy. But.. Whatever. It makes something resembling music. ;)
No comments:
Post a Comment