mute an instrument via script

Arepo_Tenets
Member Posts: 2 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
- 12.5K All Categories
- 21 Welcome
- 570 Hangout
- 69 NI News
- 276 Tech Talks
- 1.3K Native Access
- 5.9K Komplete
- 767 Komplete General
- 1.4K Komplete Kontrol
- 2.2K Kontakt
- 568 Reaktor
- 187 Battery 4
- 316 Guitar Rig & FX
- 224 Massive X & Synths
- 282 Other Software & Hardware
- 2.6K Maschine
- 24 Sampling Room
- 3.1K Traktor
- 2.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