Discuss Notion Music Composition Software here.
2 posts
Page 1 of 1
Hi,

Was wondering if someone could help me out here: I can't figure out how to create VSTi presets.
I got it all done, but I really don't understand this part:

https://github.com/notionmusic/presets/blob/master/Documentation/Plug-in%20Presets.md

"Once you've created the expression in the XML, you can then create the corresponding rule in the Rules Editor (Condition>User Expression) within the Notion instrument file. To actually use the new expression once a new instrument is loaded from your preset, click the Techniques box in the Palette, then the arrow. This will show 'User' in the cursor. Place it where you wish in the score - Notion will then give you the list of expressions that you created."


There is no "Condition>User Expression" in my list.
Just "[condition is true[/quote]" or "[quote]condition is false"
and under these two, you don't have any "User Expression"

System specs:
- LINUX Ubuntu 23.10
- INTEL Core5 i8400 with 48GB DDR4
- Samsung 980 M.2 1TB SSD
- AMD RX480 8GB GPU
- Scarlett 2i2 GEN2
User avatar
by johnwaylett on Fri Apr 09, 2021 7:05 am
The documentation you refer to is not clear and confusing. I had the same problem with it. Below you will find my preset.xml and woodwindrules.prules (you create this file by exporting your custom rules editor contents) for my BBCSO Woodwinds. The names between the > < (i.e. Legato, Long...) for techniques 1 - 27 will show up as options in a drop down list after after you click the arrow in the palette and place the "User"marker over the note you wish to apply the technique to. Hope this helps.

<?xml version="1.0" encoding="UTF-8"?>
<preset>
<identifier>com.johnwaylett.SpitfireAudio.BBCSOWoodwinds.v1</identifier>
<name lang="en-US">BBCSO Core Woodwinds</name>
<user-techniques>

<technique number="1">Legato</technique>
<technique number="2">Long</technique>
<technique number="28">Trill Maj 2nd(f/p)</technique>
<technique number="29">Trill Min 2nd(f/p)</technique>
<technique number="24">Short Staccatissimo</technique>
<technique number="25">Short Tenuto</technique>
<technique number="23">Short Marcato</technique>
<technique number="21">Long Flutter</technique>
<technique number="22">Multitongue</technique>
<technique number="30">Multitongue(o)</technique>
<technique number="26">Rips(p)</technique>
<technique number="27">Falls(p)</technique>

</user-techniques>
</preset>

Here is my woodwindrules.prule file - I created it using the custom rule editior:

