mute an instrument via script

Arepo_Tenets
Member Posts: 5 Member
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
This discussion has been closed.
Back To Top
Categories
- All Categories
- 18 Welcome
- 1.7K Hangout
- 67 NI News
- 896 Tech Talks
- 4.6K Native Access
- 17.8K Komplete
- 2.2K Komplete General
- 4.8K Komplete Kontrol
- 6.3K Kontakt
- 1.1K Reaktor
- 407 Battery 4
- 917 Guitar Rig & FX
- 466 Massive X & Synths
- 1.5K Other Software & Hardware
- 6.4K Maschine
- 8.2K Traktor
- 8.2K 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