Troubleshooting
Switch needs to behave like pad
Started by 10us on .
Sign in or create an account to join the conversation.
Hi,
Off course a newbie with a question
I try to build a control for Visibility in Cubase 8. With Cubase 8's Program Logical Editor I can create 'scripts' to show/hide specific 'name tagged' tracks. Via a Generic Control I can fire off these scripts which 'toggles' track visibility per audio/midi/sound). To have visual feedback I like the switch array. But in CUbase the PLE script only accepts Push (Pad) signals. So to toggle a visibility group I have to push twice. When I use a Pad button things work like expected, but no visual feedback on the button for the state.
Using LED's to play the feedback role seems to be odd. I can't manage to get one decent sized LED. LED function in Lemur seems to be a bit funky. Using a ghost Pad to trigger Cubase from a switch seems to be a lot of work.
Anybody a suggestion which path to take?
Regards,
Martijn
10us - Cubase template 0-2.jzml
Off course a newbie with a question
I try to build a control for Visibility in Cubase 8. With Cubase 8's Program Logical Editor I can create 'scripts' to show/hide specific 'name tagged' tracks. Via a Generic Control I can fire off these scripts which 'toggles' track visibility per audio/midi/sound). To have visual feedback I like the switch array. But in CUbase the PLE script only accepts Push (Pad) signals. So to toggle a visibility group I have to push twice. When I use a Pad button things work like expected, but no visual feedback on the button for the state.
Using LED's to play the feedback role seems to be odd. I can't manage to get one decent sized LED. LED function in Lemur seems to be a bit funky. Using a ghost Pad to trigger Cubase from a switch seems to be a lot of work.
Anybody a suggestion which path to take?
Regards,
Martijn
10us - Cubase template 0-2.jzml
You might be able to use the Pad's Hold attribute to freeze the current selection ON.
I'll take a look (unless someone beats me to it) in the next day or so, but a script something like
//script executes on expression x transitioning from low to high
I'll take a look (unless someone beats me to it) in the next day or so, but a script something like
//script executes on expression x transitioning from low to high
decl index, holdArray;
holdArray = stretch(0,4);
index = firstof(x);
holdArray[index] = 1;
setattribute(Pads, hold, holdArray);
OR you might get away with simply:setattribute(Pads, hold, x);
might work (assuming 4 pads).