Page 1 of 1

Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 5:49 am
by themeworks
Guys,

I'm dying over here. Trying to create some custom rules for Kontakt 5 VSL instruments (the ones shipped with it) and I am having trouble. I tried to create a basic rule, put in a file called "custom.prules" in a folder called "Rules" in the same directory as my test.notion file.

Here it is:

<plugin id="781057953">

<rule name="staccato">
<if articulation = "staccato"/>
<key-switch type="note-on-prefix" midi-pitch="1" velocity="1" />
<key-switch type="note-on-prefix" midi-pitch="15" velocity="1" />
</rule>

</plugin>


I skipped the other parts, just want the basic rule to override - testing this one. The VST Kontakt 5 is loaded, and responds to the keyswitch for staccato if a hide a grace note at D#0 (MIDI note 15).

But, the rule is not getting picked up at all.

Questions:

DO I have the Kontakt 5 plugin ID correct? (I did a string to hex to dec conversion on NiO5)
DO I have the right midi note # for the keyswitch, i.e. D#0 is 15?
DO I have the basic rule right, i.e. all stuff no fluff?
DO I have the folder names/file names right?

PLEASE help out if you can. Thanks.

-C*

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 1:52 pm
by cbandla
The Kontakt player uses 1315524405.

Charles Bandla
Scottsville, ny

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 2:20 pm
by themeworks
Thanks! I also confirmed with Notion support.

However, the keyswitch is still not working for me ;-(

-Thanks!

-C*

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 3:08 pm
by wcreed51
You should be able to see the key move on the Kontakt virtual keyboard. That will let you know if you're using the right note for the keyswitch. There are different MIDI standards for octave number, which might be the problem.

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 3:42 pm
by themeworks
Yeah, I don't see anything move.

Like I said - the grace note works, so it's a valid KS and it sees it - the file/rule just won't make it trigger.

Either

a) the articulation is not calling the rule
b) the rule is not triggering the right note
c) Kontakt is ignoring either of the above

-C*

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 4:40 pm
by themeworks
Got it working. The midi was an octave off. D#0 was 27, not 15 in Kontakt.

-C*

Re: Custom Rules for Kontakt 5

PostPosted: Mon Jan 30, 2012 7:27 pm
by wcreed51
Just what I was thinking...

Re: Custom Rules for Kontakt 5

PostPosted: Tue Jun 19, 2012 12:37 am
by elerouxx
Sorry for pulling out this old thread. How is your progress on rules for Kontakt 5?

If you code rules for a specific VST ID, it will apply to any instrument on it, right? like I cannot have, for instance, a kontakt 5 flute act different from a kontakt 5 violin?

I need to code rules for a specific percussion instrument I created as a soundfont and loaded into Notion using SynthFontVSTi.