Poly Aftertouch Cymbal Choke Script issue.
I tried implementing this script I found for poly aftertouch cymbal choking from EvilDragon, and it sort of works. The issue, however, is that it doesn't totally kill the voice, it just reduces it in volume. The sample continues playing at this reduced volume. I've implemented it verbatim, and I'm a bit stumped.
on init declare const $NUM_CYMBALS := 4 declare const $FADE_OUT_TIME := 20000 declare $search_cymbal declare %cymbal_keys[$NUM_CYMBALS] := (49, 52, 55, 57) end on on note $search_cymbal := search(%cymbal_keys, $EVENT_NOTE) if ($search_cymbal # -1) set_event_mark($EVENT_ID, sh_left($MARK_1, $search_cymbal)) end if end on on poly_at $search_cymbal := search(%cymbal_keys, $POLY_AT_NUM) if ($search_cymbal # -1) fade_out(by_marks(sh_left($MARK_1, $search_cymbal)), $FADE_OUT_TIME, 1) end if end on
Answers
-
Voice should definitely stop considering last argument of fade_out() is 1, which means kill voice. Your problem is probably elsewhere. Try the script in a minimal instrument with just a single sample, does it work there?
0 -
Okay, looks like the issue is with the play_note() line from my random round robin script the other post interfering. Removing that solved the issue, and things play back fine, now I just need to sort out why removing play_note() in my other script/post stops it from working in that one.
0 -
Hi mates!
I just grabbed the MixWave Tony Royster pack and as a Toontrack user I am a bit disappointed, that MixWave does not support AT for cymbal choke and not using mute tails.
Anyway, I just discovered KSP and this script above.
I just pasted it into a KSP window (Kontakt 6.7.1 R0) and it says $POLY_AT_NUM may only be used in a poly_at callback!
Thanks for a quick advice or references how to set this up with the MixWave thing.
Best regards!
0
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 735 Tech Talks
- 3.9K Native Access
- 15.9K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 817 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K 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