Stuck with a SynthEdit project?

Tag: Stereo Effects

Stereo Imaging- The Haas effect

What is the Haas Effect?

The Haas effect (properly known as the “Haas Precedence Effect”- there are other unrelated Haas effects) is a way to create a simulate a stereo signal in the studio even when we don’t have a stereo source – or even have access two individual sound sources to start with.
The best way to create a good stereo sound is with multiple takes. This will will provide the best sounding results when you’re looking for a nice, thick stereo sound. Usually in a recording studio we would record two mono takes of an instruments part, put each take on its own track, and pan those tracks left and right. Judicious use of reverb will also help create the sense of space.
However we may want to work from a pre-recording of an instrument or sound and widen the stereo field, in which case recording two takes isn’t an option. Maybe time and resources are limited. For all sorts of reasons two takes might not be a practical option.

How the Haas Precedence effect works.
The Haas Effect is a psycho-acoustic phenomena, resulting from the way our brains work when trying to make sense of the world around us.
If two separate versions of a sound occur in rapid succession – separated by say 5-10 milliseconds, when we hear this our brain “fuses” these two sounds into one.
This merging of the sounds continues to occur until we reach a separation time of about 30 milliseconds, but, when we get to a separation of 50 milliseconds upwards, we will interpret this as two distinctly separate sounds (depending to some extent on what kind of sound we’re talking about). There are some curios things regarding how our brains give priority to the first perceived sound – even ignoring the the second sound, which is covered in detail in research into the the Haas effect and it’s effect on our perception of sounds. For more information have a look at this Wikipedia article about The Precedence Effect.

Using this effect.
What we are really interested in though is that if you take a single audio source, split off a copy to create a second version of it, and delay that second version by about 25 to 40 ms – your brain will still not hear the sound as two distinct sounds, it’s already reinforced and sounding like there’s more than on instrument playing. Now comes the good bit: if you pan the two sounds left and right, your ears and brain will interpret the two sounds as being more spread out, that is a wider sound than the your original single point-source of our original mono sound.

Creating a Haas Precedence stereo effect for SynthEdit.

With these few (stock) modules shown below we can create a simple Haas stereo effect. The values for the Delay2 module are shown on the Fixed Values (Volts) module I find a delay of 40 milliseconds (0.04 V) works well, you don’t want any feed back so this is held at 0 V The Level Adj module on the input is just a buffer.
With the default values on the Width slider you get a progression from a mono signal at 5 V through to a wide stereo image at -5 V.
Note: Due to the delay time inherent in this method of imaging you will probably notice some “phasing” effects between the original and the delayed signal when you reach 50% of the mix. This IS a normal artefact with Haas Precedence widening.

Dual delay Haas stereo effect.

Shown below is a an improved version, with two Delay modules for improved separation along with high pass filters. The two Delay modules have different delay times, 30 milliseconds and 40 milliseconds.

Dual delay Haas stereo effect

Haas effect with pitch shifter.

Another variation is to add a small pitch shift into one channel along with the delay which add slightly to the amount of separation between the channels.
This also gives the impression that the pitch shifted channel is another separate instrument being played.
You don’t want too much pitch shift, otherwise you can get some unpleasant beating and dissonant effects due to the frequency difference. I found that about 0.02V On the Pitch plug was plenty. It’s also best to enable the Anti-Aliasing option in the properties panel, and increase the Block size to 4096.

Creating a Flanger effect in SynthEdit.

What is a Flanger?

The term Flanger was coined sometime in the mid 20th century, It was discovered when two tape machines played the same signal at the same time. The story is that a recording engineer placed a finger on a tape reel’s flange, slowing one tape and throwing the two out of sync. When the engineer released the reel, its speed gradually returned to normal, giving a psychedelic whoosh. The origins of the term “Flanger” has various explanations…
How a Flanger works.
Flanging is an audio effect produced by mixing two identical signals together, one of the signals is delayed by a small and gradually changing period, usually between 5, and 20 milliseconds. This produces a swept comb filter effect: peaks and notches are produced in the resulting frequency spectrum, related to each other in a linear harmonic series.

