I believe I have found and fixed a bug in MIDI play mode causing it to play the wrong note. If you are bored, you can test this out. As a reward, this patch also turns on LEDs for MIDI play mode, so you can actually see what you're doing (and verify that you're really playing the right note).
The bug and patch:
https://sourceforge.net/tracker/index.p ... tid=733408
Download firmware .hex file and .diff to examine:
http://gl1tch.com/~lukewarm/x0xb0x/firmware/
Firmware Test - Fix MIDI Play mode bug, add blinking LEDs
Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers
Please be positive and constructive with your questions and comments.
- chairman meow
- Posts: 56
- Joined: Sat Jul 30, 2005 8:48 pm
- controlvoltage
- Posts: 242
- Joined: Tue Aug 09, 2005 12:17 am
- chairman meow
- Posts: 56
- Joined: Sat Jul 30, 2005 8:48 pm
Oops
Err, that's what happens when I type instructions at 4am? The .hex file is a complete, built firmware. You can install it with JAvrProg or c0ntr0l like you would any other firmware.
The .diff is a "unified diff" of the changes I made against the code in CVS. The .diff is there for people to review, as it lets you see exactly what changes I made. If LadyAda likes it, or if you'd like to apply it against your own local CVS repository, you can use the 'patch' command to apply it.
The patch command should have said this:
But if you just want to try it, all you need is the firmware .hex file to bootload to your x0xb0x.
The .diff is a "unified diff" of the changes I made against the code in CVS. The .diff is there for people to review, as it lets you see exactly what changes I made. If LadyAda likes it, or if you'd like to apply it against your own local CVS repository, you can use the 'patch' command to apply it.
The patch command should have said this:
Code: Select all
patch < x0xb0x_midiplay.diff
Please be positive and constructive with your questions and comments.