<rule-set version="1">
<rules>
<dynamic-map id="VELO">
<dynamic dynamic="pppp" value="10"/>
<dynamic dynamic="ppp" value="25"/>
<dynamic dynamic="pp" value="40"/>
<dynamic dynamic="p" value="60"/>
<dynamic dynamic="mp" value="80"/>
<dynamic dynamic="mf" value="90"/>
<dynamic dynamic="f" value="100"/>
<dynamic dynamic="ff" value="110"/>
<dynamic dynamic="fff" value="120"/>
<dynamic dynamic="ffff" value="127"/>
</dynamic-map>
<dynamic-map id="HAIR">
<dynamic dynamic="pppp" value="10"/>
<dynamic dynamic="ppp" value="25"/>
<dynamic dynamic="pp" value="40"/>
<dynamic dynamic="p" value="60"/>
<dynamic dynamic="mp" value="80"/>
<dynamic dynamic="mf" value="90"/>
<dynamic dynamic="f" value="100"/>
<dynamic dynamic="ff" value="110"/>
<dynamic dynamic="fff" value="120"/>
<dynamic dynamic="ffff" value="127"/>
</dynamic-map>
<setup>
<velocity-map id="VELO"/>
<hairpin-map id="HAIR"/>
<hairpin-cc value="1"/>
</setup>
<rule remark="Main Woodwind Sound - Long" enabled="true">
<if no-articulation="true"/>
<if no-techniques="true"/>
<key-switch midi-pitch="1" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Legato Flag" enabled="true">
<if condition="under-slur"/>
<set-flag name="slur"/>
</rule>
<rule remark="dash" enabled="true">
<if articulation="dash"/>
<duration-change amount="0.8"/>
</rule>
<rule remark="staccato" enabled="true">
<if articulation="staccato"/>
<duration-change amount="0.3"/>
</rule>
<rule remark="staccatissimo" enabled="true">
<if articulation="staccatissimo"/>
<duration-change amount="0.15"/>
</rule>
<rule remark="mezzo-staccato" enabled="true">
<if articulation="mezzo-staccato"/>
<duration-change amount="0.6"/>
</rule>
<rule remark="accent" enabled="true">
<if articulation="accent"/>
<dynamic-change bump="1"/>
<duration-change amount="0.6"/>
</rule>
<rule remark="legato-accent" enabled="true">
<if articulation="legato-accent"/>
<dynamic-change bump="1"/>
<duration-change amount="1"/>
</rule>
<rule remark="staccato-accent" enabled="true">
<if articulation="staccato-accent"/>
<dynamic-change bump="1"/>
<duration-change amount="0.3"/>
</rule>
<rule remark="staccatissimo-accent" enabled="true">
<if articulation="staccatissimo-accent"/>
<dynamic-change bump="1"/>
<duration-change amount="0.15"/>
</rule>
<rule remark="strong-accent" enabled="true">
<if articulation="strong-accent"/>
<dynamic-change bump="2"/>
<duration-change amount="0.6"/>
</rule>
<rule remark="legato-strong-accent" enabled="true">
<if articulation="legato-strong-accent"/>
<dynamic-change bump="2"/>
<duration-change amount="1"/>
</rule>
<rule remark="staccato-strong-accent" enabled="true">
<if articulation="staccato-strong-accent"/>
<dynamic-change bump="2"/>
<duration-change amount="0.3"/>
</rule>
<rule remark="staccatissimo-strong-accent" enabled="true">
<if articulation="staccatissimo-strong-accent"/>
<dynamic-change bump="2"/>
<duration-change amount="0.15"/>
</rule>
<rule remark="Soft Start" enabled="true">
<if articulation="soft-start"/>
<velocity-change bump="-20"/>
</rule>

<rule remark="Legato" enabled="true">
<if flag="slur"/>
<unset-flag name="slur"/>
</rule>
<rule remark="Legato Overlap" enabled="true">
<if condition="slurred-release"/>
<duration-change amount="1.05"/>
</rule>
<rule remark="Legato End" enabled="true">
<if condition="under-slur"/>
<if not-condition="slurred-release"/>
<duration-change amount="0.95"/>
</rule>
<rule remark="Legato" enabled="true">
<if user-technique="1"/>
<key-switch midi-pitch="0" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Long" enabled="true">
<if user-technique="2"/>
<key-switch midi-pitch="1" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Trill Maj 2nd" enabled="true">
<if user-technique="28"/>
<key-switch midi-pitch="2" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Trill Min 2nd" enabled="true">
<if user-technique="29"/>
<key-switch midi-pitch="3" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Short Staccatissimo" enabled="true">
<if user-technique="24"/>
<key-switch midi-pitch="4" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Short Tenuto" enabled="true">
<if user-technique="25"/>
<key-switch midi-pitch="5" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Short Marcato" enabled="true">
<if user-technique="23"/>
<key-switch midi-pitch="6" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Long Flutter" enabled="true">
<if user-technique="21"/>
<key-switch midi-pitch="7" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Multitongue" enabled="true">
<if user-technique="22"/>
<key-switch midi-pitch="8" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Multitongue(o)" enabled="true">
<if user-technique="30"/>
<key-switch midi-pitch="7" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Rips(p)" enabled="true">
<if user-technique="26"/>
<key-switch midi-pitch="9" velocity="80" type="note-on-prefix"/>
</rule>
<rule remark="Falls(p)" enabled="true">
<if user-technique="27"/>
<key-switch midi-pitch="10" velocity="80" type="note-on-prefix"/>
</rule>
</rules>
</rule-set>

2 posts
Page 1 of 1

Who is online

Users browsing this forum: No registered users and 21 guests