Kontakt NI Studio Drummer Script
- KVRian
- Topic Starter
- 560 posts since 22 May, 2012
I have a beginner question. I am editing the NI studio drummer grooves script at the moment.
Is it possible to mute a midi note via the script, for example C1 (Bassdrum) if I press/hold C0 for example?
Is it possible to mute a midi note via the script, for example C1 (Bassdrum) if I press/hold C0 for example?
- KVRAF
- 4652 posts since 1 Aug, 2005 from Warszawa, Poland
Sure. I imagine, you would need to set a variable when C0 is pressed/released, and in 'on note' callback, you could check on the variable, check on the note number, and use ignore_midi command, if they all match. Or you are taking about stopping a drumcomputer type script which generates notes?
- KVRian
- Topic Starter
- 560 posts since 22 May, 2012
The internal studio drummer script plays the full groove if i click on the play button. I want to mute some elements
of this groove on the fly, bassdrum for example (C1).
of this groove on the fly, bassdrum for example (C1).
- KVRAF
- 4652 posts since 1 Aug, 2005 from Warszawa, Poland
Then find play_note command in the script and insert condition there.
Or, if you have empty script slots, insert separate note muting script after the drummer factory script, may be easier.
Or, if you have empty script slots, insert separate note muting script after the drummer factory script, may be easier.
- KVRist
- 383 posts since 23 Oct, 2009
It should not be so straightforward, since script does some internal remappings. It may be easier to unload/load kit piece, but there is disadvantage that you need to do that with mouse.
- KVRAF
- 23102 posts since 7 Jan, 2009 from Croatia
The 5 SD scripts are pretty complex... I suppose your only chance would be entering some code into, say, script from slot 3, since it has the shortest note callback, and ignoring particular notes there.
Also, C0 already does Crash 2 choking.
Also, C0 already does Crash 2 choking.
- KVRian
- Topic Starter
- 560 posts since 22 May, 2012
It can be any other key , dont have to be C0.
i would like to mute bassdrum, hihats and snare.
@ruslan: It is possible to map C1 to "none" instead of "bassdrum" in the main window. But i dont know how this can be automated.
i would like to mute bassdrum, hihats and snare.
@ruslan: It is possible to map C1 to "none" instead of "bassdrum" in the main window. But i dont know how this can be automated.