Performer Notes

Search Multiple Criteria


Technique : Digital Performer Notes
 

Search's Metric Grid Settings.

We continue to ask some Searching questions, and look at what to do when FreeMIDI is no longer enough...


Robin Bigwood

Last month, I looked at the basics of Digital Performer's Search function, so now it's time for some more sophisticated stuff.

A powerful feature is Search's ability to use multiple criteria simultaneously, and to combine them in various useful ways. You may want to search for notes below C2, for example, but find only those with on-velocities of more than 40. Clearly you need multiple Search Event Attributes for this, and to get at them you just click the Plus button in the lower right of the Event Attribute pane (see the screen below). Set the first line to 'Notes, Pitch Value, Is Less Than C2' and the second to 'Notes, On Velocity, Is greater Than 40'. You'll also need to select an option from the new pop-up menu that's appeared. For the example I'm suggesting here, all the criteria have to be considered together, so choose 'Events Must Match All Settings'. If you opted for 'Events May Match Any Settings', Search would find all notes beneath C2 and all notes with on-velocities more than 40, which is a much less exact search (but still one that you might want to perform).

Any number of Time or Event Attribute criteria can be taken on board together in a single Search, and by clicking the 'brackets' button a criteria 'group' is created. If you can't really see a reason for groups, don't worry — this is power-user stuff at its geekiest — but there are some situations where it could come in handy, so it's worth a quick explanation. The 'Events Must Match All Settings' pop-up menu determines the logic of a search, but its two options don't cover all eventualities. Imagine the following search — you want to find all the notes in a track with an on-velocity of greater than 100 and less than 30 that fall on the note D4. Enter these three criteria as normal and you have a problem. With the pop-up menu set to 'Events May Match Any Settings', you'll find all the notes with an on-velocity of greater than 100, all the notes with on-velocity of less than 30, and all the D4s in the track. Switching to 'Events Must Match All Settings' doesn't help — Search understandably can't cope with finding notes that simultaneously have an on-velocity of less than 30 and more than 100! A way round this is to first enter 'Notes, Pitch Value, Is D4' and then click the brackets button to make a group beneath this line. Here you can specify your velocities as being above 100 and below 30 and set the group's pop-up menu to 'Events May Match Any Settings'. Then set the pop-up menu at the top of the Event Attribute pane to 'Events Must Match All Settings'. Now Search only looks for notes with the pitch D4 which also have velocities greater than 100 or less than 30.

Setting multiple Search criteria.

An altogether more straightforward way to do the same thing would be to specify the on-velocities and hit Search. Then do another search, this time just for D4s, with the Action pop-up menu set to 'Select Subset Of Current Selection'. If you're doing lots of searches like this, though, it's worth getting used to the way in which extra 'lines' of criteria (or groups) are added and removed. If you click on the plus button, a line is added above it. Click on minus, and the line above is removed. If you already have 10 lines, though, you cannot remove just the second one down — you'd have to remove all the ones below it first. So it pays to be methodical when you're racking up multiple criteria.

Turning to Time criteria, one of the most useful is Metric Grid. With this you can restrict a search to single beats in the bar, or even tiny subdivisions of individual beats. You might, for example, use this to find every MIDI event in a drum track that falls on the third beat of a bar. With all of them selected, you can then nudge them forward a few ticks en masse to change the feel of the music. In this and numerous other situations, you'd save yourself a great deal of time.

Using Metric Grid is pretty self-explanatory (see screenshot, left). First, you select the resolution of your search using the Grid Spacing box, then type in the number of 'grid points' necessary to cover the longest bar in your sequence — the Total Grid Time display will confirm your settings. Now select the grid boxes that correspond to the beats or beat subdivisions that you want to find. You can click as many as you like, or tick the box marked 'Pairs Of Checked Points Form Ranges' to quickly select lots of grid boxes. 'Restart Grid At Measure Boundaries' is a good option if you've used time signature changes in your sequence — it stops the Grid getting out of sync with bars of differing lengths.

Setting Reason's Preferences to access Reason plug-ins from DP3 via OMS Emulator.

The ultimate in precision is offered by the Search Results window. This is displayed when you search with the last option in the Action pop-up menu selected, and instead of being selected, any data that's found is listed instead. The idea is that you can then examine the results and perhaps just pick out a few for editing. This could be handy if, say, you're trying to locate one really short soundbite, but you've forgotten its name — being able to look at data in a concise list makes this sort of thing much easier.

With the window open, you select found events by clicking them or dragging over them. You then have two choices. Hit the Select button and they are selected ready for editing. Hit the Go button and the relevant Graphic Editor opens as well, which is a great time-saving feature when you're trying to locate a single event in a complex sequence. The function of the Go button is duplicated by the up and down arrow buttons; you can click on these to advance to the previous or next item in the list and have it displayed in its Graphic Editor. There are also two mini-menu items of note. Refresh carries out the same Search that led to the results you're viewing, regardless of whether you've since changed the uppermost editing window in the meantime. And checking the Group option ensures that 'clusters' of data (such as might be found with the Metric Grid option) stay grouped when using the mouse or up/down arrows to make selections in the Search Results list.

OMS Emulator

