m5 sensorizer is an MBHP/MIOS (midibox.org) project to enable processing of sensorized data by Midi.
As I am working with applications and hardware like this since several years, this is the first project I am releasing as open source* together with detailed building instructions using the MidiBox Hardware Platfom (MBHP) of Thorsten Klose and the midibox.org community.
You can find the source code and a fully detailed description along with Instructions at the m5 sensorizer project page at midibox.org. SmashTV is selling high quality PCBs (and Kits) for the MBHP worldwide.
Features of the m5 sensorizer:
- · supports up to 8 sensors, code can be adapted to use more (eg with PIC18F4620)
- · enable/disable single AINs
- · slowdown: slows down the signal and increases the gaps between generated values
- · assignable CH and Controller-Numbers
- · sense-min: 10bit value, ignores every signal below
- · sense-max: 10bit value, ignores every signal above
- · sense-factor: used for signal interpolation… uses fast bitshifting or complex division depending on value
- · AUTO-sense feature: auto-calibration of sensor, detect MIN/MAX by sensing · automatically adapts sense-factor!
- · scale from and scale to: scales the output value from/to
- · invert signal
- · pedal modes:
filter ⇒ only forward if pedal down;
panic ⇒ send panic on release pedal;
combinations of all pedal mode options are possible
- · detect release: send 0-value if signal drops below sense-min
- · bankstick support: 1 connected bankstick provides 2 banks with 127 patches each
- · midi configurable: full configuration possible with NRPN-messages
NRPN-MSB CC99 for sensorSelect / sysEx mode
NRPN-LSB CC98 for controlType
DataEntry MSB CC6 and LSB CC38 for controlValue
- · LCD-Output (2×16 or -recommended- 4×20)
- · HUI-Input to control up to 4 sensors with 8 switch-encoders, pedal, store- & panic-button in 2 modes (PLAY/SETUP)
- · ACSim Console Debugger: code integrated and ready to use configured for XCode2
select “ACSim” as target and test the application via command-line
inspect variables with a (graphical) debugger (GDB support within XCode2)
visit http://www.midibox.org → there’s a tutorial how to use Code::Blocks
· m5 sensorizer project page at midibox.org
· m5 sensorizer picBrowser (Image Gallery)
· Audiocommander’s YouTube Video Page
· zeichensprecher, my band where I am using the sensorizer as musical instrument (free mp3s downloadable; also see the radio on this page, you can listen to our tunes :)
* Notes for developers:
My application “ACSensorizer” is released under a GPL-License, that means you can use it for any purpose as long as you release the sources of your project, too. It is not allowed to use this source in closed-Source projects. However, my ears are open and widely distributed, so don’t think a whole community of midiboxers won’t notice it if you are trying to sell proprietary products using this code.
Please note that MIOS/MBHP is non-commercial anyway and refer to the relevant sections of midibox.org and the midibox-forums!
If you build yourself a sensorizer, write me! I like to hear from you :)