Hello Lemur Community again!
I keep trying to achieve a visual feedback of ableton project in arrangement view for live gig purpose.
With the great help I received so far, I'm one step from achieving the goal!
I attached the lemur project along with ableton simulation of different song sections represented by midi clips.
The script (midiOn) uses light array to show the current section triggered by a midi note from ableton.
It works great when the scripts are On MIDI notes starting from "0" (blue pads)
If I want to create pads for ex. another song (grey pads) where midi notes start from "4", I don't get any results.
Can anyone check the simulation and would be able to help? I don't know what to do anymore. It seems like the scripts are just fine…
Many Thanks!
ON MIDI scripts working only for notes starting from "0" why
-
- Newbie
- Posts: 15
- Joined: 22 Oct 2015 13:39
ON MIDI scripts working only for notes starting from "0" why
- Attachments
-
- Radio Switches almost Perfect.zip
- (15.33 KiB) Downloaded 94 times
-
- Newbie
- Posts: 15
- Joined: 22 Oct 2015 13:39
Re: ON MIDI scripts working only for notes starting from "0"
Hello,
I'm still struggling with the one question. Please any help anyone?
"Why this script work only for pads starting from 0
(onMIDI , note On, 0-24, ch 3) if note from 25-49 it freaks out? What this script is missing?"
I'll be more than grateful for the support!
I'm still struggling with the one question. Please any help anyone?
"Why this script work only for pads starting from 0
(onMIDI , note On, 0-24, ch 3) if note from 25-49 it freaks out? What this script is missing?"
I'll be more than grateful for the support!
Code: Select all
decl i = MIDI_ARGS[0]; //Get curent midi note
decl size = getattribute(Screen1,'row')*getattribute(Screen1,'column'); //decl the size of the pad object
decl lightarray = fill(0,0,size); //creates a vector the size of the padobject and fill it with 0's.
lightarray[i] = 0.35; //sets the current note played light to 1
light = lightarray; //Sets the light of the pad object to the lightarray we've just created
- Attachments
-
- Screen Shot 2015-12-07 at 3.03.26 AM.png (103.96 KiB) Viewed 1641 times