Digital Filters in Audio ELEC-E5620 - Audio Signal Processing, Lecture #2

Total Page:16

File Type:pdf, Size:1020Kb

Digital Filters in Audio ELEC-E5620 - Audio Signal Processing, Lecture #2 1/25/2019 25 January 2019 Digital Filters in Audio ELEC-E5620 - Audio Signal Processing, Lecture #2 Sound check Vesa Välimäki Acoustics Lab, Dept. Signal Processing and Acoustics, Aalto University Course Schedule in 2019 (Periods III-VI) 0. General issues (Vesa & Benoit) 11.1.2019 1. History and future of audio DSP (Vesa) 18.1.2019 2. Digital filters in audio (Vesa) 25.1.2019 3. Audio filter design (Vesa) 1.2.2019 4. Analysis of audio signals (Vesa) 8.2.2019 5. Audio effects processing (Benoit) 15.2.2019 * No lecture (Evaluation week for Period III) 22.2.2019 6. Synthesis of audio signals (Fabian) 1.3.2019 7. Reverberation and 3-D sound (Benoit) 8.3.2019 8. Physics-based sound synthesis (Vesa) 15.3.2019 9. Sampling rate conversion (Vesa) 22.3.2019 10. Audio coding (Vesa) 29.3.2019 @2018-2019 Vesa Välimäki 25.1.2019 2 1 1/25/2019 Outline • Digital filters are basic tools in audio signal processing – Simple FIR & IIR filters – Comb filters – Resonators – Allpass filters – Shelving filters – Equalizing filters – Fractional delay filters Contains figures taken from Ken Steiglitz, A Digital Signal Processing Primer with Applications to Digital Audio and Computer Music, Addison-Wesley, 1996. 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 3 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki What’s a Digital Filter? • Digital filter = Computational algorithm to modify a digital signal – Often some frequencies may need to be attenuated or amplified • Two main types 1. Feedforward or FIR filters 2. Feedback or IIR filters 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 4 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 2 1/25/2019 FIR Filters • FIR = Finite Impulse Response – Impulse response = Output signal of the filter when the input signal x(n) is a unit impulse – Unit impulse = Digital signal whose first sample is 1 and the rest are 0 – Impulse response h(n) of an FIR filter consists of its coefficients x(n) z-1 z-1 z-1 h(0) h(1) h(2) ... h(N) y(n) 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 5 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki First-Order FIR Filter • Add the input signal with its delayed and scaled version – Real weights h1 and h2 for the input and the delayed input signal • Difference equation: x(n) z-1 y(n) = h1x(n) + h2x(n –1) h1 h2 • Impulse response: [h1 h2] • Z transform: y(n) -1 -1 Y(z) = h1X(z) + h2X(z)z = [h1 + h2z ]X(z) -1 • Transfer function: H(z) = h1 + h2z (roots = zeros) • Frequency response (set z = ej ) j j j –j H(e ) = Y(e )/ X(e ) = h1 + h2e • Magnitude |H(ej) | is the filter gain; angle is the phase 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 6 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 3 1/25/2019 Magnitude Response Interpretation • Magnitude response |H(ej)| is a vector length on the z plane – Travel along the unit circle and measure the distance from the zero Imaginary axis Z plane H (e j ) Real axis See: K. Steiglitz, A Digital Signal Processing Primer with Applications to Digital Audio and Computer Music, Addison-Wesley, 1996. 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 7 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Magnitude Response Interpretation • Magnitude response |H(ej)| is a vector length on the z plane – Travel along the unit circle and measure the distance from the zero j H (e ) HighLow frequenciesfrequencies See: K. Steiglitz, A Digital Signal Processing Primer with Applications to Digital Audio and Computer Music, Addison-Wesley, 1996. 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 8 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 4 1/25/2019 Magnitude Response Evaluation • Magnitude response of the 1st-order FIR filter: 2 2 1/2 |H()| = |h1 + h2 + 2h1h2cos()| Example: h1 = 1.0 h2 = -0.7 25.1.2019 9 @2018-2019 Vesa Välimäki First-Order FIR Filtering of Music • A music signal is processed 1) Original with the FIR filter 2) Filtered when h2 = –0.7 -1 3) Filtered when h2 = –0.9 H(z) = h1 + h2z , 4) Filtered when h2 = –1.0 where h1 = 1.0 and 5) Original h2 is varied (44.1 kHz, 16 bits) @2018-2019 Vesa Välimäki 25.1.2019 10 5 1/25/2019 IIR Filters a b0N • IIR = Infinite Impulse x(n) y(n) Response 1 1 – The impulse response z z ab1 a usually decays N 1 1 exponentially to zero • IIR filter structures are … … based on feedback z 1 z 1 baN1–1 aN 1 • The transfer function has poles in addition to 1 1 z a z zeros bN N 25.1.2019 © 2001-2018 Vesa Välimäki ELEC-E5620 Audio Signal Processing 11 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki The Simplest IIR Filter: One-Pole Filter • Add the input and the delayed and scaled output signal – Magnitude of feedback coefficient must not be larger than 1 • Difference equation: x(n) y(n) y(n) = x(n) + a1y(n –1) • Z transform: a1 Y(z) = X(z) + a Y(z)z–1 1 z-1 • Transfer function: –1 H(z) = Y(z)/X(z) = 1/(1 – a1z ) (Minus sign!) • Frequency response: Often called the j –j “leaky integrator” H(e ) = 1/(1 – a1e ) (when 0 < a1 < 1) 25.1.2019 12 @2018-2019 Vesa Välimäki 6 1/25/2019 IIR Filter’s Magnitude Response • Magnitude response: Z plane –j |H()| = 1 / |1 – a1 e | • Zero of the denominator, or the pole • Geometrical interpretation – Mark the pole on the Z plane – Travel along the unit circle from 0 to – Measure the distance from the pole – Compute the inverse of the distance 25.1.2019 13 @2018-2019 Vesa Välimäki Magnitude Response Evaluation –j • Magnitude response of |H()| = g / |1 – a1 e | where g controls the gain of the filter • The choice g = 1 – a1 maintains the dc gain* of 0 dB (DC gain = gain at 0 Hz) (Steiglitz 1996) 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 14 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 7 1/25/2019 Comb Filter (1) • The name stems from the shape of magnitude response • Obtained from a one-pole filter by replacing z–1 with z–L • Example: a1 = 0.999, L = 8 x(n) y(n) a1 z-L 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 15 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Comb Filter (2) • When the unit delay is replaced with a delay line, the pole of the first-order filter is duplicated L times on the z plane • Example: a1 = 0.999, L = 8 x(n) y(n) a1 z-L 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 16 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 8 1/25/2019 Comb Filter (3) • When the feedback coefficient is negative, peaks occur at odd harmonics • Example: a1 = –0.999, L = 8 x(n) y(n) a1 z-L 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 17 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Inverse Comb Filter (1) • Sometimes called the FIR comb filter • Obtained by inverting the comb filter transfer function • Example: L = 8 + x(n) y(n) _ a1 z-L 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 18 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 9 1/25/2019 Inverse Comb Filter (2) • Poles become zeros • Digital simulation of direct sound and a single reflection (e.g. floor) • Example: L = 8 + x(n) y(n) _ a1 z-L 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 19 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Resonance • A bump in the magnitude response – E.g. a formant, or a mode of a vibrating structure • Sharpness is described by bandwidth: – Usually, the difference of points where the gain is 3 dB below the peak • Other properties: center frequency & peak value (gain) • Quality factor: Q = center frequency / bandwidth – Large Q value sharp resonance – Small Q value wide resonance 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 20 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 10 1/25/2019 Pole Radius • Resonance is caused by a pole close to the unit circle • Distance can be deduced from bandwidth: R 1 – B/2 where B = 2f and f is normalized frequency – Alternative form: R 1 – f •Example: fs = 44.1 kHz and bandwidth is 20 Hz: R 1 – (20/44100) = 0.998575 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 21 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Digital Resonator • Resonators are crucial in audio DSP – Subtractive synthesis, formant filters, parallel equalizers... • To generate a resonance between 0 Hz and the Nyquist frequency, a pole pair is needed – A pole and its complex conjugate • Transfer function: H(z) = 1 / (1 – Rejz–1) (1 – Re–jz–1) or H(z) = 1 / (1 – 2Rcos()z–1 + R2 z–2 ) • Difference equation: y(n) = x(n) + 2Rcos()y(n –1)–R2y(n –2) 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 22 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 11 1/25/2019 Digital Resonator • Examples of magnitude responses of second-order IIR filters (with scaling) 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 23 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki Interactive Design With Matlab Matlab-demo: restoola.m 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 24 Lecture #2: Digital Filters @2018-2019 Vesa Välimäki 12 1/25/2019 How to Choose Resonator Parameters • Sometimes it is enough to choose parameters ja R – is resonance frequency and R = 1 – B/2 pole radius • However, at low frequencies, the pole and its mirror are close to each other and can bias the peak location – Peak is not exactly at the frequency corresponding to ! 25.1.2019 © 2001-2019 Vesa Välimäki ELEC-E5620 Audio Signal Processing 25 Lecture #2: Digital Filters
Recommended publications
  • UC Riverside UC Riverside Electronic Theses and Dissertations
    UC Riverside UC Riverside Electronic Theses and Dissertations Title Sonic Retro-Futures: Musical Nostalgia as Revolution in Post-1960s American Literature, Film and Technoculture Permalink https://escholarship.org/uc/item/65f2825x Author Young, Mark Thomas Publication Date 2015 Peer reviewed|Thesis/dissertation eScholarship.org Powered by the California Digital Library University of California UNIVERSITY OF CALIFORNIA RIVERSIDE Sonic Retro-Futures: Musical Nostalgia as Revolution in Post-1960s American Literature, Film and Technoculture A Dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in English by Mark Thomas Young June 2015 Dissertation Committee: Dr. Sherryl Vint, Chairperson Dr. Steven Gould Axelrod Dr. Tom Lutz Copyright by Mark Thomas Young 2015 The Dissertation of Mark Thomas Young is approved: Committee Chairperson University of California, Riverside ACKNOWLEDGEMENTS As there are many midwives to an “individual” success, I’d like to thank the various mentors, colleagues, organizations, friends, and family members who have supported me through the stages of conception, drafting, revision, and completion of this project. Perhaps the most important influences on my early thinking about this topic came from Paweł Frelik and Larry McCaffery, with whom I shared a rousing desert hike in the foothills of Borrego Springs. After an evening of food, drink, and lively exchange, I had the long-overdue epiphany to channel my training in musical performance more directly into my academic pursuits. The early support, friendship, and collegiality of these two had a tremendously positive effect on the arc of my scholarship; knowing they believed in the project helped me pencil its first sketchy contours—and ultimately see it through to the end.
    [Show full text]
  • Reference Manual
    1 6 - V O I C E R E A L A N A L O G S Y N T H E S I Z E R REFERENCE MANUAL February 2001 Your shipping carton should contain the following items: 1. Andromeda A6 synthesizer 2. AC power cable 3. Warranty Registration card 4. Reference Manual 5. A list of the Preset and User Bank Mixes and Programs If anything is missing, please contact your dealer or Alesis immediately. NOTE: Completing and returning the Warranty Registration card is important. Alesis contact information: Alesis Studio Electronics, Inc. 1633 26th Street Santa Monica, CA 90404 USA Telephone: 800-5-ALESIS (800-525-3747) E-Mail: [email protected] Website: http://www.alesis.com Alesis Andromeda A6TM Reference Manual Revision 1.0 by Dave Bertovic © Copyright 2001, Alesis Studio Electronics, Inc. All rights reserved. Reproduction in whole or in part is prohibited. “A6”, “QCard” and “FreeLoader” are trademarks of Alesis Studio Electronics, Inc. A6 REFERENCE MANUAL 1 2 A6 REFERENCE MANUAL Contents CONTENTS Important Safety Instructions ....................................................................................7 Instructions to the User (FCC Notice) ............................................................................................11 CE Declaration of Conformity .........................................................................................................13 Introduction ................................................................................................................ 15 How to Use this Manual....................................................................................................................16
    [Show full text]
  • Improved Audio Filtering Using Extended High Pass Filters
    International Journal of Engineering Research & Technology (IJERT) ISSN: 2278-0181 Vol. 2 Issue 6, June - 2013 Improved Audio Filtering Using Extended High Pass Filters 1 2 Radhika Bhagat Ramandeep Kaur Department of Computer Science & Engineering, Guru Nanak Dev University Amritsar, Punjab, India Abstract—Noise Filtering in audio signals has always been a challenge since the noise is spread across a large bandwidth and overlaps the spectral range of the audio signal being recovered. In audio systems all these can be kept below the audible level but ambient noise may not be avoided even if the audio system is designed according to the best practices. So, there have been several audio filtering techniques such as spectral subtraction, Dolby noise reduction, use of low-pass and high pass filters, FIR and IIR filtering, etc. Noise filtering improvements were assessed for both noise reduction and signal degradation effects by different signal to noise ratio computations. Keywords: Audio Filtering, Low Pass Filters, High Pass Filters, FIR Filters, IIR Filters. I. INTRODUCTION With the development of communication technology, voice communication has become a major communication medium for people to transmit information more convenient. However, the widespread nature of noise makes the voice communication quality has declined. Therefore, to reduceIJERTIJERT the noise on the performance of voice communications, improve the quality of voice communications [1], voice denoising for technology has become a hot research topic. In this paper we will discuss various audio filtering techniques that will help in overcoming noise related issues. Audio Filter: - Is a frequency dependent amplifier circuit, working in the audio frequency range,0Hz- beyond 20 KHz.
    [Show full text]
  • SSB and the Phasing Exciter Hints and Kinks for Best Performance and Being Nice to One’S Neighbor’S
    SSB and the Phasing Exciter Hints and Kinks for Best Performance and Being Nice to One’s Neighbor’s Nick Tusa – K5EF How is SSB Generated? Brute Force v. Elegance A Tug or War in the 1950s One way is to design a steep-sided Steep-sided filters was expensive in the bandpass filter that passes one 1940-early 50s. Required carefully sideband and hugely attenuates the selected and ground individual crystals other. or expert machining of temperature- stable materials for a mechanical filter. Or Or We can use a mathematical analog of phase relationships to cancel the Audio filters having linear phase shift unwanted sideband and reinforce made with inexpensive Rs and Cs. the desired sideband. In Amateur Circles, Phasing Led the Way Don Norgaard really got the Amateur Ball rolling with his SSB, Jr. published in GE HAM News. (Refer to George W1LSB’s SSB discussion at last year’s W9DYV Event and CE website). Companies such as CE, Lakeshore Industries, Eldico, Johnson, Hallicrafters, Heathkit, B&W and others produced exciters using the Phasing Principal. By the late 1950s, filter technology improved and costs dropped, pushing Phasing aside…at least until the Software Defined Radio came along… Basic Phasing SSB Exciter Audio Phase Shift Linearity is Key to SB Suppression The AF Phase Shifter must maintain 90° differential across 300-3500Hz audio band. Small deviations result in degraded SB suppression i.e., a 2˚ difference = 35db suppression. Typical CE 10A/20A based on the Norgaard design = 40db if perfect! Central Electronics PS-1 Network Based on Norgaard’s SSB, Jr design.
    [Show full text]
  • Designing Audio Effect Plug-Ins in C++ with Digital Audio Signal Processing Theory
    Designing Audio Effect Plug-Ins in C++ With Digital Audio Signal Processing Theory Will Pirkle Focal Press Taylor & Francis Croup NEW YORK AND LONDON Introduction xv Chapter 1: Digital Audio Signal Processing Principles 1.1 Acquisition of Samples 1.2 Reconstruction of the Signal 1.3 Signal Processing Systems 1.4 Synchronization and Interrupts 1.5 Signal Processing Flow 1.6 Numerical Representation of Audio Data 1.7 Using Floating-Point Data 1.8 Basic DSP Test Signals 1 1.8.1 DC and Step 1.8.2 Nyquist 1.8.3 Vi Nyquist 1.8.4 lA Nyquist 1.8.5 Impulse 1.9 Signal Processing Algorithms 1.10 Bookkeeping 1.11 The One-Sample Delay 1.12 Multiplication 1.13 Addition and Subtraction 1.14 Algorithm Examples and the Difference Equation 1.15 Gain, Attenuation, and Phase Inversion 1.16 Practical Mixing Algorithm Bibliography Chapter 2: Anatomy ofa Plug-In 2.1 Static and Dynamic Linking 2.2 Virtual Address Space and DLL Access 2.3 C and C++ Style DLLs 2.4 Maintaining the User Interface 2.5 The Applications Programming Interface 2.6 Typical Required API Functions 2.7 The RackAFX Philosophy and API 2.7.1 stdcall Bibliography VII viii Contents Chapter 3: Writing Plug-Ins with RackAFX 35 3.1 Building the DLL 35 3.2 Creation 36 3.3 The GUI 36 3.4 Processing Audio 37 3.5 Destruction 38 3.6 Your First Plug-Ins 38 3.6.1 Project: Yourplugin 39 3.6.2 Yourplugin GUI 39 3.6.3 Yourplugin.h File 39 3.6.4 Yourplugin.cpp File 40 3.6.5 Building and Testing 40 3.6.6 Creating and Saving Presets 40 3.6.7 GUI Designer 40 3.7 Design a Volume Control Plug-In 40 3.8 Set Up RackAFX
    [Show full text]
  • C1 Compressor/Gate
    Table of Contents Chapter 1 ........................................... About the C1 .... 5 The C1 in brief ............ 5 C1 Component plug-ins............ 6 C1's Setup Library ............ 6 Chapter2 ...............................Comp/Exp module......... 7 About the compressor/expander ............ 7 Controls ............ 8 Bypass control ............ 8 Level reference control ............ 8 Makeup gain ............ 8 Threshold............ 8 Ratio ............ 9 Attack ............ 9 Release ............ 9 PDR (Program Dependent Release) ............ 9 EQ Mode switch............ 9 Gain reduction Meter .......... 10 Comp/Exp control level meter .......... 10 Chapter 3 ....................... Gate/Expander module....... 11 About the Gate/expander .......... 11 Gate/expander module controls .......... 12 Bypass control .......... 12 Gate/expander control .......... 12 Floor .......... 12 Gate Thresholds.......... 12 GateOpen .......... 12 GateClose .......... 12 Attack .......... 13 Release .......... 13 Hold .......... 13 EQ Mode switch.......... 13 Gain reduction Meter .......... 14 Gate/expander control level meter .......... 14 Linking controls in the two dynamics modules .......... 14 C1 Parametric Compander Plug-In Manual 1 C1 Version 3 1 6/23/00, 12:19 PM Chapter 4 ..................................... The filter module .. 15 About the filter module ......... 15 Filter Controls ......... 16 Type ......... 16 Frequency ......... 16 Q ......... 16 Chapter 5 ............. Other controls and I/O metering .. 17 Lookahead switch ........
    [Show full text]
  • Operator Adjustable Equalizers: an Overview
    RaneNote OPERATOR ADJUSTABLE EQUALIZERS: AN OVERVIEW Operator Adjustable Introduction Equalizers: An Overview This paper presents an overview of operator adjust- able equalizers in the professional audio industry. The • Equalizer History term “operator adjustable equalizers” is no doubt a bit vague and cumbersome. For this, the author apolo- • Industry Choices gizes. Needed was a term to differentiate between fixed equalizers and variable equalizers. • Terminology & Definitions Fixed equalizers, such as pre-emphasis and de-em- phasis circuits, phono RIAA and tape NAB circuits, • Active & Passive and others, are subject matter unto themselves, but not the concern of this survey. Variable equalizers, how- • Graphics & Parametrics ever, such as graphics and parametrics are very much the subject of this paper, hence the term, “operator • Constant-Q & Proportional-Q adjustable equalizers.” That is what they are—equal- izers adjustable by operators—as opposed to built-in, • Interpolating & Combining non-adjustable, fixed circuits. Without belaboring the point too much, it is impor- • Phase Shift Examples tant in the beginning to clarify and use precise termi- nology. Much confusion surrounds users of variable • References equalizers due to poorly understood terminology. What types of variable equalizers exist? Why so many? Which one is best? What type of circuits pre- vail? What kind of filters? Who makes what? Hopefully, the answers lie within these pages, but first, a little history. Dennis Bohn Rane Corporation RaneNote 122 © 1990 Rane Corporation Reprinted with permission from the Audio Engineering Society from The Proceedings of the AES 6th Interna- tional Conference: Sound Reinforcement, 1988 May 5-8, Nashville. Equalizers-1 A Little History band signal loss and then reducing the loss on a band- No really big histories exist regarding variable equal- by-band basis.
    [Show full text]
  • Sunrizer Synthesizer User Manual. Version 1.1
    Sunrizer synthesizer user manual. Version 1.1, Written by Jacek Dojwa. © Copyright BeepStreet 2011. All rights reserved. Table of contents. 1. Introduction 2. Panel overview 3. Playing and editing presets 4. Arpeggiator 5. MIDI parameters 6. Live recording 7. Preferences and utilities 8. FAQ 9. Customer support 1. Introduction Welcome to Sunrizer – a virtual analog synthesizer that takes the definition of iOS synthesizer to the next level. Thanks to carefully designed architecture and heavy usage of coprocessor it blurs the boundaries between iOS and hardware synthesizers. The Sunrizer is a subtractive-additive* synthesizer with sound engine that offers a combination of analog oscillator waveforms, wide range of high quality filters (classic LP/HP/BP and more advanced like comb and formant filters) and DSP (chorus, reverb, distorstion, equalization) effects. The single screen optimized interface gives you a direct access to all most important parameters of each section, which you can modify in realtime. You can use external MIDI keyboard to play the instrument using keys, pitch-bend and modulation wheel. 2. Panel overview 2.1 Front panel The upper part contains buttons for editing application settings, DSP effects and instrument's general settings like tempo or polyphony mode. Use the buttons on the panel to open additional windows and record your play or program note sequences for the arpeggiator. Tap on the dark blue display to browse or save the presets. The lower part of the panel consists of six light blue blocks. Each of them contains knobs, faders and buttons that allow to edit the sound by tweaking many parameters of the instrument.
    [Show full text]
  • A11 Iirfilters: the Moog Ladder Filter Biquad Style
    Addendum A11 Designing Audio Effects Plugins in C++ Copyright © 2019 Will Pirkle A11 IIRFilters: The Moog Ladder Filter Biquad Style Robert Moog’s Ladder Filter (aka the Moog Ladder Filter or Moog LPF) is a 4th order lowpass filter designed specifically as an analog voltage-controlled filter circuit. In his original design, a control voltage was used to set and modulate the cutoff frequency fc. The filter’s Q was controlled by a potentiometer and was not modulate-able. The filter exhibits a 4th order slope roll-off of -24dB/octave. However as the Q is raised above 0.707, the filter’s overall gain drops, producing a massive reduction in bass frequencies. In addition, you can see in Figure A11.1 that although the cutoff frequency is set to 1kHz, it is clear that neither the -3dB point nor the resonant frequency are 1kHz for low Q settings. This means that the resonant frequency of the filter changes (albeit slightly) as the Q is increased, which is evident in Figure A11.1. These anomalies, that EE professors would scorn as un-usable, are exactly what makes the Moog LPF one of the most musical sounding filters ever designed. Figure A11.1 shows how the overall gain changes with increase in filter Q. In addition, the Q may be increased all the way to infinity, placing the filter poles on the unit circle and causing the filter to go into self-oscillation. In older analog synths, it was not uncommon to use the filter as an oscillator itself. The heartbeat sound in the Stranger Things soundtrack is actually a filter in self-oscillation at a low frequency with modulation applied.
    [Show full text]
  • Audio Noise Reduction and Masking Ecie Ausb Netra Aaio Once Othe to Previously Output
    Audio Noise Reduction and Masking AN-384 National Semiconductor Audio Noise Reduction Application Note 384 and Masking Martin Giles March 1985 INTRODUCTION Audio noise reduction systems can be divided into two basic 1) The reproduced signal (now free of noise) is audibly approaches. The first is the complementary type which in- identical to the original signal in terms of frequency re- volves compressing the audio signal in some well-defined sponse, transient response and program dynamics. The manner before it is recorded (primarily on tape). On play- stereo image is stable and does not wander. back, the subsequent complementary expansion of the au- 2) Overload characteristics of the system are well above dio signal which restores the original dynamic range, at the the normal peak signal level. same time has the effect of pushing the reproduced tape 3) The system electronics do not produce additional noise noise (added during recording) farther below the peak signal (including perturbations produced by the control signal levelÐand hopefully below the threshold of hearing. path). The second approach is the single-ended or non-comple- 4) Proper response of the system does not depend on mentary type which utilizes techniques to reduce the noise phase/frequency or gain accuracy of the transmission level already present in the source materialÐin essence a medium. playback only noise reduction system. This approach is used by the LM1894 integrated circuit, designed specifically 5) System operation does not cause audible modulation of for the reduction of audible noise in virtually any audio the noise level. source. 6) The system enables the full dynamic range of the source While either type of system is capable of producing a signifi- to be utilized without distortion.
    [Show full text]
  • Mixcraft-9-Manual.Pdf
    USER MANUAL Written by Mitchell Sigman and Joseph Clarke Design and layout by Mitchell Sigman and Alan Reynolds TABLE OF CONTENTS Getting Started . 6 Mixcraft 9 Home Studio Limitations . 7 Important Sound Setup Information . 8 Quick Start. 10 Registration. 18 Mixcraft Reference .. 19 Loading and Saving Projects . 32 Tracks Types and Controls . 37 Using Clips and the Main Clip Grid . 58 MIDI Basics . 69 Recording MIDI Tracks . 71 Recording Audio Tracks. 78 Details Tabs - Viewing and Undocking . 86 Project Tab. 89 Sound Tab . 90 MIDI Editors: Clips . 102 MIDI Editors: Piano Roll Editor . 111 MIDI Editors: Step Editor . 120 MIDI Editors: Score Editor . 127 Sound Editor . 131 Mixer Tab . 139 Library Tab . 149 Performance Panel . 171 Video Tracks and Editing . 186 Automation and Controller Mapping . 210 Mixing Down To Audio and Video Files . 229 Burning Audio CD’s . 235 Markers . 237 Using Effects . 243 Included Effects . 254 Using Virtual Instruments . 285 Included Virtual Instruments . 297 Alpha Sampler . 306 Omni Sampler . 311 Acoustica Vocoder . 320 Plug-In Management .. 327 ReWire . 330 Using Natively Supported Hardware Controllers . 332 Using Generic MIDI Controllers and Control Surfaces . 339 Musical Typing Keyboard (MTK) .. 342 Preferences . 344 Main Window Menus . 364 Keyboard Shortcuts . 375 Cursors . 381 Troubleshooting . 385 Glossary . 397 Appendix 1: Using Melodyne For Basic Vocal Tuning. 402 Appendix 2: Backing Up Mixcraft Projects and Data . 407 Appendix 3: Nifty Uses For Output Bus Tracks . 409 Appendix 4: Freesound Org. Creative Commons License Terms . 413 Appendix 5: Natively Supported Hardware Controllers . 415 Appendix 6: Copyrights and Trademarks . .. 416 GETTING STARTED Welcome to Mixcraft 9, a powerful recording DAW software offering the tools and performance power to create professional music and video projects..
    [Show full text]
  • CM3106 Chapter 5: Digital Audio Synthesis
    CM3106 Chapter 5: Digital Audio Synthesis Prof David Marshall [email protected] and Dr Kirill Sidorov [email protected] www.facebook.com/kirill.sidorov School of Computer Science & Informatics Cardiff University, UK Digital Audio Synthesis Some Practical Multimedia Digital Audio Applications: Having considered the background theory to digital audio processing, let's consider some practical multimedia related examples: Digital Audio Synthesis | making some sounds Digital Audio Effects | changing sounds via some standard effects. MIDI | synthesis and effect control and compression Roadmap for Next Few Weeks of Lectures CM3106 Chapter 5: Audio Synthesis Digital Audio Synthesis 2 Digital Audio Synthesis We have talked a lot about synthesising sounds. Several Approaches: Subtractive synthesis Additive synthesis FM (Frequency Modulation) Synthesis Sample-based synthesis Wavetable synthesis Granular Synthesis Physical Modelling CM3106 Chapter 5: Audio Synthesis Digital Audio Synthesis 3 Subtractive Synthesis Basic Idea: Subtractive synthesis is a method of subtracting overtones from a sound via sound synthesis, characterised by the application of an audio filter to an audio signal. First Example: Vocoder | talking robot (1939). Popularised with Moog Synthesisers 1960-1970s CM3106 Chapter 5: Audio Synthesis Subtractive Synthesis 4 Subtractive synthesis: Simple Example Simulating a bowed string Take the output of a sawtooth generator Use a low-pass filter to dampen its higher partials generates a more natural approximation of a bowed string instrument than using a sawtooth generator alone. 0.5 0.3 0.4 0.2 0.3 0.1 0.2 0.1 0 0 −0.1 −0.1 −0.2 −0.2 −0.3 −0.3 −0.4 −0.5 −0.4 0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20 subtract synth.m MATLAB Code Example Here.
    [Show full text]