Control maps by potentiometer?

Hey people,

I have a question regarding maps. I like the implementation of the interpolation techniques when using maps.
Let’s assume we have a keyboard with a map:

MAP1/BYTEI 0:0 64:64 127:127

This gives us a linear velocity curve. What I now want to ask: Is it possible to convert those numbers to variables f.e. like this:

MAP1/BYTEI 0:0 AINSER:1:64 127:127

This would allow to easily adjust the velocity curve of a keybed… make it more convex or concave regarding which sound you are playing. By adding a fourth value into that line one could adjust the velocity curve even more accurate. Also something like this:

MAP1/BYTEI AINSER:1:0 AINSER:2:64 AINSER:3:127

will give you even more control. You could change the whole velocity curve with just three potentiometers very quick and easy. 

Any ideas how to do that?

Thanks,
Chris

Hi Chris

 

I doubt you can put a syntax like this in MAP definition

Not sure about but deserve a try:

You can put ^val in MAP definition IIRC

So try to define ^val with your EVENT_AINSER

 

Another possible way ? predefine few MAP for your velocity and, use a toggle button to switch between MAP ?

 

Best

Zam

 

29 minutes ago, Zam said:

Another possible way ? predefine few MAP for your velocity and, use a toggle button to switch between MAP ?

Sure… possible… but not as flexible as the other solution ;-) 

I’ll try the ^val-idea.

Thanks!

1 hour ago, Zam said:

You can put ^val in MAP definition IIRC

I tried this:

MAP1/BYTEI  0:0  ^val:1:64  127:127

without success. I also tried downslash ^val_1 and ^val1. The terminal says:

[2944380.039] [MBNG_FILE_C:7] ERROR: invalid map value ‘^val_1’ in MAP1/BYTEI, expecting 0..255 (0x00..ff)

Same with HWORD btw.

What about this ?

MAP1/BYTEI 0:0 ^val:64 127:127

 

 

 

Same:

[2945165.021] [MBNG\_FILE\_C:7] ERROR: invalid map value '^val' in MAP1/BYTEI, expecting 0..255 (0x00..ff)

 

so… my idea was not good.

no more ideas for now at my side :confused:

Best

Zam