Velocity multiply

Hi.
how can i Rule this:
pp=qq*1.4

?

I need to multiply velocity for Roland TD-1 drum module. The pedal on CC#4 works from 0 to 90… but i need it to work as 0 to 126…

and idea?

Hi,
Thanks for your question!

What you are doing is called “scaling” and is described in this tutorial.

I have attached an example project file. The rules are shown here:

// Restrict input range
if qq>90 then qq=90

// output 0-127(range 127)
qq=qq*127
// input 0-90 (range 91)
qq=qq/90

On the project file for testing, I set up the aliases as follows since I don’t have your devices:

image

You can get to this screen in the MIDI->Edit Project Port Aliases menu.
image

Scale-CC4-Example-2022-10-21.bmtp (1.2 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz
1 Like

You may need to change input range from 90 to 91 and output range from 127 to 128. My mistake.

Steve