generative 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
Tags:
Permalink Reply by Vicente Soler on March 12, 2013 at 10:40am Here's the definition as it is. Sorry there are no comments or anything but it's simple enough.
The VB component outputs a list of 88 values that correspond to the intensity of each piano key at the current time (if the pedal is on and a key is depressed the value is halved, if the pedal is off the value is 0).
The rest of the definition is just to do something with this data. It uses these values to display each note as different floating colors that move with the wind (using Kangaroo). The strength of the wind changes as the music dynamics change.
If there are several devices connected you might have to change the line device.Open(0) to another number.
(to be displayed with a black background)
Permalink Reply by Vicente Soler on March 12, 2013 at 3:55pm And here's a real time capture of the viewport:
Permalink Reply by Ángel Linares on March 13, 2013 at 9:49am This is you playing? :D In the other hand, nice component :)
Permalink Reply by Vicente Soler on March 13, 2013 at 1:14pm Yes, my gf made me do it... I'm still learning I can only play children songs.
Permalink Reply by Ángel Linares on March 15, 2013 at 8:34am xD heehehe, nice :)
Permalink Reply by djordje on March 17, 2013 at 11:45pm Very nice Vicenete,
We want more of these children songs! :)
Permalink Reply by Vicente Soler on March 18, 2013 at 8:47am I posted a new version of the definition at http://www.grasshopper3d.com/video/midi-to-grasshopper
...and another children song (well, it's from an animated film but it's PG-13).
© 2013 Created by Scott Davidson.
Powered by