How do I edit the Generic Controller script to add a value to incoming velocity?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi there.

My Midi controller (Alesis Q49) does not remember custom velocity amplify settings so I would like to do this in the controller script...
I would like to be able to add a value adjustable between 0-40 to each incoming note while of course leaving everything in the sequencer as is...

I have no clue about scripting so every help is really appreciated :tu:

Post

Not at my computer now, so just out of the top of my head.

Normally, MIDI input is handled by a NoteInput which passes the note message directly and unchanged to Bitwig to avoid overhead. If I remember correctly, you can provide a filter mask which prevents this direct forwarding. You then must provide a Midi event handler which gets called every time a Midi message arrives. In that handler function, you can then change the Midi message's content in any way you like and then pass the changed note event on to Bitwig yourself.

So AFAIK, what you want cannot be done with a simple edit, but would require a somewhat more involved change in the code.

But perhaps someone else knows an easier way ...

Post

I would takle this with a Midi fx at the beginning of the track. Its one click to place it if you store it as a preset…

Post Reply

Return to “Controller Scripting”