Wednesday, October 18, 2006

Transforminating... Part 2A

Quiz Answers

So how did you do? Feeling confident? Let's have a look at the answers - score a point for each one you got:-

(2) Select all notes on MIDI channel 5-8, except C#3 in a region

Fairly straightforward, you should not have had any problems with this one.

(3) Select all program changes of less than 32, but only when they are at the start of a bar (the downbeat) in all regions in your song

The key to this one is the Subposition field - events will only be matched if their position is on the down beat on every bar. Notice that, although we've set "1 1 1 1", the Subposition value refers to one bar only, so it would match events on "1 1 1 1", "14 1 1 1", "137 1 1 1" and so on. If we'd set the *Position* to "1 1 1 1" instead of using the Subposition, it would only have matched if the position of any event was "1 1 1 1", and *not* "14 1 1 1" etc.

Note that Program Changes have no "-1-" value, and the "-2-" is the actual program change number.

(4) Select all D#4 notes that have a velocity lower than 10, between bars 32 and 48 in three regions

In this case, we want to limit our selection to a range of bars, so we use the INSIDE condition for the Position value, and set the bar range we want.

(5) Select all notes that have a length less than 20 ticks, and velocities of less than 20, that are outside the note range C1 to C6, in all regions

Again, should be fairly straightforward.

(6) Select all F#2 and G#4 notes with a velocity that doesn't equal 64

Ok, this last one was a bit of a trick question! ;)

As we've got *two* condition requirements (select F#2 notes, and select G#4 notes), you can't do it in one transform operation. So you'd need to select the F#4 notes the first time, then run it again for the G#4 notes while SHIFT-clicking on the "Select only" button to add the G#4 notes to the selection.

So the complete answer is:

Ok, I kind of lied. Actually you *can* do this in one transform selection, using our obscure method we mentioned in the previous tip. If you got this, then you get an extra 5 bonus points - well done, you clever sod, you're thinking like a true Logician! ;)

Using our "Map" selection condition, set to the range of notes between our F#2 to G#4. In the actual map, all values inside this note range are mapped to 0 (which is a note outside our range), except our F#2 and G#4 notes, which are mapped to themselves (note numbers 54 and 80 respectively). And as only these two notes are in the mapped range we specified, only those F#2 and G#4 notes will match, and all other notes won't match.

If you got them all, or slight variations that still work, well done, you're well on the way to complete transform mastery!

Come back for part 3 where we'll move on from using the Transformer to select events, to actually transforming them...

Further reading: Logic Pro 7 Reference Manual - Chapter 17, page 587.


Post a Comment

<< Home