Comb filter spectrum

Varying the time delay causes these to sweep up and down the frequency spectrum. A Flanger is an effects unit that creates this effect. Part of the output signal is usually fed back to the input (a “re-circulating delay line”), producing a resonance effect which further enhances the intensity of the peaks and troughs. The phase of the fed-back signal is sometimes inverted, producing another variation on the Flanger sound, the phase inversion causes peaks in the frequency response instead of notches (see the red line in the chart below).

How Positive and negative feedback affects the spectrum

As you can see Flanging differs from phasing in a notable way: A phaser generally has one notch frequency, whereas a Flanger has a number of harmonically related notch frequencies giving a comb like spectrum.

Creating a basic Flanger in SynthEdit.

The easiest way is to use a Delay2 module. Below is the structure of a simple Flanger. I find it’s best to keep the Mod depth’s maximum value to about 9 Volts as the full 10 Volts can sometimes produce some odd artefacts over 9.5 volts, we do this by setting the maximum value of the Mod Depth Slider control to 9 Volts.. The offset 5V is to keep the delay time in the centre of the useful delay time “window”.
Note: When constructing a Flanger in SE you should check the Interpolate box in the properties panel for the Delay2 module, and make sure it’s ticked. This greatly reduces any “stepping” or “zipper” effects in the audio when we are modulating the Delay2 module.

Basic Flanger

Adding an external Feedback loop with switchable phase.
With a few extra modules, we can create an external feedback circuit to give you a choice of negative or positive feedback loop for the Flanger.
Normally feedback loops are not allowed in SynthEdit, but if we add a special Feedback module we can have feedback. It does however introduce a delay of approximately 2mS into the loop however, which will affect the response of the filter above 2 kHz. See the structure below for the layout (the Feedback – Audio Module is actually Feedback – Volts Module, but in this context I think saying audio makes much more sense). The Phase Inverter is the standard Inverter2 Module, which just inverts the polarity of the audio, which is in effect a 180 degree phase change. The Feedback amp is a standard Level Adj Module and we use a Switch (1->Many) with a List Entry Module to switch from 0 degrees feedback to 180 degree phase shifted feedback. The feedback plug in this structure is not connected, and can be set at 0 Volts in the properties panel, or if you wish you can use a Fixed Value (Volts) module to hold the feedback level at 0 Volts.

Flanger with external feedback and phase switching.

Improving the SynthEdit Flanger.
Flangers may often produce a loud low frequency hum at high feedback levels. By adding a high-pass filter after the delay line we can fix this
problem.

Adding a High Pass filter in the output.
Here I have used two single pole filters to give a reasonable 12dB/Octave cut-off slope. You could have a fixed filter frequency, but I have used a slider control to allow a little manual control between 50 and 800Hz. To do this set both the 1 Pole HP filters Frequency Scales to 1V/kHz in the properties panel, and then set the Slider control’s Minimum to 0.05 Volts and the Maximum to 0.8 Volts.
There is a reason for this variable high pass filter, often we can improve the clarity of the Flanged signal by cutting out low frequencies so it’s nice to be able to control the cut-off frequency, and it can also remove some low frequency aliasing by-products.

Flanger with Phase switching and a High Pass Filter.

Making a stereo Flanger in SynthEdit.

Its quite a simple job to convert the simple Flanger to stereo.
We just need to add an extra input and output channel, so we have left and right sides, then copy parts of the basic Flanger setup: see below.
A nice touch is to change the LFO to the TD_LFO_B_ST module.
This is a “Stereo” version of the LFO we used previously, with two outputs instead of one, these outputs are also adjustable in terms of their phase relative to each other, so we could set our Left hand Flanger channel sweep voltage to be 180 degrees out of phase with the Right hand channel. Having the two channels sweeping differently will give us not only a more complex flanging effect, but also an interesting psych-acoustic panning effect too due to the phase and time differences between the two channels.

Stereo flanger