Designing Audio Effect Plug-Ins in C++ with Digital Audio Signal Processing Theory

Total Page:16

File Type:pdf, Size:1020Kb

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 for Use 41 3.9 Setup Preferences 43 3.9.1 Project: Volume 44 3.9.2 Volume GUI 45 3.9.3 Configure a Slider Control 46 3.9.4 Volume.h File 48 3.9.5 Volume.cpp File 50 3.10 Design a Volume-in-dB Plug-In 54 3.10.1 Project: VolumedB 56 3.10.2 VolumedB GUI 56 3.10.3 VolumedB.h File 56 3.10.4 VolumedB.cpp File 57 3.11 Design a High-Frequency Tone Control Plug-In 58 3.11.1 Project: SimpleHPF 60 3.11.2 SimpleHPF GUI 60 3.11.3 SimpleHPF.h File 60 3.11.4 SimpleHPF.cpp File 62 3.12 Design a High-Frequency Tone Control with Volume Plug-In 66 3.12.1 Project: SimpleHPF 66 3.12.2 SimpleHPF GUI 66 3.12.3 SimpleHPF.h File 66 3.12.4 SimpleHPF.cpp File 67 3.13 The User Plug-In Menu in RackAFX 69 Chapter 4: How DSP Filters Work 71 4.1 First-Order Feed-Forward Filter 74 4.2 Design a General First-Order Feed-Forward Filter 84 4.3 First-Order Feed-Back Filter 88 4.4 Design a General First-Order Feed-Back Filter 89 Contents ix 4.4.1 Project FeedBackFilter 89 4.4.2 FeedBackFilter GUI 89 4.4.3 FeedBackFilter.h File 89 4.4.4 FeedBaclcFilter.cpp File 90 4.5 Observations 94 4.5.1 General 94 4.5.2 Feed-Forward Filters 95 4.5.3 Feed-Back Filters 95 Bibliography 95 Chapter 5: Basic DSP Theory 97 5.1 The Complex Sinusoid 97 5.2 Complex Math Review 100 5.3 Time Delay as a Math Operator 102 5.4 First-Order Feed-Forward Filter Revisited 103 5.4.1 Negative Frequencies 104 5.4.2 Frequencies Above and Below ±Nyquist 106 5.5 Evaluating the Transfer Function H(o>) 106 5.5.1 DC(OHz) 107 5.5.2 Nyquist 0) 108 5.5.3 >/2 Nyquist (tt/2) 109 5.5.4 V* Nyquist (ir/4) 109 5.6 Evaluating 112 5.7 The z Substitution 114 5.8 The z Transform 114 5.9 The z Transform of Signals 116 5.10 The z Transform of Difference Equations 117 5.11 The z Transform of an Impulse Response 118 5.12 The Zeros of the Transfer Function 119 5.13 Estimating the Frequency Response: Zeros 121 5.14 Filter Gain Control 122 5.15 First-Order Feed-Back Filter Revisited 123 5.16 The Poles of the Transfer Function 124 5.16.1 DC(OHz) 128 5.16.2 Nyquist (it) 128 5.16.3 Vi Nyquist (tt/2) 129 5.16.4 Va Nyquist (ir/4) 130 5.17 Second-Order Feed-Forward Filter 132 5.17.1 DC(OHz) 139 5.17.2 Nyquist (it) 139 5.17.3 V% Nyquist (tt/2) 140 5.17.4 V* Nyquist (tt/4) 140 5.18 Second-Order Feed-B ack Filter 142 5.18.1 DC(OHz) 148 5.18.2 Challenge 149 x Contents 5.19 First-Order Pole-Zero Filter: The Shelving Filter 149 5.19.1 DC(OHz) 155 5.19.2 Challenge 155 5.20 The Bi-Quadratic Filter 157 Bibliography 162 Chapter 6: Audio Filter Designs: IIR Filters 163 6.1 Direct z-Plane Design 163 6.2 Single Pole Filters 164 6.2.1 First-Order LPF and HPF 164 6.3 Resonators 165 6.3.1 Simple Resonator 165 6.3.2 Smith-Angell Improved Resonator 168 6.4 Analog Filter to Digital Filter Conversion 170 6.4.1 Challenge 178 6.5 Effect of Poles or Zeros at Infinity 178 6.6 Generic Bi-Quad Designs 181 6.6.1 First-Order LPF and HPF 182 6.6.2 Second-Order LPF and HPF 183 6.6.3 Second-Order BPF and BSF 184 6.6.4 Second-Order Butterworth LPF and HPF 184 6.6.5 Second-Order Butterworth BPF and BSF 185 6.6.6 Second-Order Linkwitz-Riley LPF and HPF 186 6.6.7 First- and Second-Order APF 188 6.7 Audio Specific Filters 188 6.7.1 Modified Bi-Quad 189 6.7.2 First-Order Shelving Filters 189 6.7.3 Second-Order Parametric/Peaking Filter: Non-Constant-Q 191 6.7.4 Second-Order Parametric/Peaking Filter: Constant-Q 192 6.7.5 Cascaded Graphic EQ: Non-Constant-Q 194 6.7.6 Cascaded Graphic EQ: Constant-Q 195 6.8 Design a Resonant LPF Plug-In 196 6.8.1 Project: ResonantLPF 197 6.8.2 ResonantLPF GUI 197 6.8.3 ResonantLPF.h File 198 6.8.4 ResonantLPF.cpp File 199 6.9 The Massberg Analog-Matched Low-Pass Filter 201 6.9.1 First-Order Massberg LPF 201 6.9.2 Second-Order Massberg LPF 203 Bibliography 204 References 205 Chapter 7: Delay Effects and Circular Buffers 207 7.1 The Basic Digital Delay 209 7.2 Digital Delay with Wet/Dry Mix 214 Contents xi 7.2.1 Frequency and Impulse Responses 214 7.2.2 The Effect of Feedback 218 7.3 Design a DDL Module Plug-In 224 7.3.1 Project: DDLModule 225 7.3.2 DDLModule GUI 225 7.3.3 DDLModule.h File 226 7.3.4 DDLModule.cpp File 226 7.3.5 Declare and Initialize the Delay Line Components 228 7.3.6 DDLModule.h File 230 7.3.7 DDLModule.cpp File 230 7.4 Modifying the Module to Be Used by a Parent Plug-In 233 7.4.1 DDLModule.h File 233 7.4.2 DDLModule.cpp File 234 7.5 Modifying the Module to Implement Fractional Delay 235 7.5.1 DDLModule.cpp File 238 7.6 Design a Stereo Digital Delay Plug-In 239 7.6.1 Project: StereoDelay 239 7.6.2 StereoDelay GUI 241 7.6.3 StereoDelay.h File 241 7.6.4 StereoDelay.cpp File 242 7.7 Design a Stereo Crossed-Feedback Delay Plug-In 244 7.8 Enumerated Slider Variables 245 7.8.1 Constructor 246 7.8.2 PrepareForPlayO 246 7.8.3 UserInterfaceChange() 246 7.8.4 ProcessAudioFrameQ 247 7.9 More Delay Algorithms 248 7.9.1 Advanced DDL Module 248 7.9.2 Delay with LPF in Feedback Loop 248 7.9.3 Multi-Tap Delay 249 7.9.4 Ping-Pong Delay 250 7.9.5 LCR Delay 250 Bibliography 251 Chapter 8: Audio Filter Designs: FIR Filters 253 8.1 The IR Revisited: Convolution 253 8.2 Using RackAFX's Impulse Convolver 258 8.2.1 Loading IR Files 258 8.2.2 Creating IR Files 259 8.2.3 The IR File Format 261 8.3 Using RackAFX's FIR Designer 262 8.4 The Frequency Sampling Method 263 8.4.1 Linear-Phase FIR Using the Frequency Sampling Method 263 8.5 Complementary Filter Design for Linear Phase FIR Filters 266 8.6 Using RackAFX's Frequency Sampling Method Tool 267 xii Contents 269 8.7 Designing a Complementary Filter 270 8.8 The Optimal (Parks-McClellan) Method 271 8.9 Using RackAFX's Optimal Method Tool 273 8.10 Design a Convolution Plug-In 275 8.10.1 Project: Convolver 275 8.10.2 Convolver.h File 276 8.10.3 Convolver.cpp File 281 8.11 Numerical Method FIR Filters 282 8.11.1 Moving Average Interpolator 284 8.11.2 Lagrange Interpolator 284 8.11.3 Median Filter 287 Bibliography 289 Chapter 9: Oscillators 289 9.1 Direct Form Oscillator 290 9.1.1 Initial Conditions 292 9.2 Design a Direct Form Oscillator Plug-In 292 9.2.1 Project: DirectOscillator 292 9.2.2 DirectOscillator GUI 294 9.2.3 DirectOscillator.h File 295 9.2.4 DirectOscillator.cpp File 297 9.2.5 Improving the Oscillator Design 299 9.3 The Gordon-Smith Oscillator 301 9.4 Wave Table Oscillators 303 9.5 Design a Wave Table Oscillator Plug-In 303 9.5.1 Project: WTOscillator 303 9.5.2 WTOscillator GUI 304 9.5.3 WTOscillator.h File 305 9.5.4 WTOscillator.cpp File 308 9.6 Adding More Wave Tables 308 9.6.1 WTOscillator.h File 309 9.6.2 WTOscillator.cpp File 310 9.6.3 WTOscillator GUI 310 9.6.4 WTOscillator.h File 311 9.6.5 WTOscillator.cpp File 312 9.7 Band-Limited Additive Wave Tables 313 9.7.1 WTOscillator GUI 313 9.7.2 WTOscillator.h File 314 9.7.3 WTOscillator.cpp File 317 9.7.4 Saw-Tooth 317 9.7.5 Square Wave 320 9.8 Additional Oscillator Features (LFO) 320 9.8.1 WTOscillator.h File 321 9.8.2 WTOscillator.cpp File 321 9.8.3 WTOscillator.h File 322 9.8.4 WTOscillator.cpp File Contents xiii 9.9 Bipolar/Unipolar Functionality 324 9.9.1 WTOscillator GUI 324 9.9.2 WTOscillator.cpp File 325 Bibliography 326 Chapter 10: Modulated Delay Effects 327 10.1 The Flanger/Vibrato Effect 328 10.2 The Chorus Effect 331 10.3 Design a Flanger/Vibrato/Chorus Plug-In 334 10.3.1 Project: ModDelayModule 335 10.3.2 ModDelayModule GUI 336 10.3.3 ModDelayModule.h File 336 10.3.4 ModDelayModule.cpp File 337 10.3.5 PrepareForPlayO 340 10.3.6 Challenge 342 10.4 Design a Stereo Quadrature Flanger Plug-In 342 10.4.1 Project: StereoQuadFlanger 342 10.4.2 StereoQuadFlanger GUI 342 10.4.3 StereoQuadFlanger.h File 342 10.4.4 StereoQuadFlanger.cpp File 343 10.4.5 Challenges 345 10.5 Design a Multi-Unit LCR Chorus Plug-In 345 10.5.1 Project: StereoLCRChorus 346 10.5.2 StereoLCRChorus GUI 346 10.5.3 StereoLCRChorus.h File 346 10.5.4 StereoLCRChorus.cpp File 347 10.6 More Modulated Delay Algorithms 350 10.6.1 Stereo Cross-Flanger/Chorus (Korg Triton®) 350 10.6.2 Multi-Flanger (Sony DPS-M7®) 350 10.6.3 Bass Chorus 350 10.6.4 Dimension-Style (Roland Dimension D®) 351 10.6.5 Deca-Chorus (Sony DPS-M7®) 354
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]
  • 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]
  • Desc9115 2012 Digital Audio Systems Assignment 1: Initial Technology Review
    DESC9115 2012 DIGITAL AUDIO SYSTEMS ASSIGNMENT 1: INITIAL TECHNOLOGY REVIEW Yu-Hsiang (Josh) Chang 420067955(SID) Digital Audio Systems, DESC9115, Semester 1 2012 Graduate Program in Audio and Acoustics Faculty of Architecture, Design and Planning, The University of Sydney ABSTRACT The wah-wah pedal has been used since 1960s for guitar players to increase the dynamic of their music. It is a type of guitar effect pedal that mimics human voice by changing the tone of signal to create a unique [wah] sound. The first section of this technology review will be introducing its background and how his effect was developed as a time-varying audio filter. The procedure how [wah] sound is formed by the human voice is also discussed in detail by analyzing its each sound component. Additionally, the mathematical model and equations of the bandpass filter will be focused in the later sections as well as its application M-fold wah-wah filter. This initial technology review thoroughly explains and discusses the Fig. 1: Wah-Wah pedal background, the theory of the wah-wah filter and its applications. It can be used in many occasions such as when a guitarist is soloing, or creating a "wacka-wacka" funk styled rhythm. The current method of generating the wah-wah effect is by using the signal processors that contain a bandpass filter with variable 1. INTRODUCTION center frequency and a small bandwidth. The bandpass centre frequency can be adjusted by moving the pedal back and forth. Although people may not be unfamiliar with the wah-wah sound effect from guitar performance, they probably do not know how interesting the knowledge and background behind 1.2.
    [Show full text]