Working with music in the digital domain lends itself well to collage, the combining of material from multiple sources into a cohesive whole. Modern music productions increasingly incorporate audio material from disparate sources, whether it is material from sample libraries or excerpts from existing recordings. The major production stumbling block has been matching the tempos and keys of the sound sources.
When a tape is slowed down or a digital audio file’s sample rate is increased, the pitch is altered as well. Not too long ago, you couldn’t alter the timing and pitch of a recording independently. Recent trends in audio production technology have attempted to address this, incorporating features that specifically deal with matching the tempo and pitch of audio material.
Modern techniques use algorithms that transpose, extend, or compress audio material, giving you the ability to alter pitch or time (or both) without changing the character of the original file. These operations are quite complex, requiring an analysis of the audio data to determine what to leave or cut out, and where to insert material.
These decisions aren’t always suitable for a specific piece of material, however, and unexpected results (desirable or not) can occur. To achieve a better outcome, you need to manipulate the available parameters and help the computer make more appropriate choices.
In this lesson, you will use Logic Pro’s time-stretching and pitch-transposition features to match disparate elements within a project.
Apple Loops are essentially audio files with additional information written to the file’s header. In software such as Logic and GarageBand, the information enables the time stretching and pitch shifting of the audio data to be done independently of each other in real time.
This file format is a boon for arranging, as Apple Loops have the distinct advantage of automatically conforming to Logic’s time grid, and they provide a great deal of flexibility. Libraries of Apple Loops can be freely imported into any project file; and, in addition, all audio recorded, bounced within, and exported from Logic Pro will have the ability to follow the project’s tempo. Standard audio files (such as .aif, .wav, and .sd2 files not formatted as Apple Loops) have time and pitch attributes that are not conformed when the files are imported. Even so, those formats are easily converted with specific tools to create Apple Loops that will seamlessly conform to a project’s tempo and key.
In the upcoming exercises, you will use a project file containing basic elements from previous exercises (similar to the project file you created in Lesson 2), including audio files in the Apple Loops format.
Look at the first five tracks containing audio regions. Note that each region has a small symbol (similar to a loop-the-loop) following its name. This symbol indicates that the audio file is an Apple Loops file.
Examine the Region Parameter box on the far left. Note that Follow Tempo is selected for all Apple Loops regions. This parameter ensures that the Apple Loops will conform to any tempo change.
The Follow Tempo parameter is deselected by default for audio that is recorded into Logic. If you want the audio regions to conform to the project’s tempo, this parameter needs to be selected.
In addition to the Apple Loops tracks, track 6 contains a guitar part, Chimey Guitar, that was imported into the project. Note that this region does not have Follow Tempo parameter within the Region Parameter box, nor does it have an Apple Loops symbol because it is a standard mono audio file.
The project moves along at a pretty fast clip and feels a little rushed. Let’s slow the tempo to achieve a better feel for the groove.
The groove feels significantly better at this slower tempo, but a major problem has occurred. The Chimey Guitar track, which matched the original tempo of 120 bpm (beats per minute), is now out of tempo.
One of the easiest ways to make the Chimey Guitar region’s tempo match the other tracks is to convert it into an Apple Loops file. That way you can make tempo adjustments in the arrangement and have all audio regions follow along. Logic Pro ships with an application, the Apple Loops Utility, that enables you to create Apple Loops from any standard audio file.
A dialog appears asking you to identify the length of the audio file.
For the Apple Loops Utility to analyze the data, it must discern how the file length relates to music beats and bars. The Apple Loops Utility makes an educated guess based on the region length compared to Logic’s own bar/beat ruler. This region originally lasted four bars (at 120 bpm), so the program “guessed” correctly in this case.
The Apple Loops Utility opens, displaying the filename in the Assets drawer (at the far right), with the Tags tab open.
Tags are pieces of information used by many applications, including those that support the Apple Loops file format. Adding tags will not directly affect the tempo or pitch properties of a file, but tags are essential if you plan on adding a file to the Apple Loops library (accessed by Logic’s Loop Browser). These bits of information constitute a database, enabling you to search for material based on specific criteria. Let’s look at these properties by creating tags for the Chimey Guitar file that you imported.
The upper-left portion of the Tags tab contains property tags related to the file’s musical content.
The Apple Loops Utility supplies default values for the time signature, number of beats, key, and tonality. The Chimey Guitar region you are working with will be looped within the arrangement, so it is necessary to indicate this within the property tags.
Move down to the Search Tags pane, where you can define the music genre and instrument type for the file.
Now that you’ve defined the search tags of the audio file, it is time to work with properties that directly relate to time stretching and pitch transposition.
The Transients tab opens, displaying the audio file waveform.
You may need to enlarge the window and zoom in to better view the information within this window.
Transients are good indicators of where beats occur in an audio file, and they typically show up as sharp attacks with the highest amplitude (widest areas of a waveform). The Apple Loops Utility automatically detects transients and applies markers based on their characteristics in conjunction with the bar and beat information that you supplied when opening the utility. These transient markers are used as a map, enabling Logic to make decisions about where best to apply time stretching and pitch transposition.
By default, the Apple Loops Utility uses sixteenth-note divisions, but this might not always be appropriate for the given material. It is best to check results by listening to the file played from within the utility, which will immediately apply time stretching and pitch transposition based on the settings.
The file plays, looping over and over. Depending on the settings that were in use the last time the Apple Loops Utility was opened, the file could play back in the wrong key.
The loop transposes up smoothly via semitones and sounds as expected until it reaches the F/G setting (the augmented fourth/diminished fifth from C). The pitch immediately drops down 11 semitones (an octave below what is expected). This still reflects the key accurately but achieves better-sounding results.
The loop plays at a slower tempo.
Listen to the sound that is produced when you adjust the tempo to your target (110 bpm). The sound has a slight tremor that falls at the sixteenth-note divisions. This was not present in the original file, so you should use the Transient Division menu to home in on a more acceptable sound.
Look at the numbers displayed above the waveform (1.1, 1.3, 2.1, 2.3, and so on). These correspond to bars and beats, separated by a period. Thus, 1.1 represents the first bar, first beat; 1.3 represents the first bar, third beat. You can use this reference to compare the transients of the audio file with the bar/beat ruler.
The Transient Division setting should reflect the smallest significant note division for the loop. In this exercise, you can look at the waveform and discern that the notes aren’t struck any faster than at half-note intervals (2.3 to 3.1), so setting the Transient Division to match is a good place to start.
This sounds significantly better, and considerably less jittery.
As you do this, notice that more transients are detected, matching up to smaller peaks in the audio waveform and occurring at closer intervals than the half-note value you defined in the Transient Division menu.
Increasing the sensitivity achieves a better result for the glissando between 2.3 and 3.1, but it also brings back the jittery sound, especially for the sustained vibrato between 1.1 and 2.3. Instead of using these results, you can drag the Sensitivity slider back to the middle and add only the transient markers that you need.
A transient marker is created at approximately bar 2, beat 4.
A transient marker is created at approximately the upbeat of bar 2, beat 4.
The playback is pretty smooth now, with acceptable results.
To take advantage of the adjustments and the information that you defined, you have to save the file. When you save the file, the new data is added to the file and made accessible to any application that reads Apple Loops.
The information you provided, both tags and transients, is saved to the file.
Look at the Chimey Guitar audio region in the Arrange area. The Apple Loops symbol is now next to the filename and the region has a length of exactly four measures.
The Chimey Guitar region now plays in time.
Before Apple Loops were integrated within Logic, all tempo and pitch adjustments to audio files were done with the Time and Pitch Machine, which functions differently from Apple Loops. The most obvious difference is that Apple Loops work in real time, dynamically changing pitch and tempo in relation to the project, while using the Time and Pitch Machine is an offline, file-based process that permanently alters a file’s pitch and tempo.
Even so, the Time and Pitch Machine has its advantages, especially with regard to control. Apple Loops offer automatic adaptability, but they are locked to a given project’s tempo or key and are not very useful when you want to shift audio material independently of a project’s tempo or make pitch adjustments of less than a semitone.
Let’s open another piece of material and use the Time and Pitch Machine to conform it to the arrangement.
The nine-bar Synth Layer region is imported to measure 2.
The audio file consists of a synth pad that slowly grows to a climax, then tapers off.
For this exercise, you will shorten the long synth pad to work better in the project. In this instance, the Apple Loops Utility is not suitable for a variety of reasons. The swelling sound of the synth pad has no beat-related transients on which to base the pitch and time shifting.
In addition, Apple Loops are geared toward repeated, rhythmically based material that always relates to the project’s tempo. For this exercise, you only need to shorten the file’s length, without accounting for tempo. Creating an Apple Loops file from the selection would have no effect unless you later changed the project’s master tempo.
The Time and Pitch Machine window opens.
After you enter the value, note that the information displayed in the Destination column now reflects this change.
The Time and Pitch Machine offers nine algorithms designed to work with different types of audio material, prioritizing certain musical aspects to better make decisions that affect the time and pitch shifting.
By choosing the Pads setting, you are indicating that the material has a minimum of transients and that it is a sustained sound.
Although operations in the Sample Editor are usually destructive (and thus permanently change the file), algorithms can be tried on material without destructive results. Logic Pro will cache changes to disk depending on the number of undo steps set within the Sample Editor preferences (Preferences > Audio > Sample Editor). After an operation is completed, you can always undo by choosing Edit > Undo in the Sample Editor or by pressing Command-Z.
An alert dialog appears asking if you are sure you want to go ahead with the operation.
The operation is performed while Logic Pro displays the progress. This may take a few moments, depending on the speed of your computer.
The file plays true to its original sound quality, but with a shorter length.
This fits much better with the arrangement, building up until the drums and bass enter, then tapering off.
Better results are usually achieved in contracting audio files than in expanding them. When the operation increases the speed of the audio, the computer must cut out material deemed nonessential, potentially removing important elements such as transients. But things get considerably trickier when you need to decrease the speed, because the computer must invent entirely new material based on the existing waveform and insert it at appropriate places to fill the desired length.
Pitch transposition usually involves shifting the complete frequency spectrum up or down by a constant value. In effect, everything within the sound source is shifted, including natural resonances (called formants). This works well for some material, but it can create unnatural results in material (such as instruments or voices) containing a harmonic structure that is integral to the sound.
A good example is the pitch shifting of a cello note. When all the material is shifted upward (including formants), the pitch changes, and the “body,” or timbre, of the instrument changes as well. What results is a higher pitch that sounds as if it were emanating from a smaller instrument (a viola or violin in this case), rather than the original instrument.
If your aim is to change the pitch of a given file while maintaining its resonances, then the formants must be left unaltered. The Time and Pitch Machine can be set to use such a process, called Harmonic Correction, to achieve natural results when pitch shifting.
Try this out by changing the pitch of the Synth Layer region using Harmonic Correction.
The region is copied to the new location.
Since you will be transposing this copy of the region, it must be saved as a unique audio file rather than another reference of the original. This will allow you to make changes to the copied file without altering the regions you worked with previously.
A dialog appears, prompting for a location to which to save the converted file.
The region is saved as an independent audio file.
The Time and Pitch Machine window opens.
The goal is to transpose the pitch of the file up a fifth from C to G while retaining the inherent resonances of the sound.
This will transpose the sound up 700 cents, or seven semitones (there are 100 cents in a semitone). Note that the Harmonic parameter value also changes to 700. With Harmonic Correction deselected, Logic will adjust the pitch and the formants together.
This tells the Time and Pitch Machine that you wish to retain the original formants of the file, altering the pitch independently.
An alert dialog appears asking if you are sure you want to go ahead with the operation.
The operation is performed while Logic Pro displays the progress. This process takes a bit longer than the tempo shifting that you performed earlier, because the computations for Harmonic Correction are more extensive.
The synth pad retains all of its original character but sounds a fifth higher.
You can also time stretch and compress audio regions directly within the Arrange area. This can be an extremely convenient way to make adjustments to audio regions while visually referencing the project’s tempo grid.
Sometimes a small adjustment is needed to conform slightly slower or faster regions to the project’s tempo. Fortunately, you can simply stretch the region to the next bar using the power of the Time and Pitch Machine, entirely within the Arrange area.
The Bells region is imported to measure 7.
Notice that the Bells region sounds out of sync and doesn’t quite reach all the way to the next bar.
As you probably noticed, the available choices reflect the algorithms presented within the Time and Pitch Machine when accessed in the Sample Editor.
An alert dialog appears asking if you are sure you want to go ahead with the operation.
The region conforms to exactly one bar. You can now loop the region and have it play back in perfect time with the other material.
The time of an audio region can also be manipulated by graphically dragging out its border to line up with a given bar or beat. This can be especially handy for creating a half-time or double-time feel for a given region.
The Tambourine region is imported to measure 7.
The Tambourine part sounds a little jerky and would sound considerably better at double the speed.
If Cancel is clicked, only the audio region’s borders will be adjusted, without affecting the audio file.
Another dialog appears, asking if you want to proceed and indicating the number of undo steps remaining.
The region is time compressed to half its previous value.
You can now loop the region and have it play back in perfect time with the other material.
In Logic, you will generally be working with music based on a constant tempo or recorded to a metronome click. In this common situation, Logic’s tempo and time-signature settings create a time grid in which you plot events. This enables data to be displayed musically, in relation to bars and beats.
However, sometimes you will want to record without a click, gaining the freedom to vary the tempo and play with rhythmic flexibility (to play with rubato, in music parlance). In this situation, the trick is not only to maintain a performer’s interpretation, with its deviations in tempo, but also to display the musical data in correct time (bars and beats). You can use beat mapping to align Logic’s time grid with these tempo variations.
Once the time grid matches the performance, you can use Logic’s compositional and arranging features (quantization, time-based effects, notation, Apple Loops, and so on) to work with data as if it had been recorded to a metronome click.
For this exercise, you will use Logic’s Beat Mapping track to create tempo changes for each event that deviates from a constant tempo.
The Beat Mapping track, one of Logic’s global tracks, works hand in hand with related tracks such as the Signature and Tempo tracks. Think of it as working like an adaptive ruler, letting you graphically tie events to particular bars and beats (all derived from the Signature track). When events are defined according to their bar positions in the Beat Mapping track, tempo changes are created in the Tempo track to align the grid.
Both MIDI and audio tracks can form a basis on which to generate a beat map. Let’s start by opening the project file used in this exercise, which contains both MIDI and audio versions of a rubato piano piece.
The project contains a single MIDI track being output through the EXS24 mkII instrument (a piano sample), along with a muted audio track of the same material.
Things start off without too much deviation, but the click is really out of sync by measure 4.
The global tracks appear, displaying only the tracks used for this exercise: Signature, Tempo, and Beat Mapping.
You can display any or all of the global tracks by choosing View > Configure Global Tracks and choosing whatever you wish to view. This setting will be saved with the screenset and can be hidden or exposed at any time using a key command or menu selection.
As you can see in the Signature track, the piece starts in 3/4 but also contains bars of 5/4 and 4/4. The time signatures are reflected in the Beat Mapping track, with bars and beats displayed graphically by lines representing the time grid (not unlike the Bar ruler).
If this grid is to be used as a reference, Logic’s division value (a freely definable part of a beat) must reflect the smallest rhythmic value within the piece of music. The music you are using is based on a triplet feel, so it is necessary to select a division of 12 instead of 16 (the default).
The ruler and grid now display triplet divisions instead of sixteenth notes.
To start aligning the grid to the music, you need to select the material you want to work with.
Colored lines appear in the Beat Mapping track, indicating each MIDI event (with velocities) in the selected region. You will use both these lines and the bar/beat lines above, “tying” them together to realign the grid.
This enables you to see greater detail when working in the Beat Mapping track.
The line turns yellow as you are connecting it and a help tag (Set Beat To) displays the event’s position before alignment.
When you release the mouse button, the points are aligned, and a new tempo event is created (61.0169) in the Tempo track.
Another tempo event is created in the Tempo track (63.7053).
Another tempo event is created in the Tempo track (57.5868).
For every note event connected, a new tempo is indicated, creating an accurate depiction of the region’s timing. Therefore, the more events that are beat mapped, the closer Logic’s time grid will conform to the music.
For the rest of this exercise, you will finish beat mapping the entire piano part, creating an accurate time map of the piece.
For comparison, a beat-mapped Tempo track has been created for you as a reference. You can access this in the Tempo Alternative menu in the Tempo track.
The Tempo track now displays the premade tempo events created from beat mapping.
You can check how well you performed beat mapping by viewing the events graphically within the Piano Roll Editor. Here you can clearly see the individual events lined up on the time grid and compare the results achieved with beat mapping to the original, non-beat-mapped track.
You can see major discrepancies between the beat-mapped (1 and 2) and non-beat-mapped (5) versions, especially from measure 4 onward.
Using an audio region as the source for beat mapping involves a technique similar to using a MIDI region. Instead of using MIDI note events, however, the Beat Mapping track uses audio transients for alignment points. To do this, Logic needs to analyze the source to detect the transients (somewhat like the Apple Loops Utility).
Let’s mute the MIDI track and unmute the audio track before we start working with the audio track version.
The EXS24 mkII piano track is muted.
All beat events are erased, allowing you to continue with a fresh slate.
The audio waveform is displayed in the Beat Mapping track.
A progress bar appears for the transient-detection process. After the analysis of the selected audio is performed, the detected transients are displayed in the Beat Mapping track as vertical white lines.
Take a close look at the results displayed in the Beat Mapping track. Most of the softer notes were not detected as transients. Fortunately, the detection sensitivity can be adjusted to pick up these softer transients.
New transients are detected, providing a better picture of the relevant timing events in the audio file.
It is advisable to start with a lower Sensitivity setting and switch to a higher setting only if important rhythmic events are not detected.
Now that you have timing events in the Beat Mapping track, you are ready to begin the process of aligning the time grid.
1. True or false: The timing, pitch, and formants of an audio file can be manipulated independently of the others.
2. Which important aspect of an audio file determines how the Apple Loops Utility manipulates timing?
3. Which two attributes of a Logic project determine how Apple Loops are conformed?
4. Which Logic feature is used to exercise detailed control over an audio file’s timing and pitch, irrespective of the project’s tempo and key?
5. Which feature of the Time and Pitch Machine lets you adjust the natural resonances (formants) of a given sound?
6. Which global track lets you graphically align Logic’s time grid to a rubato part?
7. True or false: Both audio and MIDI regions can be beat mapped.
8. Which menu allows you to toggle between multiple tempo “maps”?
Answers
1. True. The timing, pitch, and formants of an audio file can be changed independently or in combination.
2. Transients. They must be defined accurately through automatic and manual means to achieve the best results when creating Apple Loops.
3. The project’s key and tempo determine how Apple Loops are conformed.
4. The Time and Pitch Machine provides detailed control and functions independent of the project’s tempo or key.
5. Harmonic Correction is used during pitch shifting to preserve the natural resonances of a given sound.
6. The Beat Mapping track allows the accurate rescaling of the time grid to a rubato part.
7. True. Both audio and MIDI regions can be used as the basis for beat mapping.
8. The Tempo Alternatives menu enables you to toggle among multiple tempo tracks per project.
18.225.57.126