X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Ftransforming-midi---mathematical-operations.html;h=c030577291deb8b0ff8eaeb2f4912da77de9dfd3;hb=1bc084d882bf5792634c5fd08c35eff78de26b02;hp=22ea3c485868b57d35e365b5471c8d0bbcb6966f;hpb=7a4c28bd8605e90876ebee619de364ab7001e405;p=ardour-manual diff --git a/include/transforming-midi---mathematical-operations.html b/include/transforming-midi---mathematical-operations.html index 22ea3c4..c030577 100644 --- a/include/transforming-midi---mathematical-operations.html +++ b/include/transforming-midi---mathematical-operations.html @@ -1,13 +1,25 @@ -

Considering the numerical nature of MIDI events, it can be tempting to apply mathematical transformations to our MIDI regions by using mathematical operations. Ardour makes it very easy and powerfull with the Transform tool.

+

+ Considering the numerical nature of MIDI events, it can be tempting to apply + mathematical transformations to our MIDI regions by using mathematical + operations. Ardour makes it very easy and powerful with the Transform tool. +

-MIDI transformation +
+ MIDI transformation +
MIDI transformation
+

To access the Transform tool, right click the MIDI region > name_of_the_region > MIDI > Transform…

First, select the property you want to modify in the 'Set' field, then change the target value using the 2 following fields. If you want to add more operands, click the "+" sign to create new lines. You can remove a superfluous line using the "-" sign on the right of the newly created line.

-

In the picture above, we've used the Transform tool to add a bit of humanisation, by slightly changing the velocity of each note of the region, by a random number between -19 and +19 from it's original velocity. So we've used 3 operations:

+

+ In the picture above, the Transform tool has been used to add a bit of + humanisation, by slightly changing the velocity of each note of the region, by + a random number between -19 and +19 from its original velocity. So + three operations are applied: +

-

Each note will trigger a calculation of its own, so its velocity will be increased by a random number between 1 and 20, then decreased by a random number between 1 and 20.

+

+ Each note will trigger a calculation of its own, so its velocity will be + increased by a random number between 1 and 20, then decreased by a random + number between 1 and 20. +

-

The properties that can be computed are:

+

+ The properties that can be computed are: +

-

and the calculation may be based on the following properties:

+

+ and the calculation may be based on the following properties: +

-

The mathematical operators can be:

+

+ The mathematical operators can be: +

-

All this operations can be very handy, as long as you find a mathematical way to achieve your goal. Beware though of odd "border cases": division by zero (which does nothing), using the note's index and forgetting it starts at 0 and not 1, etc.

- -

You can nevertheless create very interesting results, like humanizing (randomizing the velocity, start time and duration of all the notes), creating arpeggios, automating tedious tasks, transposing, etc.

- +

+ All these operations can be very handy, as long as there is a mathematical way + to achieve the targeted goal. Beware though of odd "border cases": division by + zero (which does nothing), using the note's index and forgetting it starts at + 0 and not 1, etc. +

+ +

+ Very interesting results can nevertheless be created, like humanizing + (randomizing the velocity, start time and duration of all the notes), creating + arpeggios, automating tedious tasks, transposing, etc. +