Attention:

Welcome to the old forum. While it is no longer updated, there is a wealth of information here that you may search and learn from.

To partake in the current forum discussion, please visit https://forums.presonus.com

Midi generated trills by rule

A Forum to Discuss NOTION

Midi generated trills by rule

Postby fabiolcati » Fri Sep 24, 2010 2:46 am

pcartwright means this on another thread:

"MIDI trills-like" code? Notion added a rule that basically set trill conditions for instruments that didn't have sampled trills (and I think it works pretty well)


Though, the last time I downloaded rules' tools folder -- about 1 week ago -- I wasn't able to find a line of code for it.

Maybe I missed it.

Any suggestion?
Fabio
Arrigo Beyle - Milanese - Lived, wrote, loved - - Stendhal
Being italian is a full-time job - - B. Severgnini
User avatar
fabiolcati
 
Posts: 441
Joined: Mon Sep 21, 2009 9:08 am
Location: Milan - Italy

Re: Midi generated trills by rule

Postby pcartwright » Fri Sep 24, 2010 8:30 am

The rule is really more of a definition of trill parameters. Here's the important piece of code that you need for MIDI generated trills:

<rule>
<trill pitches="1" time="0.1" delay="0.08" />
</rule>

This is the default trill rule that came with the most recent GPO rules; you can adjust the variables so that there is more/less delay between the attack of the note and the start of the trill (delay) and/or change the the speed of the trill (time).

This rule can be assigned to an "if" condition (i.e. if flag = xyz or if instrument-id = xyz) so that instruments with sampled trills (such as the GPO strings) ignore this rule. Personally, I think creating trill definitions for each instrument with slightly different settings sounds the most realistic; trills played by multiple instruments at the same time sound slightly out of sync.

In regards to my post about tremolos... it seems that the unmeasured tremolos could act like trills and use these variables to automatically switch between two notes. It wouldn't be as realistic as sampled tremolos, but it would certainly help users hear what a tremolo would sound like.
pcartwright
 
Posts: 796
Joined: Sat Dec 05, 2009 2:47 pm

Re: Midi generated trills by rule

Postby fabiolcati » Fri Sep 24, 2010 8:54 am

Thank you Philip.
Maybe it must be specified in upgrade-specs that the code is to be found in GPO file. Kyle? Lubo?
Anyway. I'll test as soon as possible.
What do you mean by "instrument-ID"?
Is it different from the plugin ID?
If so, I guess is the string of numbers that comes when you open the instrument change window?
When I load my external VST (eg. YellowTools Indipendence Free) to be driven from a set of rules
Notion sees it as a plugin, not an instrument: how can I say "play trills on this instance of YTIF (eg. flute),
not on the other one (eg. piccolo)"?
Greetings

Ps. Next week: "Hairpins ignored: what am doing I wrong?"
Fabio
Arrigo Beyle - Milanese - Lived, wrote, loved - - Stendhal
Being italian is a full-time job - - B. Severgnini
User avatar
fabiolcati
 
Posts: 441
Joined: Mon Sep 21, 2009 9:08 am
Location: Milan - Italy

Re: Midi generated trills by rule

Postby pcartwright » Fri Sep 24, 2010 10:25 am

fabiolcati wrote:What do you mean by "instrument-ID"?
Is it different from the plugin ID?


So far, only plugins with predefined instrument lists (GPO, Philharmonik, VSL, EWQLSO) have instrument IDs, so rules files for other VSTis would be limited to a plugin-wide rule and can't be specified for indifidual instruments.
pcartwright
 
Posts: 796
Joined: Sat Dec 05, 2009 2:47 pm

Re: Midi generated trills by rule

Postby fabiolcati » Fri Sep 24, 2010 10:43 am

So far, only plugins with predefined instrument lists (GPO, Philharmonik, VSL, EWQLSO) have instrument IDs, so rules files for other VSTis would be limited to a plugin-wide rule and can't be specified for indifidual instruments.

Clear and loud.
Thank you Philip.
Fabio
Arrigo Beyle - Milanese - Lived, wrote, loved - - Stendhal
Being italian is a full-time job - - B. Severgnini
User avatar
fabiolcati
 
Posts: 441
Joined: Mon Sep 21, 2009 9:08 am
Location: Milan - Italy

Re: Midi generated trills by rule

Postby fabiolcati » Sat Sep 25, 2010 7:02 am

Maybe adding a MIDI channel information ?
Fabio
Arrigo Beyle - Milanese - Lived, wrote, loved - - Stendhal
Being italian is a full-time job - - B. Severgnini
User avatar
fabiolcati
 
Posts: 441
Joined: Mon Sep 21, 2009 9:08 am
Location: Milan - Italy

Re: Midi generated trills by rule

Postby pcartwright » Sat Sep 25, 2010 10:26 am

fabiolcati wrote:Maybe adding a MIDI channel information ?


Maybe. Give it try and let us know how it works.
pcartwright
 
Posts: 796
Joined: Sat Dec 05, 2009 2:47 pm


Return to NOTION

Who is online

Users browsing this forum: No registered users and 28 guests