linear to S curve control change?

2btruman

2016-07-03 00:52:57

Hi,
i would like to convert the linear control change messages to logarithmic S Curve.
Any idea if this is possible?
Thanks

florian

2016-07-22 00:05:50

Hi 2btruman,
while this is possible with MT Pro, it is currently somewhat inconvenient: there is no "s-curve" function, and there is no function to draw the mapping curve.

Currently, there are 2 main options: 1) use math and find a formula to describe the curve, or 2) do a cumbersome series of "if incoming_value==X then outgoing_value=Y" statements for every incoming value.
  1. Using math is somewhat difficult, because there are no logarithmic commands in MT's Rules, and no decimals (aka floating point). It's relatively easy to approximate an s-curve using 3 straight lines, but probably that's not what you want.
  2. Using a spreadsheet and a text editor with macros, I was able to quickly create an S-curve and create the corresponding series of 128 IF statements for the Rules section.
    Click here for the Google Spreadsheet
    Attached is the project file.
Florian
Attachments
S-Curve.bmtp
(3.07 KiB) Downloaded 110 times

2btruman

2016-07-22 09:33:00

Wow thank you i will use your spreadsheet and the IF commands!
Thanks
Cheers

florian

2016-07-22 10:47:04

it's a planned feature for 2.0 to be able to define such curves with a matter of a click.