The Use of Digital Signal Processing Techniques in Audio Effects
The Use of Digital Signal Processing Techniques in Audio Effects
Audio Effects
By Robert Chidlaw, Chief Scientist, Source Audio LLC
Introduction
I was asked to become a founding member of the Source Audio
team, because they knew how important it is to create
guitar effects that actually sound good to serious
musicians. The other team members came from a big chip
company and while they knew electrical engineering, they
did not have the experience of being in the industry.
Through my 20 years of experience as Chief Scientist at
Kurzweil and 40 overall years of tinkering and building
guitar effects and amps, I have learned a few things about
how to make things sound good. I will describe in this
paper some of the key things required to make effects
circuits (especially digital ones) sound great.
Hardware
The first thing we need is a processor with sufficient
computational horsepower to get the job done right. It
also has to be inexpensive enough such that we can sell the
finished product at a reasonable price. Our SA601 chip
meets these goals. It is expressly designed for the
efficient processing of audio signals.
Digital vs analog
I have built these kinds of signal processing circuits
using analog hardware during the 1970’s and 80’s. In many
ways, it’s so much easier in digital. There are no issues
with component tolerances, no stray capacitance between
wires, and no hum. All active components (tubes and
transistors (either singly or integrated into an op amp))
have some intrinsic noise level. There are noise sources
in digital processing, but we can choose to arrange the
details of the computation such that the final resultant
noise is as small as we wish.
Numerical precision
Now we get to the specifics of the DSP arithmetic. Word
size is of critical importance. Every time a
multiplication is done, the word length would have to
double to preserve the exact answer. For a practical
implementation with a fixed word length, we are constantly
discarding data from the least significant portion of each
multiplication result, and thus adding noise. Although the
basic word size in the SA601 is 28 bits, support is
provided for double precision operations such that the
number of extra instructions required is not a problem.
Using such a 56 bit accumulator where needed means that the
unavoidable noise appears at such a low level as to be
negligible.
Algorithms
Filters
Some of the filter algorithms are built using the digital
state variable filter configuration. The various filter
parameters have been adjusted by ear to sound interesting
and be useful. The multi-peak algorithms, with up to three
peaks or dips, have an awful lot of parameters. I can’t
claim to have explored the entire range of possible sounds,
but certainly a good-sized chunk. That was one of the more
interesting and creative parts of the project.
Transitions
All transitions from one sound to another are smoothed.
When moving from one preset to another, or adjusting a
front panel control, the resultant changes in the numbers
that govern the computation process ramp smoothly from
their current value to their new value. This avoids clicks
and pops that might otherwise occur.
Control feel
The accelerometer signals must be mapped into control of
the filter parameters in a way that provides a good natural
feel to the musician. This did not turn out to be all that
difficult, but one is faced with interpreting comments by
musicians attempting to describe what they like and
dislike, and mapping those comments into changes in the
code. This is where it is best if the designer is also a
player.
Objective measures
Well, OK, there are some objective measures of performance.
Noise is almost always bad. (Although at my previous job
we put a noise source in a flanger algorithm to simulate
the old noisy analog delay lines. Personally, I don’t use
it.)
Summary
I don’t feel that digital audio processing needs to have
compromises today. If implemented correctly, it should be
able to meet and exceed all the specs of analog gear. In
addition, there are many things, with many more coming,
that can only be done digitally.