Activate a Keyswitch from a macro page button.

Post topics about HALion scripting.
Post Reply
AndrewAllchurch
New Member
Posts: 3
Joined: Sat Apr 07, 2012 1:20 pm
Contact:

Activate a Keyswitch from a macro page button.

Post by AndrewAllchurch »

Can anyone tell me how to to activate a Keyswitch from a macro page button? (If it's possible)

... Thanks

misohoza
Member
Posts: 938
Joined: Sun Oct 05, 2014 12:18 am
Contact:

Re: Activate a Keyswitch from a macro page button.

Post by misohoza »

It depends on how you implement the keyswitches.

If you use MegaTrig then I don't think it's possible. While you can create note on events from a script module it doesn't work with keyswitches.

But it is possible if you implement the keyswitches in Lua Script module. You can use the playNote function to determine which layer should play.

Keyswitch.zip
(7.12 KiB) Downloaded 71 times
Win 10 Home, 64 bit, 8 gb ram,
Cubase Pro 10.5, Wavelab Pro 9.5, Halion 6, Dorico 3,
NI Komplete 10 Ultimate, Ozone 7,
UR 44

AndrewAllchurch
New Member
Posts: 3
Joined: Sat Apr 07, 2012 1:20 pm
Contact:

Re: Activate a Keyswitch from a macro page button.

Post by AndrewAllchurch »

Ok thanks. I had used Mega Trig. I’ll take a look at the lua method.

AndrewAllchurch
New Member
Posts: 3
Joined: Sat Apr 07, 2012 1:20 pm
Contact:

Re: Activate a Keyswitch from a macro page button.

Post by AndrewAllchurch »

Thank you, that was exactly what I was I trying to do.
An elegant solution.

Mrgetsliding
New Member
Posts: 8
Joined: Sun Jun 29, 2014 9:25 pm
Contact:

Re: Activate a Keyswitch from a macro page button.

Post by Mrgetsliding »

I am so green to this Macro Page thingy and scripting that I am super confused, yet, with your piece of code, key switches work. Thanks.

Post Reply

Return to “Halion Scripting”

Who is online

Users browsing this forum: No registered users and 1 guest