mute an instrument via script

Arepo_Tenets
Member Posts: 5 Newcomer
in Kontakt
Hi guys,
I have this script that mutes an instrument if a CC 65 with value 0 is received.
______
on note
if (%CC[65] = 0)
ignore_event ($EVENT_ID)
end if
end on
______
I'd like to improve it so that even if no CC 65 is being sent, it will just play "by default", and only perform the mute/unmute when it first receives a CC 65 value. Is that possible?
Thanks!"
0
Best Answers
-
on init set_controller (65, 64) end on
0 -
thanks a lot! 😊
0
Answers
-
on init set_controller (65, 64) end on
0 -
thanks a lot! 😊
0
Back To Top
Categories
- All Categories
- 21 Welcome
- 834 Hangout
- 77 NI News
- 404 Tech Talks
- 1.8K Native Access
- 8.4K Komplete
- 1.1K Komplete General
- 2.1K Komplete Kontrol
- 3K Kontakt
- 712 Reaktor
- 246 Battery 4
- 481 Guitar Rig & FX
- 282 Massive X & Synths
- 498 Other Software & Hardware
- 3.4K Maschine
- 23 Sampling Room
- 4.2K Traktor
- 3.9K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators