Grasshopper

algorithmic modeling for Rhino


Hello everyone,

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?

Best regards.

 

Camilo

Views: 5802

Replies to This Discussion

Camilo -

 

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.

 

http://www.grasshopper3d.com/group/fireflyplugin

 

Here is some information on the Arduino and MIDI:

 

http://arduino.cc/en/Tutorial/Midi

 

I hope this helps.

 

Thank you very much Scott... I'll check it out and let you know how it works.

 

Best

 

Camilo

Hello Camilo,

We do have MIDI in the works, but the components are not ready yet.

 

Best,

Luis

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...

Best regards

 

c!

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.

Best regards.

c!

Hello Camilo,

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.

 

Hi Luis,

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.

Oxygen 49

Gracias!

 

c!

Hello Luis,

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.

Best regards,

Camilo

Attachments:
Hey Camilo!  Nice work.  You should be able to send OSC from processing.  If you do this, you can use the OSC components to keep track of values.  There are two flavors, one to keep track of an individual value, or one to keep track of a list of values.

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.

Please Help.

Michał

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service