Led feedback

5.65K 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

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:
You are viewing 1 out of 41 answers, click here to view all answers.