FantomXR Posted January 23, 2017 Report Share Posted January 23, 2017 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 Quote Link to comment Share on other sites More sharing options...
Zam Posted January 23, 2017 Report Share Posted January 23, 2017 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 Quote Link to comment Share on other sites More sharing options...
FantomXR Posted January 23, 2017 Author Report Share Posted January 23, 2017 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! Quote Link to comment Share on other sites More sharing options...
FantomXR Posted January 23, 2017 Author Report Share Posted January 23, 2017 (edited) 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. Edited January 23, 2017 by FantomXR Quote Link to comment Share on other sites More sharing options...
Zam Posted January 23, 2017 Report Share Posted January 23, 2017 What about this ? MAP1/BYTEI 0:0 ^val:64 127:127 Quote Link to comment Share on other sites More sharing options...
FantomXR Posted January 23, 2017 Author Report Share Posted January 23, 2017 Same: [2945165.021] [MBNG_FILE_C:7] ERROR: invalid map value '^val' in MAP1/BYTEI, expecting 0..255 (0x00..ff) Quote Link to comment Share on other sites More sharing options...
Zam Posted January 23, 2017 Report Share Posted January 23, 2017 so... my idea was not good. no more ideas for now at my side :/ Best Zam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.