Although development of Opcode's OMS has long since ceased, it's still a part of everyday life for a lot of Digital Performer users, especially those using non-MOTU MIDI interfaces. Some get on fine, but many experience system instability caused by the interaction of OMS with FreeMIDI (which is still required).

It's particularly irritating to have to introduce OMS just to make a software synth work with DP. Although most now have FreeMIDI drivers, one or two — notably Reason — still don't. And this is made no easier by OMS's inelegant implementation of inter-application MIDI.

  Ohmforce  
 

Ohmforce's Predatohm.

French plug-in developer Ohmforce have just confirmed availability of their entire range of plug-ins in MAS (MOTU Audio System) format. Ohmforce plug-ins are not for the faint-hearted, especially if you opt for 'funky' rather than 'classic' skins, but they can help you come up with really great sounds. A range is available at various different prices to suit everyone. Find out more at: www.ohmforce.com.
 
Fortunately, help is at hand, in the form of OMS Emulator, a Mac system extension by MOTU which was released a few years ago and withdrawn shortly afterwards. It was an attempt to fool OMS-only interfaces and applications into believing that OMS was present, and to make them use FreeMIDI instead. What stopped it from working was MIDI hardware — apparently most non-MOTU MIDI interfaces didn't play ball, so MOTU scrapped it in favour of FreeMIDI's present (though more convoluted) OMS Compatibility Mode. But OMS Emulator works fine with virtually all OMS-only software and it also makes it possible to use Reason's modules just like any other software synths.

To try it out, disable any OMS extensions you already have in your system folder. Then download OMS Emulator from www.unicornation.com/files/ OMS-Emulator.sit and drop it on to your System Folder before restarting the Mac. After booting up once more, you should find that all OMS applications now 'see' your FreeMIDI Setup as if it were an OMS Studio Setup, letting you make appropriate MIDI I/O configurations.

Getting an OMS-only software synth to work with DP is just a touch more complex. In the case of the excellent CellSynth (see www.cellsynth.com) for example, you need to start up DP first of all. Then boot CellSynth and select Choose MIDI Input from the MIDI menu (found in turn under the Options menu). You're presented with a list of all your FreeMIDI devices, along with an entry for Digital Performer v3.02 (or whichever version you're using). Select that, then back in DP, you'll find that CellSynth now shows up in MIDI Output pop-ups. Just select it (Channel 1 is your best bet), record-enable the track, and you can play it as you would a 'real' FreeMIDI synth. If you don't hear anything, make sure you've made appropriate settings to monitor CellSynth's Sound Manager outputs (v1.7 can also output audio to DP via Rewire).

To use Reason you need, again, to start it up after you've booted DP. As well as making Reason 'see' DP as a MIDI input source, this also configures its audio output to use Rewire. In Reason's Preferences (see left), select MIDI (or Advanced MIDI in Reason v2) and set the input for Buss A as Digital Performer. Then, in the MIDI In Device module, choose some of Reason's sound modules in the Channel pop-up menus. Back in DP, create as many Aux tracks as necessary to handle the Rewire inputs from Reason — you might need to go to Create New Bundle in the input pop-ups to find these. Finally look in DP's MIDI output pop-ups — 16 Reason channels should be available. Make your selection, record-enable the track, and away you go!

  September Rising  
  September Rising is the name of an album and collaborative project which came about after the events of September 11th last year. What makes it particularly interesting for DP users is that the whole thing was initially coordinated via the motu-mac email group at YahooGroups and that virtually everything on the album was recorded in DP. What's more, extensive use was made of file-sharing via internet FTP sites, so that some musicians contributed to tracks without ever meeting their collaborators face to face. More info from www.septemberrising.org.  

  Quick Tips  
  If you find yourself performing similar Searches again and again you can save your criteria as a Search Setting. Just choose Save Search Settings... from the Search window's mini-menu. Thereafter your Setting can be recalled by selecting it by name from the mini-menu.

Click the Search window's 'Base Settings On Current Selection' box when you want to use a selection as the basis of a Search. For example, to quickly define a pitch range, just select a highest and lowest note in your sequence, then in Search's Event Attribute pane choose 'Notes, Pitch Value, Is Within Range' and click the box. The text fields are then greyed out, since Search is now using the selected data as its criteria.

 

  Current Version  
  Digital Performer: v3.02.  

 

Home | Search | News | Current Issue | Tablet Mag | Articles | Forum | Subscribe | Shop | Readers Ads

Advertise | Information | Digital Editions | Privacy Policy | Support

DAW Tips from SOS
 

Email: Contact SOS

Telephone: +44 (0)1954 789888

Fax: +44 (0)1954 789895

Registered Office: Media House, Trafalgar Way, Bar Hill, Cambridge, CB23 8SQ, United Kingdom.

Sound On Sound Ltd is registered in England and Wales.

Company number: 3015516 VAT number: GB 638 5307 26

         

All contents copyright © SOS Publications Group and/or its licensors, 1985-2013. All rights reserved.
The contents of this article are subject to worldwide copyright protection and reproduction in whole or part, whether mechanical or electronic, is expressly forbidden without the prior written consent of the Publishers. Great care has been taken to ensure accuracy in the preparation of this article but neither Sound On Sound Limited nor the publishers can be held responsible for its contents. The views expressed are those of the contributors and not necessarily those of the publishers.

Web site designed & maintained by PB Associates | SOS | Relative Media