generative modeling for Rhino
I'm new to grasshopper and I'm trying to hook up a midi controler in order to be able to control some sliders.
I've seen some posts about this topic but due to my lack of programming skills, I haven't been able to connect my controller to GH... Where should I start?
I believe the Firefly group would work for you. The Arduino can communicate with the MIDI interface. Then you could use the MIDI information to drive Grasshopper.
Here is some information on the Arduino and MIDI:
I hope this helps.
Thank you very much Scott... I'll check it out and let you know how it works.
We do have MIDI in the works, but the components are not ready yet.
Thank you Luis,
Could it be done with OSC?
If so... How should I do it?
I have a M-Audio Oxygen 49 controller...
Thank you again for your response, and sorry for being ignorant...
dont know exactly, but i think it might be possible to send midi to udp and than listen to udp port via gHowl..
if you have android phone there are some midi controllers over udp, try andosc and others in android market...(i phone works too)
Thank you Mateusz!
I'll try that right away.
gHowl does indeed support the OSC protocol (essentially formatted UDP messages, and the supposed next evolution on MIDI). Unfortunately I do not have the controller you speak of. Let me look it up. If it supports sending of OSC or UDP then I see no problem. Mateus' suggestion should also work if you find an app like processing that can act as a middleman. I am not so in favor of the middleman solution, it would be nice to go directly from the controller to gh, but I need to investigate your hardware in order to find out. If you have any relevant links to manuals, screenshots of the software interface, etc, this could help.
Thanks for the reply and the interest on the topic...
I've already got OSC working through mrmr on my iPhone...
I'll keep trying with MIDI through processing.
If you come up with some ideas, I'll be happy to try them.
Here's a link regarding the midi controller that I'm trying to use.
I've been working on my MIDI controller problem and this is where I got:
I cut and pasted some processing codes to be able to send MIDI data into gHowl, and I partially succeeded!
The thing now is that my definition can only handle one string of data at the time, so every time I switch from one slider to another, the previous input disappears, which makes the definition useless...
Any ideas on how to solve that?
I made a small video trying to illustrate the situation.
I hope it helps.
Grete Job. Works for me to with my BCR 2000. Cant wait to set up all the knobs.
In the future i will publish a movie with what i have done.
But i have only one question how to hold the value when i it come out from GATE ?
Hi Luis. I tried with the OSC, but with the same result, even worse because i got extra coma on the end of the message.