|
I am working on a project with Chris on a finger based drum machine.
His website is HERE.
It has some great video interviews with drummers and people trying our gloves. An overview of the physical part of the glove is HERE. Below is our code blog, which shows how our code is progessing. |
|
10.14.05: Testing at 20mHZ |
| This code simply blinks LEDs with the 20mHZ powered oscillator (more on which later). |
| ... 20mHZ code 10.14.05 | simple blink |
10.18.05: MIDI code 1.0 |
|
2 pieces of code here. The first is the super simple MIDI out, which just shows how to do it.
The second file is the code we are using to run the 5 FSRs in the glove to the MIDI. It has a very simple and limited peak finder built in. |
| ... MIDI code 10.18.05 | simple midi finger drum |
10.19.05: serial code to help view impulses |
| This code is used with 1 sensor to view and then find peaks in impulses above a threshold. |
| ... serial code 10.19.05 | basic serout serialviewimpulse serialviewpeak serialfindpeak |
10.24.05: MIDI code for 8 FSRs |
|
This code is used to run the 8 FSRS into the MIDI. There are only 8 since only 8 analog in 18F452.
This code uses a simple peak finder that just looks 6 times for the peak after crossing threshold. This was actually better than a more sophisticated peak finder methodology. See note in Code. However there are occasional "pops" in the MIDI out, which may be code or hardware. |
| ... MIDI code 10.24.05 | FSR8simple |
11.4.05: MIDI code for 8 FSRs |
|
Chris and I worked some on the rctime command and also improved the FSR8 code above
We also made some initial menu and rctime time code |
| ... MIDI code 11.4.05 | FSR8nov4 |
| ... Menu code 11.4.05 | samplemenu simpleswitchroutine |
| ... rctime code 11.4.05 | simple rctime |
11.7.05: Integrated Play and Menu modes |
|
This works pretty well but still only with 8FSRs
Also it doesn't include a full drum library, just a small one |
| ... integrated code 11.7.05 | play and menu |
11.8.05: Attempt at expanded library |
| Not really working with the library. We also need to give the physicals a rehaul. |
| ... code 11.8.05 | play and menu |
11.9.05: Browsing the Korg |
|
Two files here.
One is code to cycle through a select set of MIDI. The other a full list of the MIDI drum kit. |
| ... code 11.9.05 | serial and MIDI code Everything in the Korg |
11.15.05: Full Library + Multiplexer |
|
New running FSR8 with full library. There is also working but crude and initial multiplexer code |
| ... code 11.15.05 | FSRnov15 |
| ... Multi code 11.15.05 | testmultiplex initialFSRmultiplex |
11.19.05: Improved Full Library + Multiplexer |
|
Running FSR8 with full library. Working multiplexer code |
| ... code 11.19.05 | FSRnov19new |
| ... Multi code 11.19.05 | FSRmultinov19 |
12.2.05: Multiplexer for 18F252 |
| Working multiplexer code |
| ... code 12.2.05 | FSRnov28 FSRnov28new |
12.6.05: Start of serial protocol |
| Initial stab at serial to processing code |
| ... code 12.6.05 | serial_glove_dec6new processing code intial sketch |
12.7.05: Start of serial protocol day two |
| Serial into processing code |
| ... code 12.7.05 | FSR_dec7 serial code emulator processing code intial sketch |
| ... AT LAST images of 18F252+452 | 18F252 18F452 |
12.8.05: Start of serial protocol day three |
| Serial into processing code |
| ... code 12.8.05 | glove_dec8 |
12.9.05: Start of serial protocol day four |
| Serial into processing code |
| ... code 12.9.05 | glove_dec9 processing_dec9 |
12.12.05: glove with FSR menu switcher |
| Final Glove Code? |
| ... code 12.12.05 | glove_dec12 |
| ... code 12.12.05 | processing_dec12 processing_dec12condense |