Build the Perfect Loop in Eleven Steps
Your drummer just came up with the rhythm pattern of a lifetime, or your guitarist played a rhythm guitar hook so infectious, you think you might need to soak the studio in Clorox. And you want to use these grooves throughout a song, while cutting some great vocals on top.
There’s just something about a loop that isn’t the same as playing that part over and over again, and viceversa. Sometimes you want to maintain the human variations that occur from measure to measure in your music, but sometimes you want consistent, hypnotic repetition. When it’s the latter, here’s how to create a loop—from start to finish.
1. Choose Your Pitch If you plan to use a loop in different keys, realize that pitch transposition places more demands on a stretching algorithm than time-stretching. One solution is to record the loop in two or more keys.
Most stretch algorithms can handle three semitones up and down without sounding too unnatural. So, when I was recording loops for the AdrenaLinn Guitars loop library, I played each loop in E (to cover the range D–G) and Bb (for G#–C#).
In cases where it wasn’t possible to obtain the same chord voicing in the two keys, I used DSP-based time-stretching to create the alternate version. This feature is available in several programs, and while files processed with DSP aren’t stretchable, the sound quality is good enough that you can create a loop from the transposed version.
2. Play Against a Backing Track One of the easiest ways to create a loop involves grabbing part of a track from a multitrack recording. But when creating a loop from scratch, it’s difficult to give a good performance if you’re playing solo. Create a MIDI backing track to play against, and you’ll have a better feel.
3. Record at a Slower Tempo Stretched files sound better when sped up than when slowed down, because it’s easier to remove audio and make a loop shorter than to try to fill in the gaps caused by lengthening audio.
Fig. 1. If you make a long loop, you can always cut it into smaller pieces. In this example, using Sony Acid Pro 7, the original fourmeasure loop goes from measure 5 to measure 9. But its first two measures have been copied and pasted in measures 1 and 2, as well as measures 3 and 4.
Set the tempo for the right feel, and practice until you nail the part. But before hitting Record, slow the tempo down. (This is why I recommend a MIDI backing track— not only is it easy to change tempo, you can transpose pitch as needed, and quantize so you have a rhythmic reference.) Typically, an Acidized/Apple Loops or REX loop can stretch (if properly sliced and edited) over a range of about –15% to +60% or higher. So, a 100BPM loop will be viable from about 85BPM to over 160BPM. For really downtempo material, like some hip-hop and chill, consider cutting at 70 or 80BPM instead.
As a bonus, you may find it easier to play the part more precisely at the slower tempo; also, any timing errors will become less significant, as you speed up the loop.
4. To Swing or Not to Swing There are two opposing viewpoints about whether to incorporate swing and other “grooves” in a loop, or go for rhythmic rigidity. Some feel that if a loop wants to swing, let it. Unless it has a huge swing percentage, it will usually play okay against something recorded without swing. However, modern DAWs often let you apply swing and groove templates to audio, so there’s a trend toward recording loops to a rhythmic grid so they can be modified within the DAW for swing and other grooves.
5. How Many Measures? Although quite a few loops are one measure long, two-measure loops “breathe” better—the first measure is tension, the second is release. Four-measure loops work well for sounds that evolve over time. Eightor 16-measure loops are more like “construction kits” which you can use in their entirety, but from which you can also extract pieces.
Fig. 2. The upper waveform in Ableton Live has warp markers circled that mark the beginning of a transient, but which aren’t aligned to the beat. The lower waveform shows the results of moving the warp markers on to the beat.
It’s easy to shorten a long loop. For example, if you create a four-measure loop that builds over four measures but want to build over eight measures instead, split the loop in the middle, repeat the first two measures twice (to provide the first four measures), then play the full fourmeasure loop to complete the eight-measure figure (see Figure 1 above).
6. Cutting the Loop One of the best ways to make loops is to record for several minutes, so you have a choice of performances. Most DAWs let you create a loop bracket and slide it around to isolate particular portions of the track. You can also experiment with changing the loop length—you might find that what you thought would be a onemeasure loop works well as a two- or fourmeasure loop, which gives some subtle, internal variations.
After deciding on the optimum length, use the loop brackets to zero in on the best looping candidates. Say you’re recording rhythm guitar. Solo the track, and listen to the entire rhythm guitar part. Mark off regions (based on the number of measures you want to use) that would make the best loops.
After locating the best one, cut the beginning and end to the beat. With humanplayed loops, neither the beginning nor end will likely land exactly on the beat. Zoom in on the loop’s beginning point, and slide the track so that the loop’s beginning lands exactly at the beginning of a measure. Snap the cursor to the beginning of the measure, then do a split or cut. You’ll also need to cut at the end of a measure; if the loop extends past the measure boundary or ends before it by a little bit, turn off Snap and cut at the end of the loop. Then turn Snap back on, and use the DAW’s DSP stretching function to drag the end of the loop to the measure boundary. The steps to perform this vary depending on the program, but generally involve click-dragging the edge of the audio while holding down a modifier key, like Ctrl or Alt.
Fig. 3. The Apple Loops Utility is a free program that allows optimizing the stretching characteristics of AIFF or WAV files, as well as tagging them for database retrieval.
If you hear a click when the loop repeats because there’s a level shift between the loop start and end, add a very short (3–10ms) fade at the loop start and end points.
7. Pros and Cons of Audio Quantization Now scan the loop for note attack transients and see if they line up properly with note divisions. Small timing differences are not a problem and, if done musically (e.g., a snare on a loop’s last beat hits just a shade late), will enhance the loop. But if a note is objectionably late or early, you can use an audio quantization function (like Ableton’s Warp as shown in Figure 2 above, Sonar AudioSnap, Cubase Multitrack Quantization, and the like) to quantize the audio.
If this degrades the fidelity, another option is to isolate the section that needs to be shifted by splitting at the beginning and end, then sliding the attack into place. If this opens a problematic gap between the end of the note you moved and the beginning of the next note, try the following:
· Add a slight fade to the first note so it glides more elegantly into the gap.
· Copy a portion of the first note’s decay, and crossfade it with the note end to cover the gap.
· Use DSP stretching to extend the decay of the note you moved forward in time.
If the note was early and you shifted it later, then there will be a gap after the previous note, and the end of the note you moved might overlap the next note. If the gap is noticeable, deal with it as described above. As to the end, either:
· Shorten it so it butts up against the beginning of the next note.
· Crossfade it with the next note’s beginning if there’s no strong attack.
If you’ve edited the loop, you’ll need to make it one file again. Bounce the region containing the loop to another track, bounce into the same “clip,” or export it and bring it back into the project.
8. Consider Some Processing A “dry” loop is the most flexible—if you add reverb, then the stretching process has to deal with that. Cut a dry loop instead, and add reverb once the loop is in your DAW.
Fig. 4. The upper waveform shows an untweaked version of a difficult-to-Acidize file in Sonar X1’s Loop Construction window. The lower waveform has been optimized—the markers with the purple handles have been either moved from their original positions, or added.
If an effect such as tempo-synced delay is an integral part of the loop, embed the effect in the file for a “plug and play” loop. Otherwise, add the effect during playback.
Some people “master” their loops with compression and EQ so the loops really jump out. But when you record other tracks (vocals, piano, etc.) then master the song, if you want to squash the dynamics a bit, then the loop dynamics will be super-squashed, and if you add a bit of brightness, the loop will shatter glass.
If there are response anomalies I’ll often add a little EQ, and just enough limiting to tame any rogue peaks, but that’s it. Loops fit better in the track that way, and are more workable when it’s time to mix and master. You can always add processing more easily than you can take it away.
9. Choose Your Stretch Method The three main stretchable audio formats are Acidized WAV files, Apple Loops, and REX files. REX files are arguably the most universally recognized, with Acidized WAV files a close second. Mac programs generally recognize Apple Loops, but few Windows programs do. Several programs on both platforms recognize Acidized files.
Different formats are best for different types of audio. REX files are optimum for percussive audio, as long as prominent sounds don’t decay over other sounds (e.g., a cymbal that sustains for a measure sounding at the same time as a 16th-note hi-hat pattern). A single-note bass line or simple drum part is the ideal candidate for REXing. WAV and Apple Loops aren’t always as good for percussive sounds as REX files, but are better with everything else—particularly sustained sounds.
Your software will likely influence your choice. Apple’s Apple Loops Utility (Figure 3 above) is a free program for creating Apple Loops; you’ll need either Sony Acid or Cakewalk Sonar to Acidize WAV files. To create REX files, you’ll need Propellerhead Software’s ReCycle program.
10. Create an Acidized or Apple Loops Version Acidized and Apple Loops are structurally quite similar, and the techniques that help turn a file into a stretchable loop are similar. Basically, you need to place transient markers at the beginning of each attack transient to turn the loop into a series of slices, each of which represents a distinct “blob” of sound (e.g., kick+snare, bass note, or whatever).
The programs themselves take an educated case as to where these transients need to go, but manual optimization is almost always necessary to create a loop that stretches over the widest possible range. A non-optimized file will cause artifacts when stretched (e.g., doubled attack transients that sound like “flamming,” and/or a loss of some of the fullness from percussion). Optimization (Figure 4 above) involves several steps.
Fig. 5. Once imported into ReCycle, you add markers at transients (indicated with the inverted triangles or lock icons) to create “slices.” The marker that splits the second chord in half is there for a reason—there are two eighth-note chords played in quick succession. Even though you can’t see the transient that marks the beginning of the second chord, it still needs to be marked so that it plays back at the right time.
· Existing strong transients should all have a marker at the transient’s precise beginning. Zoom in if needed to see the transient.
· Secondary transients, such as those caused by a delay or flam, should have markers as well.
· Remove spurious markers (i.e., they don’t fall on transients), as they can degrade the sound.
· With sustained material, add a transient marker at a rhythmic interval like a quarter note or eighth note. This tells the DSP to create a crossfade to help make a more seamless transition; putting it on a beat means that other sounds will likely mask any sonic discontinuities that may result from the stretching process.
· If you hear a “fluttering” effect during sustained notes, try adding another marker in the middle of the note.
· Sometimes adding a marker at the end of a note’s decay prevents roughness toward the note’s end. · Enter the root key for pitched loops. This allows the loop to follow key changes in the host program. For percussive parts, specify no root key so that only the tempo changes.
· Transients are not always obvious. For example, a tom fill and cymbal crash might play simultaneously at the end of a drum loop, so you can’t see the individual tom transients, Listen to the part: If there’s a hit on every 16th note, then just place a marker at every 16th note. If it’s mostly 16th notes but there are some hits that extend over an 8th note, add hits for the 16th notes but omit them for the sections that are longer.
11. REX File Tips If you want to create a REX file, import the loop into ReCycle. The basic principles of good stretching are the same as for Acidized/Apple Loops files—you want to identify where transients fall—but with REX files, these are hard cuts (Figure 5 above), not just markers for the DSP to reference. Creating good REX files is an art in itself that goes beyond the scope of this article, but the tips given above regarding Acidization and Apple Loops should help considerably.
If you followed the above directions and optimized your loops, they should work with a variety of material over a wide range of tempos, while fitting perfectly into a song . . . and that’s what it’s all about.