View Full Version : I have a Teensy 2.0, and an idea for what I want to do in MIDI.

02-20-2013, 12:10 PM
Hi there, I've recently recieved a Teensy2.0++, and want to do some basic/cool USB MIDI stuff with it. Most of my electrical/technical experience so far is just cannibalising pc gamepads and rewiring them up, and creating an analogue rgb dimmer.

I've never coded before, but I've found all these guides on the net on how to connect buttons/faders/led etc but although I get the gist of it, I really don't understand how I'm supposed to combine these and correct syntax or method of deciding what to write/do and when in the code.

I've got some 10k linear pots and faders, and a tonne of microswitches (hundreds are and basically wanted to fill every pin on the board for as many controls as possible.

Please could you recommend a decent book which covers the basics/concepts of programming this thing?

EDIT: not sure how i managed to post this in suggestions and bug reports, sorry! if a mod could move to wherever it should be that'd be great cheers.

02-22-2013, 01:49 AM
Teensy is great for midi as it is recognized directly as a midi device without any additional hardware. Some inspiration here. http://forum.djtechtools.com/showthread.php?t=21705 Most of these are ardruino based, so the sketches can be simplfied.

Another cool project http://hackaday.com/2013/02/22/arduino-controlled-midi-sequencer/

02-24-2013, 12:04 AM
Adafruit has a bunch of really useful tutorials (http://learn.adafruit.com/). They are not teensy-centered per se but they are pretty easily adapted. For instance: digital in (http://learn.adafruit.com/adafruit-arduino-lesson-6-digital-inputs/arduino-code), multiple button debounce (http://www.adafruit.com/blog/2009/10/20/example-code-for-multi-button-checker-with-debouncing/), analog input (http://learn.adafruit.com/adafruit-arduino-lesson-8-analog-inputs/an-experiment).