Pitch Shifting: The H949, and “de-glitching”

In 1977, Eventide released the H949 Harmonizer:

The H949 built upon the harmonizing features of the H910, and added more memory (for longer delays), randomized delay, reversed delays, flanging, and a micropitch mode for small pitch shift intervals. However, from a DSP developer’s perspective, the most interesting feature was a new circuit board, the LU618 or “ALG-3” board, that was an option for earlier H949s and was added as a standard mode to later units.

A somewhat technical review of the situation:

  • In the H910 and H949 pitch shift modes, information is being read into delay memory, and being read out at faster or slower rates, to change the pitch of the signal. Reading out of a delay line at a different rate than the data is written will quickly create a situation where the delay line runs out of samples to read.
  • In a modern delay line based around a circular buffer, if the read tap is moving through the buffer at a different rate than the write pointer, it will soon run into the write pointer, either by catching up to it or by being overtaken by it. Resetting the read tap to a different point avoids the issue of running out of memory or running into the write pointer, but this causes an audible popping sound as the read tap jumps instantaneously to some random point in the delay.
  • Pitch shifters deal with this artifact by fading the value of the read tap down to zero before making this jump, and then fading the volume back up again after the jump. In a 2-tap pitch shifter like the H910 and H949, the volume change can be viewed as a crossfade between the 2 read taps. This is directly analogous to what happens in the rotary head tape pitch shifters, as a given read head rotates away from the tape.
  • However, this crossfading is not without its problems. If the crossfading happens over too long of a time, the result is a metallic coloration of the sound, as the 2 read taps have a constant relative distance from each other that results in comb filtering. Having the crossfading take place over a shorter interval helps to reduce the comb filtering, but results in an audible “glitch,” as the phase differences between the 2 read taps causes cancellations in the frequency response that is heard as a volume drop during the crossfading period. This can be heard as a “stuttering” artifact in the pitch shifted sound.

The LU618 / ALG-3 board on the H949 works on eliminating this “glitch” artifact through a clever trick called autocorrelation. As described in an Eventide patent by Anthony Agnello, the ALG-3 board looks at the 2 delayed signals, and compares them to see where they share the most similarities – not just zero crossings, but true phase similarities. The H949 then calculates a delay offset, such that the new segment that is to be faded in is in phase alignment (or as close to phase alignment as possible) with the segment that is being faded out during the crossfade time. If the ALG-3 has calculated the delay offset correctly, the 2 segments that are being crossfaded between will be almost identical, which will result in the least cancellations in the frequency and amplitude response. Voila, glitch-free pitch shifting!

If only it were so easy. The H949 “de-glitcher,” and the de-glitching mode used in most time-domain pitch shifters that followed the H949, work well with signals that are as close to periodic as possible – i.e. a single monophonic musical line. Periodic signals have a high degree of autocorrelation, so the de-glitching hardware can usually find excellent splicing points. Voice can be de-glitched fairly, as can a monophonic guitar line. Once polyphonic signals (i.e. chords) enter the picture, it becomes harder and harder to find similar points to splice together. Noisy signals, like drums, will have almost no similar splice points (i.e. a very low autocorrelation value). In such a case, the de-glitcher will find the most similar points to splice together, but there is no guarantee that they will be in any way similar, so the result is more likely to have amplitude glitches.

Next week, we will discuss the various pitch shifting schemes and how they relate to the generation of the Eno/Lanois “shimmer” sound.

Comments (5)

  • David Teren

    Sean,

    Thanks for your efforts on these.
    I now understand better why the Eventides can’t cope with polyphonic material.

    David

    Reply
    • The latest Eventides are supposed to sound fantastic, but I don’t know how they handle polyphonic stuff. I haven’t heard any “glitchless” time domain pitch shifters that really work well on full polyphonic material. My Lexicon LXP-15 handles clean guitar chords pretty well, though. Lexicon has a pretty extensive legacy in “de-glitched” pitch shifting as well, which made it into their lower end units over time. Nowadays, I think that frequency domain methods are the best technique for a clean polyphonic pitch shifter. Still, the artifacts of the de-glitched pitch shifters can be interesting in and of themselves – I’ll be addressing this in the post for 5/12.

  • matt

    hi, does anyone have some pictures of the inside of these? ive kinda twiddled the parameters inside on mine and sorta get different sounds everytime, but im sure theres afew that should not be twiddled.
    thanks

    matt

    Reply
  • do you know how big the buffersize would’ve been on one? trying to get that exact sort of sound with Dischord3

    j

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *