Reference Guide

509
Searching for Events
Editing MIDI Events and Continuous Controllers (CC)
4. Check the Note check box, and enter a minimum value of C4. The maximum should already be
set to C9.
5. Click OK. SONAR selects all the notes from C4 up.
6. Choose Edit > Cut to move the selected notes to the clipboard.
7. Choose Edit > Paste and paste the events to a different track.
Process > Interpolate
The Process > Interpolate command is an extremely flexible way of manipulating the data
parameters of events. It works something like the search-and-replace function in a word processor
but with scaling rather than simple replacement.
This command uses two event filters. The first event filter lets you set up your search criteria. The
second event filter is used to define the replacement value ranges. When an event satisfies the
search criteria, its parameters are scaled between the search ranges and the replacement ranges.
This permits transposition, inversion, key signature changes, and other operations to be
accomplished with this one simple command.
In the second Event Filter dialog box, the check boxes and value ranges for beats and ticks are
ignored. Only the replacement value ranges for the selected event types are used.
The Process > Interpolate command understands a wild card octave number in the second event
filter to mean, “replace the original note with a different note in the original octave.” Using octave wild
cards for both the search and replacement event filters lets you, for instance, change all E-flats to E-
naturals, preserving the octave of each note.
A few examples will illustrate some of the many uses of the Process > Interpolate command.
These examples apply to the note event type, though the command can be used on any type of
event.
Parameter Search range
Replacement
range
Effect
Pitch (key) From C2 to C4 From C4 to C6 Transposes all notes in the search range up
two octaves
Pitch From E2 to E2 From Eb2 to Eb2 Converts all Es in octave 2 to Eb in the same
octave
Pitch From E? to E? From Eb? to Eb? Converts all Es in all octaves to Eb in the
same octave
Pitch From E? to E? From E? to Eb5 Converts all Es to Eb in octave 5
Pitch From C1 to C8 From C8 to C1 Inverts all the notes in the specified range
Velocity From 0 to 127 From 80 to 127 Compresses the velocity values into a
narrower range
Table 97.