how do I extend Note ON duration to 100ms?

garubi

2014-03-25 10:01:30

Hallo, I'm a Bome's Pro user since several years! Thanks for this wonderful program!

I'm programming a new setup where I'm using some note ON messages to switch between presets of a VST.
I have no problem with the basic script, ie press the key -> apply my translations -> send the note message to the vst

I need your help for the following "problem":
The VST change preset only if the note ON message it receives is long at least 100ms, otherwise it ignores the command.
The VST author designed it this way to avoid accidentally preset changes.

I would ike to setup Bome's Translator so even if i push a button for less than 100ms it sends out that "note ON" message for 100ms

I think I'll have to use some timers but since I never used them and they are a little confusing (for me, obviously) any help from you would be very appreciated!

Stefano

Sakis

2014-03-25 17:30:26

If I understand this correctly ,the vst senses a specific Note_On message and if the key/button is released immediately ,it ignores it.

Code: Select all

Preset 0: trigger preset

Translator 0.0: 1st Translator
Options: stop=false
Incoming: MIDI 80 oo pp
Outgoing: (none)

Translator 0.1: 2nd Translator
Options: stop=false
Incoming: MIDI 90 oo pp
Outgoing: MIDI 90 oo pp

Translator 0.2: 3nd Translator
Options: stop=false
Incoming: MIDI 90 oo pp
Outgoing: MIDI 80 oo pp, delay:100millisec
On 1st translator we filter the NoteOFF message
On 2nd translator we passthru the message for preset change
On 3nd translator we emulate a NoteOFF message after 100ms.
You must specify the "oo" for the note you want to use for preset change and the midi channel (90,91..etc).
Hope it helps a bit!

garubi

2014-03-26 09:26:30

Sakis,
thank you.
It helped a lot!