Welcome to %s forums

BrainModular Users Forum

Login Register

Minimum Velocity Filter?

I need help on a Patch
Post Reply
schelsullivan
Member
Posts: 11
Contact:

Minimum Velocity Filter?

Unread post by schelsullivan » 22 Jan 2020, 21:01

Hey guys, Side note: I bought Usine! Love the power and versatility!

I need to adjust midi note data code 2 (velocity) (??) to have a minimum velocity adjustment.

I just bought a Midiplus X6 Pro to add a second manual my live setup. It seems that this midi controller will send a velocity of 0 (zero) when a key is pressed softly. My piano vst detects the note on message but does not sound with a velocity of 0. My main keyboard / controller since 1988 will send a minimum velocity of 10 allowing me to play very very softly, the Midiplus X6 Pro drops notes when I play that soft.

Ive tried to use a midi in and a Change Scale to adjust the Code 2 portion of the midi input.

Help please.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 22 Jan 2020, 22:12

Hello and Welcome schelsullivan !

You can add a MIDI transformer module after the MIDI in and adjust gain

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 22 Jan 2020, 23:03

nay-seven wrote:
22 Jan 2020, 22:12
Hello and Welcome schelsullivan !

You can add a MIDI transformer module after the MIDI in and adjust gain
I tried that but it still passes a zero velocity when played soft.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 22 Jan 2020, 23:20

yes, you're right , not efficient when velocity is 0 ( we'll check this)

best would be to set your keyboard ?
what i found in your keyboard manual:
Capture d’écran 2020-01-22 à 23.18.44.png

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 22 Jan 2020, 23:20

I suppose you could do something like this:
usine_velmap.jpg
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 23 Jan 2020, 00:33

nay-seven wrote:
22 Jan 2020, 23:20
yes, you're right , not efficient when velocity is 0 ( we'll check this)

best would be to set your keyboard ?
what i found in your keyboard manual:

Capture d’écran 2020-01-22 à 23.18.44.png
Yes ive checked each velocity setting on the 6x, each one exhibits same behavior. (except the max which is full vel always)

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 23 Jan 2020, 01:21

schelsullivan wrote:
22 Jan 2020, 23:03
nay-seven wrote:
22 Jan 2020, 22:12
Hello and Welcome schelsullivan !

You can add a MIDI transformer module after the MIDI in and adjust gain
I tried that but it still passes a zero velocity when played soft.
The gain of the the midi transformer would work perfectly if the gain could be "inverted". I does a perfect job of limiting max velocity. But I can make it raise the min vel. Ive tried some of the Math modules but cant seem to get it to work. so close...

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 23 Jan 2020, 02:28

x.iso wrote:
22 Jan 2020, 23:20
I suppose you could do something like this:
usine_velmap.jpg
This is very close to working. I can see code 2 on the output limited at where I set it, but this is not passing note on/off ??

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Jan 2020, 09:24

Try this patch:
MIDI add Velocity.pat
(19.08 KiB) Downloaded 840 times

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 23 Jan 2020, 11:14

schelsullivan wrote:
23 Jan 2020, 02:28
x.iso wrote:
22 Jan 2020, 23:20
I suppose you could do something like this:
usine_velmap.jpg
This is very close to working. I can see code 2 on the output limited at where I set it, but this is not passing note on/off ??
it should though, look at mapper value on the screenshot, it translates incoming msg type to message type selection in Create MIDI, replicating all incoming midi except for data 2 being modified. Actually you'd need extra step to only apply Mapper Curve when Note On message is received and use MIDI Unpack right after MIDI input so that messages are not bundled up in arrays and come out in sequence as intended (that's why Note OFF didn't work). I used Mapper Curve in this case for the sake of being able to also set velocity curve. I'll send a proper patch later. Maybe even upload in Add-ons as it can be useful and it's quite a typical tool for DAW to have.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 24 Jan 2020, 03:47

nay-seven wrote:
23 Jan 2020, 09:24
Try this patch:

MIDI add Velocity.pat
Thanks,
after looking very closely at the midi in port, Ive noticed that this MidiPlus 6x Pro controller is not actually sending a note on msg when I play softly! I confirmed this with midi ox.
https://imgur.com/l9f2tg8
Image
(hope image works)
Line 1 of midi ox is me playing middle c softly
Line 2 of midi ox is me releasing middle c
its sending a NOTE OFF msg with a code 2 of "0"
Line 3 and line 4 are me playing a middle c more firmly

Ive been using the old korg m1 since 1987, Ive played a few modern keyboards too. Never seen anything like this before.
Is this just a terrible bug in this Chinese midi controller? Its cheap for sure, but I really like it other wise.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 24 Jan 2020, 09:34

About sharing image use the full editor of this forum and add the picture via the attachement, then click on "inline" button to insert it.
You can also activate the trace panel/MIDI in to see what's happen directly in Usine.

About your keyboard, yes, it's strange and not common, is my patch works for you ?

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 24 Jan 2020, 12:31

It looks as if whoever programmed this keyboard has misunderstood the use of velocity in Note messages: A NoteOn message (status 90 in your screenshot) with a velocity of 0 (zero) is, and has always been, a NoteOff, which MidiOx (of course) shows. In other words, the minimum velocity for a NoteOn is 1. A lot of older equipment used that for NoteOffs instead of "proper" NoteOffs (status 80 in your screenshot).

Another not very normal feature seems to be that the NoteOff velocity is a duplicate of the NoteOn velocity. (I suppose you didn't release the key just as fast as you pressed it?) As far as I know, not many keyboards have an implementation of NoteOff velocity other than as a static value, and over the years not many instruments have used varying NoteOff velocities for anything at all. In fact, it has been so little in use that in the default setup off my controller it was disabled.
Bjørn S

schelsullivan
Member
Posts: 11
Contact:

Unread post by schelsullivan » 24 Jan 2020, 23:31

nay-seven wrote:
24 Jan 2020, 09:34
About sharing image use the full editor of this forum and add the picture via the attachement, then click on "inline" button to insert it.
You can also activate the trace panel/MIDI in to see what's happen directly in Usine.

About your keyboard, yes, it's strange and not common, is my patch works for you ?
It fails to sound a note received with a velocity below the value set.

Im exploring my options, return it, continue to try and fix it with software (midi ox is super powerful too), or just deal with and adjust my playing (not likely)

Thanks for helping

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 25 Jan 2020, 02:47

so, here's velocity curve/range/randomizator patch. hope it's helpful
velocurve.jpg
velocurve.jpg (9.27 KiB) Viewed 12943 times
velocity curve range.pat
(60.86 KiB) Downloaded 538 times
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests