FX Basics. Filtering STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA - Stanford University August 2013

Similar documents
FX Basics. Dynamics Effects STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA Stanford University July 2011

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Signals and Filtering

EXPERIMENT 1: Characteristics of Passive and Active Filters

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

Digital Filtering: Realization

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

yodel Documentation Release Romain Clement

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

FX Basics. Distortion STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA Stanford University July 2011

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Week 1 Introduction of Digital Signal Processing with the review of SMJE 2053 Circuits & Signals for Filter Design

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

DSP Based Corrections of Analog Components in Digital Receivers

Signal processing preliminaries

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES

Problem Point Value Your score Topic 1 28 Filter Analysis 2 24 Filter Implementation 3 24 Filter Design 4 24 Potpourri Total 100

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Lecture 3, Multirate Signal Processing

EE 422G - Signals and Systems Laboratory

DREAM DSP LIBRARY. All images property of DREAM.

Equalizers. Contents: IIR or FIR for audio filtering? Shelving equalizers Peak equalizers

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

FIR Filter For Audio Practitioners

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title

Cascaded Noise-Shaping Modulators for Oversampled Data Conversion

Project 2. Project 2: audio equalizer. Fig. 1: Kinter MA-170 stereo amplifier with bass and treble controls.

ECE 5650/4650 Exam II November 20, 2018 Name:

ELEC3104: Digital Signal Processing Session 1, 2013 LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS OF SYSTEMS

SECTION 7: FREQUENCY DOMAIN ANALYSIS. MAE 3401 Modeling and Simulation

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

LECTURER NOTE SMJE3163 DSP

Digital Filters. Linearity and Time Invariance. Implications of Linear Time Invariance (LTI) Music 270a: Introduction to Digital Filters

AUDIO SIEVING USING SIGNAL FILTERS

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

EE 470 Signals and Systems

Low Pass Filter Introduction

Design of IIR Filter Using Model Order Reduction. Techniques

Resonator Factoring. Julius Smith and Nelson Lee

Experiment 4- Finite Impulse Response Filters

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Operational Amplifiers

DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK.

EECS 452 Practice Midterm Exam Solutions Fall 2014

DSP Filter Design for Flexible Alternating Current Transmission Systems

Digital Filters Using the TMS320C6000

Signals and Systems Lecture 6: Fourier Applications

Signal Processing Summary

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

EEM478-WEEK8 Finite Impulse Response (FIR) Filters

3 Analog filters. 3.1 Analog filter characteristics

Professional Loudspeaker Systems and their Real World applications. High Performances Crossovers for. By Mario Di Cola, Audio Labs Systems,

Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab

F I R Filter (Finite Impulse Response)

E : Lecture 8 Source-Filter Processing. E : Lecture 8 Source-Filter Processing / 21

3.2 Measuring Frequency Response Of Low-Pass Filter :

Filters. Phani Chavali

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

ELEC3104: Digital Signal Processing Session 1, 2013

SIGMA-DELTA CONVERTER

Brief Introduction to Signals & Systems. Phani Chavali

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Processor Setting Fundamentals -or- What Is the Crossover Point?

Digital Signal Processing for Audio Applications

ASN Filter Designer Professional/Lite Getting Started Guide

Digital Filters FIR and IIR Systems

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

CS3291: Digital Signal Processing

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

EECS 452 Midterm Exam Winter 2012

UNIT-II MYcsvtu Notes agk

LECTURE 3 FILTERING OBJECTIVES CHAPTER 3 3-1

FIR window method: A comparative Analysis

Understanding Digital Signal Processing

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

A Low-Power Broad-Bandwidth Noise Cancellation VLSI Circuit Design for In-Ear Headphones

Modeling and Analysis of Systems Lecture #9 - Frequency Response. Guillaume Drion Academic year

Chapter 7: Signal Processing (SP) Tool Kit reference

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

INTRODUCTION TO COMPUTER MUSIC PHYSICAL MODELS. Professor of Computer Science, Art, and Music. Copyright by Roger B.

Signals and Systems Lecture 6: Fourier Applications

Laboration Exercises in Digital Signal Processing

ECE 5655/4655 Laboratory Problems

WARPED FILTER DESIGN FOR THE BODY MODELING AND SOUND SYNTHESIS OF STRING INSTRUMENTS

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

The Polyphase Filter Bank Technique

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Basic Signals and Systems

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

EE 403: Digital Signal Processing

Noise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for

Transcription:

FX Basics STOMPBOX DESIGN WORKSHOP Esteban Maestre CCRMA - Stanford University August 2013

effects modify the frequency content of the audio signal, achieving boosting or weakening specific frequency bands or regions. Although their broad application to processing sound signals dates back from the early days of recording, their use application to processing guitar electrical signal may have started in the 1950s. effects make use of filters, which are signal processors which alter magnitude and phase of signals by different amount s to different frequency components. Ex: equalization, wah-wah

Equalization Original term coined from the task of adjusting the balance between of (or equalize) different frequency components of a signal. Equalization is commonly achieved by means of a device specifically designed for a user-friendly control of the parameters governing the behavior of filters used for its construction. magnitude DESIRED FREQUENCY CONTENT CURRENT FREQUENCY CONTENT frequency User-friendly interface to controlling filters so that a desired alteration is achieved DIGITAL FILTERS!

Digital Filters Systems that perform mathematical operations (multiplications and additions) to a discrete input signal x[n] to modify some of its characteristics and obtain a discrete output signal y[n]. x[n] Input Signal DIGITAL FILTER y[n] Output Signal It is common to describe a digital filter in terms of how it affects amplitude and phase of different frequency components of a signal. Ultimately, the design of digital filters is driven by such desired features. In general, digital filter design is not an easy task.

Digital Filters (ii) Magnitude Response 1 0.5 LOWER FREQUENCIES ARE UNALTERED HIGHER FREQUENCIES ARE ATTENUATED BY A FACTOR OF 2 1/f L f L f c Characteristic Frequency f H f s /2 90 HIGHER FREQUENCIES ARE DELAYED BY A QUARTER OF A PERIOD 1/f H Phase Response 90 deg

Digital Filters (iii) FREQUENY DOMAIN FREQUENCY RESPONSE DFT TIME DOMAIN IMPULSE RESPONSE H(f) h[n] f s /2 f n <H(f) IMPULSE ( delta function) IMPULSE RESPONSE δ[n] h[n] X[f] H[f] PRODUCT Y[f] = X[f] H[f] x[n] h[n] CONVOLUTION y[n] = x[n]*h[n]

Digital Filters (iv) How to explore the frequency domain response of a given filter? Among other options SINUSOIDAL ANALYSIS - Generate a sinusoidal x i [n] for each frequency f i to study - Feed filter with each sinusoidal signal x i [n] and obtain a sinusoidal y i [n] - Obtain magnitude and phase responses for each frequency f i : H(f i ) = A(y i )/A(x i ) IMPULSE RESPONSE - Generate an impulse delta signal δ[n] <H[f i ] = <y i - <x i - Feed filter with signal δ[n] and obtain output signal h[n] - Obtain H(f) via DFT( h[n] ) - Obtain magnitude and phase responses as: H[f] = abs( H[Ω] ) <H[Ω] = angle( H[Ω] )

Digital Filters (v) Digital filters are commonly expressed by their difference equation: y[n] = M i=0 b 0 x[n] + b 1 x[n-1] + + b M x[n-m] = Σ b i x[n-i] - Σ a j y[n-j] NON-RECURSIVE PART - a 1 y[n-1] - - a N y[n-n] N j=1 RECURSIVE PART b i, a j max(m,n) CURRENT AND PREVIOUS INPUT SAMPLES PREVIOUS OUTPUT SAMPLES FILTER COEFFICIENTS FILTER ORDER or by their transfer function (in the frequency domain, through the Z transform): H(z) = Y(z) = b 0 + b 1 z -1 + + b N z -M X(z) 1+ a 1 z -1 + + a N z -N z -M denotes M samples of delay

Digital Filters (vi) Two main types of digital filters: Finite Impulse Response ( FIR ) - Presents only b i coefficients being non-zero : NON-RECURSIVE - Finite h[n] - Phase response is linear Infinite Impulse Response ( IIR ) H(z) = b 0 + b 1 z -1 + + b N z -M 1+ a 1 z -1 + + a N z -N - Presents both b i and a j coefficients being non-zero: RECURSIVE - Infinite h[n] - Phase response is non-linear - Need less computations for similar desired characteristics - May suffer from numerical problems due to feedback

Gain (log) Digital Filters (vii) Some prototypical basic filters ( magnitude response ): LOW-PASS (LP) HIGH-PASS (HP) BAND-PASS (BP) ALL-PASS (AP) Introduces a desired PHASE SHIFT Freq. (log) f L f H PEAK NOTCH LOW-SHELF HIGH-SHELF BW G L G H BW

Digital Filters (viii) LPF (Butterworth) design parameters/constraints: 1st ORDER db Characteristic Frequency -6dB/oct Roll-Off Desired { } DESIGN PROCEDURE f (oct) Filter Coefficients {b i,a j } 2nd ORDER db -12dB/oct Roll-Off High Q ( Quality Factor ) Low BW ( Bandwidth ) f (oct) Low Q High BW Desired {,Q} or {,BW} DESIGN PROCEDURE Filter Coefficients {b i,a j }

Digital Filters (ix) BPF design parameters/constraints: db BW Desired {f L,f H } or {,BW} 2nd ORDER -12dB/oct Roll-Off DESIGN PROCEDURE f L f H f (oct) Filter Coefficients {b i,a j } PEAK design parameters/constraints: db BW Desired {,G 0,BW} or {,G 0,Q} 2nd ORDER G 0 Q DESIGN PROCEDURE f (oct) Filter Coefficients {b i,a j }

Digital Filters (x) HIGH-SHELF design parameters/constraints: db Desired {,G 0,S} 2nd ORDER G 0 S SHELF SLOPE +12dB/oct (max) DESIGN PROCEDURE f (oct) Filter Coefficients {b i,a j } All these filters functions can be implemented by means of the 2 nd order BIQUAD section: How to design them? Extensive theory & literature!! Quick method: R. Bristow-Johnson s cookbook: H(z) = b 0 + b 1 z -1 + b 2 z -2 a 0 + a 1 z -1 + a N z -2 http://www.musicdsp.org/files/audio-eq-cookbook.txt 04_stomp_filtering_1.pd

Equalization (ii) N-BAND EQUALIZER by PARALLEL BAND-DEDICATED, FIXED FILTERS Input Signal Band Filters Variable Gains LP BP BP BP BP HP G G G G G G 0dB Output Signal + GRAPHIC EQUALIZER Fixed Filters: only Control of Combination (Gains)

Equalization (iii) N-BAND EQUALIZER by CASCADE of BAND-DEDICATED, CONTROLLABLE SECTIONS Input Signal Section 1 Section N Output Signal G LOW f LOW G MID f MID Q MID G HIGH f HIGH PARAMETRIC EQUALIZER Variable Gains, Frequencies, and Bandwidths. LOW SHELF PEAK HIGH SHELF ISSUE: Changes in Gain/Frequency lead to Q/BW variation Constant-Q filters! +G MAX 0dB http://www.rane.com/note101.html f LOW f PEAK f HIGH

Wah-wah Dating back from the 60s, its name was given after voice tone modulation (formant shift) caused by transition between vowels. http://www.geofex.com/article_folders/wahpedl/voicewah.htm In its most basic form, it consists on shifting the center frequency of a resonant filter (Peak BP or LP) Pedal Angle Input Signal map RESONANT FILTER Output Signal G G 0dB 0dB f MIN f MAX f MIN f MAX 05_stomp_filtering_2.pd