Reference Guide

737
Searching for events
Editing MIDI events and continuous controllers (CC)
To select events using the Event Filter
1. First, select an initial set of tracks, clips, or events.
2. Choose Edit > Select > By Filter to display the Event Filter dialog box.
3. Set up the event filter to find the events you want.
4. Click OK.
SONAR searches the currently selected events and weeds out those that do not meet the
requirements of the event filter.
Example: splitting left-hand and right-hand parts
Suppose you recorded a keyboard riff on Track 1 but want to split the left and right hands apart into
separate tracks so you can edit them separately. Suppose that all the right-hand notes are above
C4. Here’s how to proceed:
1. Select all of Track 1 by clicking on the track number in the Track view.
2. Choose Edit > Select > By Filter to display the Event Filter dialog box.
3. Click the None button to clear the dialog box.
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 > Find/Change
The Process > Find/Change 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 > Find/Change 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 > Find/Change command.
These examples apply to the note event type, though the command can be used on any type of
event.