Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

enter image description here

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.

enter image description here

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.

share|improve this question
    
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
3  
    
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
add comment

1 Answer 1

up vote 5 down vote accepted

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.

share|improve this answer
    
Only on Mac? So sad. –  Vladimir Putin Aug 13 '12 at 18:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.