Long EQ Blend
A transition in the style of a three-band EQ mix: deck B enters at full fader level but with all three EQ bands cut, and the bands change hands one after the other. The two tracks never play the same band at full level together, which keeps a long blend clean. It also shows a guard at the top, a procedure with deck parameters, and controls being restored at the end.
The script
fn swapBand(from: deck, to: deck, length: duration) {
// The highs change hands over the given length.
over length {
from.eq.high -> -26dB
to.eq.high -> 0dB
}
}
automation "Long EQ Blend" quantize bar {
if not deck.B.loaded or deck.B.playing {
print("Deck B must be loaded and paused.")
stop
}
// Deck B enters with its three bands cut, fader fully up.
deck.B.sync(true)
deck.B.eq.low = -26dB
deck.B.eq.mid = -26dB
deck.B.eq.high = -26dB
deck.B.volume = 0dB
deck.B.play()
// Bars 1-4: highs change hands.
swapBand(deck.A, deck.B, 4 bars)
// Bars 5-8: mids change hands.
over 4 bars {
deck.A.eq.mid -> -26dB
deck.B.eq.mid -> 0dB
}
// Bar 9: bass swap on the one, then four bars for the rest of deck A to leave.
deck.A.eq.low = -26dB
deck.B.eq.low = 0dB
over 4 bars { deck.A.volume -> -60dB }
// Bar 13: deck A out, controls restored.
deck.A.pause()
deck.A.eq.low = 0dB
deck.A.eq.mid = 0dB
deck.A.eq.high = 0dB
deck.A.volume = 0dB
}What happens, bar by bar
| Position | What happens |
|---|---|
| Before bar 1 | The automation waits for the next bar line. If deck B is empty or already playing, it prints a message and stops without touching anything. |
| Bar 1, beat 1 | Deck B is synced, its three EQ bands are killed, its fader is opened and it starts. Nothing of deck B is audible yet. |
| Bars 1 to 4 | swapBand runs: the highs of deck A fall to a full cut while the highs of deck B rise to 0 dB. |
| Bars 5 to 8 | The mids change hands in the same way. |
| Bar 9, beat 1 | Bass swap on the one: deck A low killed, deck B low restored. |
| Bars 9 to 12 | Deck A, now without any band, fades out on its fader. |
| Bar 13, beat 1 | Deck A is paused; its three bands and its fader are restored. The automation finishes. |
When to use it
For long, smooth blends between two tracks of similar energy, typically house and techno, where both tracks can play together for a while. Start it so that bar 9, the bass swap, falls on the first bar of a phrase in both tracks: that is, eight bars before the phrase change.
Check before running it live
- Deck A is playing and is the master deck; deck B is loaded, paused and cued on a phrase start.
- Both tracks have an analysed tempo, otherwise
synccannot match them. - The EQ of deck A is flat (0 dB). The ramps start from wherever the bands are.
- The channel filters of both decks are off.
- The fader of deck B will be set to 0 dB: make sure the crossfader or the cue routing does not make that a problem.
Notes and variations
The procedure swapBand is called directly, so it takes its four bars in the main sequence. The mids are written inline to show both styles; you could write a second procedure, or give swapBand the band as separate statements.
To make the blend 24 bars long, change the three 4 bars to 8 bars. To go from B to A, exchange the deck letters, including in the guard.
If you stop the automation in the middle, the EQ bands stay where they were at that moment. A small reset automation, as shown in Automation Scheduling, puts a channel back.