Page 1 of 1

Anybody see anything wrong?

PostPosted: Mon Jan 30, 2012 2:13 pm
by themeworks
Simple rule to affect a keyswitch for staccato in Kontakt 5 default VSL instruments. I confirmed by grace note that the keyswitch works, but the score won't see and obey this file:



<?xml version="1.0" ?>
<rule-set version="1">

<!-- NOTION3 Rules for Kontakt 5 -->

<dynamic-map id="NiO5">
<!-- You can assign your own dynamic values here. 0-127 MIDI values. -->
<dynamic dynamic="ppppp" value="0" />
<dynamic dynamic="pppp" value="11" />
<dynamic dynamic="ppp" value="22" />
<dynamic dynamic="pp" value="33" />
<dynamic dynamic="p" value="47" />
<dynamic dynamic="mp" value="58" />
<dynamic dynamic="mf" value="70" />
<dynamic dynamic="f" value="82" />
<dynamic dynamic="ff" value="94" />
<dynamic dynamic="fff" value="105" />
<dynamic dynamic="ffff" value="116" />
<dynamic dynamic="fffff" value="127" />
</dynamic-map>


<plugin id="1315524405">

<setup>
<velocity-map id="NiO5" />
<hairpin-map id="NiO5" />
<hairpin-cc value="1" />
</setup>

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


</plugin>

</rule-set>



** The instrument/plugin ID is correct - verified by Brian at Notion Support.

Ideas?

Thanks.

-C*

Re: Anybody see anything wrong?

PostPosted: Mon Jan 30, 2012 3:57 pm
by fabiolcati
<if articulation = "staccato"/>
<key-switch type="note-on-prefix" midi-pitch="15" velocity="1" />

Verify Midi pitch: it is not consistent between devices, sometimes the count starts one octave upper, sometimes one octave lower...
Try a higher extreme velocity. Since it is only a switch lets hit the key harder!

Re: Anybody see anything wrong?

PostPosted: Mon Jan 30, 2012 4:39 pm
by themeworks
Got it working -- thanks@! It was an octave off (15 was really 27)

However, my note-off is not working. It stays stuck on the previous articulation.

Do I need to create a default catch-all rule? Neither normale or arco (strings) seems to reset articulation/technique.

Also - is it note-on-prefix or note-off-suffix I use to set back to "12" (i.e. 0)?

<rule name="default">
<key-switch type="note-on-prefix" midi-pitch="12" velocity="127" />
<key-switch type="note-off-suffix" midi-pitch="12" velocity="127" />
</rule>

Thanks.
-C*