Led feedback

4.90K viewsCSS Questions
0

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

admin Changed status to publish
Attached Files:
0

This tutorial on Reactions should help to answer your question:
https://remotify.io/tutorials/sending-custom-led-feedback-your-midi-cont…

admin Changed status to publish
Attached Files:
0

That’s a good point, unless you know the inner workings of the LOM (Live Object Model) you will not know.
We probably need a reference page for this. I’ll get to work on it soon.

“how would I do a reaction to set a loop in and loop length on a highlighted track”
This should be possible with Reactions but I’ll need to figure it out. Let me get back to you.

admin Changed status to publish
Attached Files:
0

I just found a reference to clip loops that I, ye know, just had laying around :p

This should set the Loop Start position of the currently highlighted clip.
In the the Reactions section of your Reaction. select ‘view’ then in the input box add:
.highlighted_clip_slot.clip.loop_start
Then select ‘=’
Input
And In the second input box, add a value such as 0.25
I can’t remember what the value means so will requires some experimentation (maybe report your findings here?)

Loop End is the same as loop start except, you use this string in the first input box:
.highlighted_clip_slot.clip.loop_end
And you can use the position of your loop start position as a variable in the second input box:
self.loopstart + 0.25
This means that your end loop position will always be 0.25 further along than the loop start.

Loop Length should also be similar but use:
.highlighted_clip_slot.clip.loop_length

Here’s a few more:

Turn Looping on & off for selected clip:
.highlighted_clip_slot.clip.looping = True
.highlighted_clip_slot.clip.looping = False

Start Marker & End Marker
(Be careful with these, I kept getting an ‘StartMarker out of range’ error)
.highlighted_clip_slot.clip.start_marker = 1.0
.highlighted_clip_slot.clip.end_marker = 2.0

Create a Clip 4 bars in length
(Note that this uses parenthesis and not equals)
.highlighted_clip_slot.create_clip(4.0)

admin Changed status to publish
Attached Files:
0

Yes, Listener is the button.
Condition can be empty (delete any conditions in there)
In Reaction: Select ‘view’ then in the input box add:
.highlighted_clip_slot.clip.loop_start
select ‘=’
Input
Then in the text field try adding
0.25

See the attached image

admin Changed status to publish
0

Hey,

So I just tested this and work for me.
See this demo: https://youtu.be/ywpi7tx0j98

One thing to note, the button you are using needs to also be attached to another mapping otherwise the required code doesn’t exist which the Reaction hooks into.
Reactions were designed to add feedback, you’re adding new functionality (which is fine but requires a bit of a work around).

The attached screenshot are the settings for the above demo.
I attached ‘button 1’ to the metronome so that the Reaction can hook into it.
The first Reaction sets Loop start to 0.25
The second Reaction sets Loop End to 0.75

admin Changed status to publish
Attached Files: