]> Shamusworld >> Repos - ardour-manual/blobdiff - _manual/15_editing-and-arranging/12_edit-midi/15_transformation-midi.html
tweak control playback text
[ardour-manual] / _manual / 15_editing-and-arranging / 12_edit-midi / 15_transformation-midi.html
index a78d2b6c10f7973b39a06386f8e34b0d08881e22..bbc9af7c4fe762ec02b954d9e91115600c20b92d 100644 (file)
@@ -6,21 +6,24 @@ menu_title: Transforming MIDI
 
 <p>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.</p>
   
-<p><img src="/source/images/MIDI_transform.png" alt="MIDI transformation" /></p>
+<img src="/images/MIDI_transform.png" alt="MIDI transformation" />
 
 <p>To access the Transform tool, right click the MIDI region &gt; <em>name_of_the_region</em> &gt; MIDI &gt; Transform...</p>
 
 <p>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.</p>
 
-<p>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 :
+<p>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 :</p>
+
 <ul>
        <li>Set velocity to this note's velocity</li>
        <li>+ a random number from 1 to 20</li>
        <li>- a random number from 1 to 20</li>
 </ul>
-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.</p>
 
-<p>The properties that can be computed are :
+<p>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.</p>
+
+<p>The properties that can be computed are :</p>
+
 <ul>
        <li>note number (eg C2 is note number 24, C#2 is 25 and so on)</li>
        <li>velocity (the global intensity of the note, between 0 and 127)</li>
@@ -28,7 +31,9 @@ Each note will trigger a calculation of its own, so its velocity will be increas
        <li>length (in beats)</li>
        <li>channel</li>
 </ul>
-and the calculation may be based on the following properties :
+
+<p>and the calculation may be based on the following properties :</p>
+
 <ul>
        <li>this note's</li>
        <li>the previous note's</li>
@@ -37,7 +42,9 @@ and the calculation may be based on the following properties :
        <li>a random number from <em>lower</em> to <em>higher</em> (<em>lower</em> and <em>higher</em> beeing constant values between 1 and 127)</li>
        <li>equal steps from <em>lower</em> to <em>higher</em> (<em>lower</em> and <em>higher</em> beeing constant values between 1 and 127)</li>
 </ul>
-The mathematical operators can be :
+
+<p>The mathematical operators can be :</p>
+
 <ul>
        <li>+ (addition)</li>
        <li>- (substration)</li>
@@ -45,7 +52,6 @@ The mathematical operators can be :
        <li>/ (euclidian division)</li>
        <li>mod (rest of the euclidian division)</li>
 </ul>
-</p>
 
 <p>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.<p>