Beruflich Dokumente
Kultur Dokumente
CHAPTER 1
INTRODUCTION
1.1 Description of Audio Processing:
Audio processing is the intentional alteration of auditory signals. The major application
area of the audio processing is in the field of music. One of the practical examples that
demonstrate audio processing is audio mastering processor for audio compression as shown
in fig1. Here the source material, ideally at the original resolution, is processed
using equalization, compression, limiting, noise reduction and other processes. More tasks,
such as editing, pre-gapping, levelling, fading in and out, noise reduction and other signal
restoration and enhancement processes can be applied as part of the mastering stage. This
step prepares the music for either digital or analog, e.g. vinyl, replication. The source material
is put in the proper order, commonly referred to as assembly (or 'track') sequencing.
If the material is destined for vinyl release, additional processing, such as dynamic range
reduction, frequency dependent stereo–to–mono fold-down and equalization, may be applied
to compensate for the limitations of that medium. Finally, for compact disc release, Start of
Track, End of Track, and Indexes are defined for disc navigation. Subsequently, it is rendered
either to a physical medium, such as a CD-R or DVD-R, or to a DDP file set, the standard
method of secure delivery for CD and DVD replication masters. The specific medium varies,
depending on the intended release format of the final product. For digital audio releases, there
is more than one possible master medium, chosen based on replication factory requirements
or record label security concerns. Regardless of what delivery method is chosen, the
replicator will transfer the audio to a glass master that will generate metal stampers for
replication.
The process of audio mastering varies depending on the specific needs of the audio to
be processed. Mastering engineers need to examine the types of input media, the expectations
of the source producer or recipient, the limitations of the end medium and process the subject
accordingly. General rules of thumb can rarely be applied.
Steps of the process typically include but are not limited to the following:
1. Transferring the recorded audio tracks into the Digital Audio Workstation (DAW)
(optional).
2. Sequence the separate songs or tracks (the spaces in between) as they will appear on
the final release.
3. Process or "sweeten" audio to maximize the sound quality for its particular medium
(e.g. applying specific EQ for vinyl)
4. Transfer the audio to the final master format (i.e., CD-ROM, half-inch reel tape.).
CHAPTER 2
DIGITAL FREQUENCY
Digital frequency is the analogue for discrete signals as frequency is to continuous
signals. Since a discrete signal is a sequence (merely a series of symbols; typically, numbers)
it contains no direct information as to determine the frequency of the corresponding
continuous signal. Just like in frequency, a digital frequency can have values
in degrees or radians. However, it is common to represent a digital frequency that has been
normalized to either the Nyquist frequency or the sampling frequency. It is therefore very
important to specify the frequency range.
Likewise for radians, values of digital frequency are in the range radians.
The sampling rate, sample rate, or sampling frequency (fs) defines the number of samples per
unit of time (usually seconds) taken from a continuous signal to make a discrete signal.
For time-domain signals, the unit for sampling rate is hertz (inverse seconds, 1/s, s−1),
sometimes noted as Sa/s (samples per second). The inverse of the sampling frequency is
the sampling period or sampling interval, which is the time between samples.
Above figure shows the sampling of an analog frequency. A stream is said to have a
sampling frequency, fs, if there are fs samples per second. Changing the fs of a stream during
playback will change the perceived natural frequencies of the stream. An audio CD normally
has a sampling frequency of 44,100 samples per second. The digital frequency, fd, for some
natural (continuous) frequency, f1. Since time has no meaning in a completely digital
(discrete) system, “samples” are used instead. Fd is, therefore, the digital analog of f1.
The Nyquist interval is the minimum number of samples per second required to
accurately represent an analog signal of a given maximum frequency, fmax. It is
mathematically equal to 2*fmax. This is the reason that most audio CDs have a sampling
frequency of 44,100 Hertz (Hz), or samples per second; the approximate upper bound of
human hearing is about 20,000 Hz, or approximately one-half of 44,100 Hz. Most digital
frequencies are also expressed as radial frequencies, meaning they have units of radians per
cycle. To convert from a natural frequency, f1, to radial frequency fR, one uses the equation
fR = 2πf1.
CHAPTER 3
FILTERS
Filters are electronic circuits that respond to impulses, processing signals by
enhancing certain aspects and/or reducing certain aspects. There are several different types of
filters.
Filter is a device or process that removes from a signal some unwanted component or
feature. Filtering is a class of signal processing, the defining feature of filters being the
complete or partial suppression of some aspect of the signal. Most often, this means removing
some frequencies and not others in order to suppress interfering signals and reduce
background noise. However, filters do not exclusively act in the frequency domain; especially
in the field of image processing many other targets for filtering exist.
The drawback of filtering is the loss of information associated with it. Signal combination in
Fourier space is an alternative approach for removal of certain frequencies from the recorded
signal.
Digital Filter operates on the digital input of data and produces digital output.
It can be constructed from adders, delay unit, and multiplier.
Features:
Performance of digital filter does not vary with environmental changes, for ex thermal
variations.
Both filtered and unfiltered data can be saved for further use.
Y (n)
Y (n)
It is evident from these two equations that, for IIR filters, the impulse response is of infinite
duration whereas for FIR filter it is of finite duration, since h(k) for FIR has only N values. In
practice it is not feasible to compute the output of IIR filter, since the length of its impulse
response is too long (infinite), so in this project finite impulse response of different filters is
implemented.
FIR filters can provide exact linear phase response, since its impulse response is
finite.
If the filter coefficients are not too large then it is better to choose FIR
Analog filters can be readily transformed into equivalent IIR digital filters meeting
similar specifications. This is impossible with FIR filters as they do not have analog
counterparts.
FIR filters give large delays, which may be undesirable in certain applications.
There are many different bases of classifying filters and those overlap in many
different ways; there is no simple hierarchical classification. Filters may be:
Low-pass filters exist in many different forms, including electronic circuits (such as
a hiss filter used in audio), anti-aliasing filters for conditioning signals prior to analog-to-
digital conversion, digital filters for smoothing sets of data, acoustic barriers, blurring of
images, and so on. The moving average operation used in fields such as finance is a particular
kind of low-pass filter, and can be analyzed with the same signal processing techniques as are
used for other low-pass filters. Low-pass filters provide a smoother form of a signal,
removing the short-term fluctuations, and leaving the longer-term trend.
High-pass filters have many uses, such as blocking DC from circuitry sensitive to non-zero
average voltages or RF devices. They can also be used in conjunction with a low-pass filter to
make a bandpass filter. The actual amount of attenuation for each frequency is a design
parameter of the filter.
When such a filter is built into a loudspeaker cabinet it is normally a passive filter that also
includes a low-pass filter for the woofer and so often employs both a capacitor
and inductor(although very simple high-pass filters for tweeters can consist of a series
capacitor and nothing else). An alternative, which provides good quality sound without
inductors (which are prone to parasitic coupling, are expensive, and may have significant
internal resistance) is to employ bi-amplification with active RC filters or active digital filters
with separate power amplifiers for each loudspeaker. Such low-current and low-voltage line
level crossovers are called active crossovers.
3.5 Band pass filter
A band-pass filter is a device that passes frequencies within a certain range and rejects
(attenuates) frequencies outside that range.
Narrow notch filters (optical) are used in Raman spectroscopy, live sound
reproduction (public address systems, or PA systems) and in instrument amplifiers (especially
amplifiers or preamplifiers for acoustic instruments such as acoustic guitar, mandolin, bass
instrument amplifier, etc.) to reduce or prevent audio feedback, while having little noticeable
effect on the rest of the frequency spectrum (electronic or software filters). Other names
include 'band limit filter', 'T-notch filter', 'band-elimination filter', and 'band-reject filter'.
Typically, the width of the stopband is less than 1 to 2 decades (that is, the highest
frequency attenuated is less than 10 to 100 times the lowest frequency attenuated). In
the audio band, a notch filter uses high and low frequencies that may be only semitones apart.
CHAPTER 4
RESULTS
4.1 Low pass filter:
Passband edge frequency fp=2000 Hz
Stopband edge frequency fs=3000 Hz
Sampling frequency fs1=10000 Hz
Attenuation=50db
Let wp and ws be the corresponding digital frequencies.
Transition width = ws-wp
The impulse response co-efficient is
H (n) = ((sin (wc*(n-T)/pi*(n-T))
Output:
20
-20
db
-40
-60
-80
-100
0 0.5 1 1.5 2 2.5 3 3.5
w(rad/sec)
-3
x 10
4
2
relative signal strength
-1
-2
-3
0 1 2 3 4 5 6 7 8
time (sec) 4
x 10
Output:
10
-10
-20
-30
db
-40
-50
-60
-70
-80
-90
0 0.5 1 1.5 2 2.5 3 3.5
w(rad/s)
2
relative signal strength
-1
-2
-3
-4
0 1 2 3 4 5 6 7 8
time (sec) 4
x 10
Output:
2
relative signal strength
-1
-2
-3
0 1 2 3 4 5 6 7 8
time (sec) 4
x 10
10
4
relative signal strength
-2
-4
-6
-8
-10
0 1 2 3 4 5 6 7 8
time (sec) 4
x 10
CHAPTER 5
ADVANTAGES DISADVANTAGES & APPLICATIONS
4.1.1 ADVANTAGES:
Delay: The effect of delay is achieved when a signal is played and then a modified
version of that signal is played back after a period of time, either one time or multiple
times, resulting in an echoing effect. The simplest version of delay is an FIR filter
through which a signal is played back only one time. This is called simple delay.
Data storage,
level compression,
data compression,
transmission enhancement
(e.g., equalization, filtering, noise cancellation, echo or reverb removal or addition, etc.)
4.1.2 DISADVANTAGES:
Analog signals cannot be readily transformed into equivalent FIR filters as the FIR
filters, do not have analog counterparts.
FIR filters gives large delays which may be undesirable certain applications
4.1.3 APPLICATIONS:
They may also be used to “boost” and “cut” specific frequency ranges in an audio file
to make it more pleasant to the ear.
The echoes and reverberations heard in many popular songs are the products of post-
recording digital signal processing.
CHAPTER 6
CONCLUSION
This project investigated how some simple filters actually works. It serves as an
introduction to digital signal processing, primarily audio signal processing, which specifically
investigated delay, reverb, and equalization filters. Most of us had prior experience with
audio equipment, so we had some familiarity with how audio systems and processing work.
The filters which are implemented in this project can be applied many areas.
REFERENCES
[1] Atti, Andreas Spanias, Ted Painter, Venkatraman “Audio signal processing
and coding” NJ: John Wiley & Sons, (2006) 464.
[2] Zölzer, Udo “Digital Audio Signal Processing” John Wiley and Sons, (1997).
[3] Mix Magazine: “Issues in Modern Mastering”
[4] Martin, George; Hornsby, Jeremy “All you need is ears” Macmillan. (1994),
143.