Led feedback
Hi guys I have currently got most of my controller working however the led lights are not working properly. My lights seem to either all stay on weather they are pressed or not. I would like them to be on while the action is happening and off when not. For example when I press mute the led light up then when mute is off the light goes off etc. is it possible to control the lights ? If so could someone give an example of how to do so please
Sorry it didn’t upload for some reason.
I’ve attached the screen shot and to make life easier for you, I’ve attached the script.json file, import it into your CSS.
In answer to your question above, no you don’t need to link it except for selecting the same button for Metonome and the Reactions.
This is untested but yes you should be able to set the loop start to the loop’s playing position using this value:
self.song().view.highlighted_clip_slot.clip.playing_position
And you could do stuff like place the loop end at the playing position plus an amount, like this:
self.song().view.highlighted_clip_slot.clip.playing_position + 0.50
Did you get the loop start / end to work then?
The first box should contain the code for loop_start: .highlighted_clip_slot.clip.loop_start
The second box should contain the code for playing position:
self.song().view.highlighted_clip_slot.clip.playing_position
Everything else should stay the same as in my previous screen shot.
When you press the button, this will set the loop start to playing_position
Hi Blair,
Try replacing loop_start with:
start_marker
or
end_marker
They should control the ‘set’ the positions that you’re after.
To use the same button to toggle the Loop on and off, you need to add a Condition to your 2 Reactions.
For this example i’m assuming your button is ‘Button 1’ and sends Velocity Values ‘127’ for On and ‘0’ for Off.
You only want Loop On to fire when your Button is pressed On (127), so in the Loop On Reaction, add a condition which says:
Button 1 || .value || == || Input || 127
Now your Loop On Reaction will only fire when your Button sends a Velocity Value of 127.
You can do the same for your Loop Off Reaction but use Velocity Value of 0.
No problem 🙂
“you would think that start_marker and end_marker would be for the clip”
Yes it is for the clip, I thought from your previous comments that’s what you were looking for? am I wrong?
Sign up
User registration is currently not allowed.