# Mathematica's external controllers?

While reading the Manipulate reference I've noticed this line:

What are the available external devices for that?

Some months ago I was thinking on what would be needed to use a MIDI Controller such as The BitStream 3X above Into Mathematica.

With my limited knowledge, I thought I could make Max/MSP receive the midi messages and write them down on a txt file, and then Mathematica would read it and use it for controlling something useful, I've asked to a friend - who have a degree on C.S. - how this could be accomplished, he said me I would need to use the system DLL's for that.

The questions are:

• What are these controllers?
• How would it be possible to transform the MIDI signals into Mathematica?

Bonus?: I also have a KORG Kontrol 49 in my table. It's a MIDI controller - does not produce sound, only MIDI signals. - It's possible to translate some MIDI messages (such as button presses) into keystroke emulation through Bome's MIDI Translator. This is by no means contradictory, translating keyboard keys into keystroke emulation is easy, the only thing I kinda have no clue on how I could do it is how to make a MIDI hardware slider control a Mathematica Slider. I've posted this last section because it could be useful for someone.

-
The controls are user input devices, such as joysticks, gamepads, (built-in) accelerometers etc., not, as far as I know, MIDI devices. –  Sjoerd C. de Vries Aug 13 '12 at 11:13
–  belisarius Aug 13 '12 at 11:41
Sometime ago, I tried a 3Dconnexion SpaceNavigator space mouse which worked fine. –  Yves Klett Aug 13 '12 at 13:00
You can also connect microcontrollers, such as Arduino and Phidgets. –  programming_historian Aug 13 '12 at 13:27

## 1 Answer

MIDI devices are supported as controllers on Mac, but not other platforms. Plug your device in and evaluate ControllerState[] to get the name of the device and its buttons/axes.

-
Only on Mac? So sad. –  Voyska Aug 13 '12 at 18:45