Delay=Width; % Basic Delay of Input Enhance the Effect and Cause Multiple Delays

Total Page:16

File Type:pdf, Size:1020Kb

Delay=Width; % Basic Delay of Input Enhance the Effect and Cause Multiple Delays Lab Report 2 Delay Based Modulated Audio Effects (Flanger, Chorus, Vibrato) Sam Johnson #420081870 Digital Audio Systems, DESC9115, Semester 1 2012 Graduate Program in Audio and Acoustics Faculty of Architecture, Design and Planning, The University of Sydney ABSTRACT width in # samples In my last lab report I discussed the importance of the basic digital delay, how it was created and how it is used in music, if WIDTH>DELAY film, and even in scientific experiments. I explained the use of error('delay greater than basic FIR and IIR comb filters to create feed forward and feed back delay !!!'); loops in order to create a natural sounding delay. In this report return; Im going to take it to the next level and talk about delay based end modulated effects. It is important to replicate these delayed MODFREQ=Modfreq/fs; % modulation sounds in a realistic way and realistic way to let the listener frequency in # samples know what is happening, rather than having an unnatural LEN=length(x); % # of samples sounding output. By using a mix of acoustical phenomena and in WAV-file digital algorithms, a digital system will be able to take an input L=2+DELAY+WIDTH*2; % length of the signal and replicate some of these sounds caused by a “digital entire delay delay” and modulation. Delayline=zeros(L,1); % memory allocation for delay INTRODUCTION y=zeros(size(x)); % memory allocation for output vector Some of the different effects that can be caused by delays are flanger, chorus, slap back and echo. One of the main differences for n=1:(LEN-1) between these effects is the delay time (t), but the modulation M=MODFREQ; type can alter the output to make a new effect too. These effects are made by “comb filtering”. Comb filtering adds a delayed MOD=sin(M*2*pi*n); signal of the input to itself causing what is known as ZEIGER=1+DELAY+WIDTH*MOD; interference where the waves will either sum or subtract. There i=floor(ZEIGER); are two main types of signal processor comb filters, The feed frac=ZEIGER-i; forward (FIR) and the feedback (IIR). [2] Delayline=[x(n);Delayline(1:L-1)]; %---Linear Interpolation----------- When a siren is passing by, we hear a pitch deviation due to the ------------------ doppler effect. This is the change in frequency of a wave for an observer moving relative to the source of the wave. It is y(n,1)=Delayline(i+1)*frac+Delayline(i commonly heard when a vehicle sounding a siren or horn )*(1-frac); approaches, passes, and recedes from an observer. The received frequency is higher (compared to the emitted frequency) during the approach, it is identical at the instant of passing by, and it is %---Allpass Interpolation---------- lower during the recession. Varying the distance is, for our -------------------- application, equivalent to varying the time delay. If we keep on %y(n,1)=(Delayline(i+1)+(1- varying periodically the time delay we will produce a periodical frac)*Delayline(i)-(1-frac)*ya_alt); pitch variation. This is precisely a vibrato effect. For that %ya_alt=ya(n,1); purpose we need a delay line and a low-frequency oscillator to end drive the delay time parameter. We should only listen to the delayed signal. Typical values of the parameters are 5 to 10 ms as average delay-time and 5 to 14 Hz rate for the low frequency oscillator. The vibrato is a good starting point to create the modulation in use for other effects. Delay Based Audio Effects The Vibrato function can be written like this: % Vibrato By using these two comb-filtering systems one can create function y = vibrato(x, fs, Modfreq, different types of effects to a signal. If only one delay is needed Width) (FIR) a variable on the delay time can be used to achieve our ya_alt=0; desired effect. If an IIR comb filter is used the feedback will Delay=Width; % basic delay of input enhance the effect and cause multiple delays. By using a sample in sec modulation on the input signal the output sound can create a DELAY=round(Delay*fs); % basic delay new effect. For example, a flanger has a time delay of between 0 and 15 milliseconds but also has a modulator varying the in # samples signal with a low frequency (such as 1Hz). [2] WIDTH=round(Width*fs); % modulation Once you understand how the vibrato effect works you can References: change the modulation and delay times to create other effects. Following the below chart you can see that to get a chorus [1] The Propagation of sound. 2012. The Propagation of effect you change the modulation to sinusoidal, and for a chorus sound. [ONLINE] Available at effect you change the modulation to random. http://www.jhu.edu/virtlab/ray/acoustic.htm . [Accessed 01 April 2012]. [2] Udo Zolzer, 2002. DAFX:Digital Audio Effects. 1 Edition. Wiley, Chapter 3 Delays [3] Feedforward Comb Filters. 2012. Feedforward Comb Filters. [ONLINE] Available at: https://ccrma.stanford.edu/~jos/waveguide/Feedforward_Comb _Filters.html . [Accessed 25 March 2012]. [4] Feedback Comb Filters. 2012. Feedback Comb Filters. [ONLINE] Available at: https://ccrma.stanford.edu/~jos/waveguide/Feedback_Comb_Fil ters.html . [Accessed 25 March 2012]. Typical Delay Based Effects The chorus effect naturally occurs when two or more sound waves with the same or similar timbre and similar but not exact pitch are combined. Digitally this uses several samples of the input signal but a variety of time delays between 10 and 25 milliseconds. Combining them all slightly out of time from each other positions them slightly differently on the comb filter frequency axis. Chorus system Conclusion By using different delay times and modulations, you can enhance your delay effect to create new sounding delay modulation techniques such as vibrato, flanging, and chorus. Each effect has its own unique delay time range and modulation type (shown above). .
Recommended publications
  • Estimation of Direction of Arrival of Acoustic Signals Using Microphone
    Time-Delay-Estimate Based Direction-of-Arrival Estimation for Speech in Reverberant Environments by Krishnaraj Varma Thesis submitted to the Faculty of The Bradley Department of Electrical and Computer Engineering Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the degree of Master of Science in Electrical Engineering APPROVED Dr. A. A. (Louis) Beex, Chairman Dr. Ira Jacobs Dr. Douglas K. Lindner October 2002 Blacksburg, VA KEYWORDS: Microphone array processing, Beamformer, MUSIC, GCC, PHAT, SRP-PHAT, TDE, Least squares estimate © 2002 by Krishnaraj Varma Time-Delay-Estimate Based Direction-of-Arrival Estimation for Speech in Reverberant Environments by Krishnaraj Varma Dr. A. A. (Louis) Beex, Chairman The Bradley Department of Electrical and Computer Engineering (Abstract) Time delay estimation (TDE)-based algorithms for estimation of direction of arrival (DOA) have been most popular for use with speech signals. This is due to their simplicity and low computational requirements. Though other algorithms, like the steered response power with phase transform (SRP-PHAT), are available that perform better than TDE based algorithms, the huge computational load required for this algorithm makes it unsuitable for applications that require fast refresh rates using short frames. In addition, the estimation errors that do occur with SRP-PHAT tend to be large. This kind of performance is unsuitable for an application such as video camera steering, which is much less tolerant to large errors than it is to small errors. We propose an improved TDE-based DOA estimation algorithm called time delay selection (TIDES) based on either minimizing the weighted least squares error (MWLSE) or minimizing the time delay separation (MWTDS).
    [Show full text]
  • TA-1VP Vocal Processor
    D01141720C TA-1VP Vocal Processor OWNER'S MANUAL IMPORTANT SAFETY PRECAUTIONS ªª For European Customers CE Marking Information a) Applicable electromagnetic environment: E4 b) Peak inrush current: 5 A CAUTION: TO REDUCE THE RISK OF ELECTRIC SHOCK, DO NOT REMOVE COVER (OR BACK). NO USER- Disposal of electrical and electronic equipment SERVICEABLE PARTS INSIDE. REFER SERVICING TO (a) All electrical and electronic equipment should be QUALIFIED SERVICE PERSONNEL. disposed of separately from the municipal waste stream via collection facilities designated by the government or local authorities. The lightning flash with arrowhead symbol, within equilateral triangle, is intended to (b) By disposing of electrical and electronic equipment alert the user to the presence of uninsulated correctly, you will help save valuable resources and “dangerous voltage” within the product’s prevent any potential negative effects on human enclosure that may be of sufficient health and the environment. magnitude to constitute a risk of electric (c) Improper disposal of waste electrical and electronic shock to persons. equipment can have serious effects on the The exclamation point within an equilateral environment and human health because of the triangle is intended to alert the user to presence of hazardous substances in the equipment. the presence of important operating and (d) The Waste Electrical and Electronic Equipment (WEEE) maintenance (servicing) instructions in the literature accompanying the appliance. symbol, which shows a wheeled bin that has been crossed out, indicates that electrical and electronic equipment must be collected and disposed of WARNING: TO PREVENT FIRE OR SHOCK separately from household waste. HAZARD, DO NOT EXPOSE THIS APPLIANCE TO RAIN OR MOISTURE.
    [Show full text]
  • Re-20 Om.Pdf
    RE-20_e.book 1 ページ 2007年6月8日 金曜日 午後4時32分 Thank you, and congratulations on your choice of the BOSS RE-20 Space Echo. Before using this unit, carefully read the sections entitled: “USING THE UNIT SAFELY” and “IMPORTANT NOTES” (separate sheet). These sections provide important information concerning the proper operation of the unit. Additionally, in order to feel assured that you have gained a good understanding of every feature provided by your new unit, this manual should be read in its entirety. The manual should be saved and kept on hand as a convenient reference. Main Features ● The RE-20 uses COSM technology to faithfully simulate the characteristics of the famed Roland SPACE ECHO RE-201. ● Faithfully reproduces the characteristics of the RE-201, including the echo’s distinctive wow- and flutter-induced wavering and the compressed sound obtained with magnetic saturation. ● The Mode Selector carries on the tradition of the RE-201, offering twelve different reverberation effects through various combinations of the three playback heads and reverb. ● You can set delay times with the TAP input pedal and use an expression pedal (sold separately) for controlling parameters. ● Equipped with a “Virtual Tape Display,” which produces a visual image of a running tape. About COSM (Composite Object Sound Modeling) Composite Object Sound Modeling—or “COSM” for short—is BOSS/Roland’s innovative and powerful technology that’s used to digitally recreate the sound of classic musical instruments and effects. COSM analyzes the many factors that make up the original sound—including its electrical and physical characteristics—and creates a digital model that accurately reproduces the original.
    [Show full text]
  • Implementing an M-Fold Wah-Wah Filter in Matlab
    “What if we had, not one Wah Wah Filter, not two, but 20?”: Implementing an M-Fold Wah-Wah Filter in Matlab Digital Audio Systems, DESC9115, 2020 Master of Interaction Design & Electronic Arts (Audio and Acoustics) Sydney School of Architecture, Design and Planning, The University of Sydney ABSTRACT An M-fold Wah-Wah filter can be described as an effect where multiple Wah-Wah filters are applied to a signal, each at a certain frequency range. This report describes the implementation of such a filter in Matlab. By using preexisting code on a single state-variable bandpass filter, multiple bandpass filters are implemented across a defined frequency spectrum. The filter is adjustable through a number of variables, these being: the number of bandpass filters (M), the damping factor of each filter, the spectrum for which the filters are applied, as well as the Wah Frequency, i.e. the number of cycles through each bandpass. 1. INTRODUCTION The Wah-Wah filter is commonly used by guitarist to alter the shape and tone of the note(s) they are playing. The effect can be described as the combination of ‘u’ and ‘ah’ sounds created by human voice. The mouth’s shape here going from a small O to a big O. The center frequencies are called “formants”. The Wah-Wah pedal works in a similar manner, the formants shifts creating a “wah” sound. The Wah-Wah filter is a time-varying delay line filter. Each filter has a set of unique characteristics such as the range of frequencies the effect is applied to and its Wah- Frequency, i.e.
    [Show full text]
  • Subwoofer Arrays: a Practical Guide
    Subwoofer Arrays A Practical Guide VVVeVeeerrrrssssiiiioooonnnn 111 EEElEllleeeeccccttttrrrroooo----VVVVooooiiiicccceeee,,,, BBBuBuuurrrrnnnnssssvvvviiiilllllleeee,,,, MMMiMiiinnnnnneeeessssoooottttaaaa,,,, UUUSUSSSAAAA AAApAppprrrriiiillll,,,, 22202000009999 © Bosch Security Systems Inc. Subwoofer Arrays A Practical Guide Jeff Berryman Rev. 1 / June 7, 2010 TABLE OF CONTENTS 1. Introduction .......................................................................................................................................................1 2. Acoustical Concepts.......................................................................................................................................2 2.1. Wavelength ..........................................................................................................................................2 2.2. Basic Directivity Rule .........................................................................................................................2 2.3. Horizontal-Vertical Independence...................................................................................................3 2.4. Multiple Sources and Lobing ...........................................................................................................3 2.5. Beamforming........................................................................................................................................5 3. Gain Shading....................................................................................................................................................6
    [Show full text]
  • Effect Types and Parameters
    Effect Types and Parameters © 2017 ZOOM CORPORATION Manufacturer names and product names are trademarks or registered trademarks of their respective owners. The names are used only to illustrate sonic characteristics and do not indicate any affiliation with the Zoom Corporation. Effect explanation overview Pedal control possible icon Effect type Effect explanation Parameter range PDL Vol The volume curve of the volume pedal can be set. VOL Adjusts the volume. 0 – 100 P Min Adjusts the volume when the pedal is at minimum position. 0 – 100 Max Adjusts the volume when the pedal is at maximum position. 0 – 100 Curve Sets the volume curve. A , B Effect Screen Parameter Parameter explanation Tempo synchronization possible icon Contents DYNAMICS 3 FILTER 4 DRIVE 6 AMP 8 CABINET 9 MODULATION 10 SFX 12 DELAY 13 REVERB 14 PEDAL 15 Additional tables 16 2 3 Effect Types and Parameters [ DYNAMICS ] SlowATTCK This effect slows the attack of each note, resulting in a violin-like performance. Time Adjusts the attack time. 1 – 50 Curve Set the curve of volume change during attack. 0 – 10 Tone Adjusts the tone. 0 – 100 VOL Adjusts the volume. 0 – 100 ZOOM's unique noise reduction cuts noise during pauses in playing without affecting ZNR the tone. GTRIN , DETCT Sets control signal detection level. EFXIN Depth Sets the depth of noise reduction. 0 – 100 THRSH Adjusts the effect sensitivity. 0 – 100 Decay Adjust the envelope release. 0 – 100 This is a simulation of the Demeter COMP-1 Compulator. BlackOpt Added parameters allow you to adjust the tone. Comp Adjusts the depth of the compression.
    [Show full text]
  • Digital Guitar Effects Pedal
    Digital Guitar Effects Pedal 01001000100000110000001000001100 010010001000 Jonathan Fong John Shefchik Advisor: Dr. Brian Nutter Texas Tech University SPRP499 [email protected] Presentation Outline Block Diagram Input Signal DSP Configuration (Audio Processing) Audio Daughter Card • Codec MSP Configuration (User Peripheral Control) Pin Connections User Interfaces DSP Connection MSP and DSP Connections Simulink Modeling MSP and DSP Software Flowcharts 2 Objective \ Statements To create a digital guitar effects pedal All audio processing will be done with a DSP 6711 DSK board With an audio daughter card All user peripherals will be controlled using a MSP430 evaluation board Using the F149 model chip User Peripherals include… Floor board switches LCD on main unit Most guitar effect hardware that is available on the market is analog. Having a digital system would allow the user to update the system with new features without having to buy new hardware. 3 Block Diagram DSP 6711 DSK Board Audio Daughter Card Input from Output to Guitar ADC / DAC Amplifier Serial 2 RX Serial 2 [16 bit] Data Path Clock Frame Sync Serial 2 TX MSP 430 Evaluation Board [16 bit] GPIO (3) Outlet MSP430F149 TMS320C6711 Power Supply GND +5V Data Bus (8) RS LEDs (4) EN Voltage +3.3V to MSP R/W Switch Select (4) +5V to LCD LCD Footboard Regulator +0.7V to LCD Drive Display Switch 4 Guitar Input Signal Voltage Range of Input Signal Nominal ~ 300 mV peak-to-peak Maximum ~ 3 V Frequency Range Standard Tuning 500 Hz – 1500 Hz 5 Hardware: DSP
    [Show full text]
  • Microkorg Owner's Manual
    E 2 ii Precautions Data handling Location THE FCC REGULATION WARNING (for U.S.A.) Unexpected malfunctions can result in the loss of memory Using the unit in the following locations can result in a This equipment has been tested and found to comply with the contents. Please be sure to save important data on an external malfunction. limits for a Class B digital device, pursuant to Part 15 of the data filer (storage device). Korg cannot accept any responsibility • In direct sunlight FCC Rules. These limits are designed to provide reasonable for any loss or damage which you may incur as a result of data • Locations of extreme temperature or humidity protection against harmful interference in a residential loss. • Excessively dusty or dirty locations installation. This equipment generates, uses, and can radiate • Locations of excessive vibration radio frequency energy and, if not installed and used in • Close to magnetic fields accordance with the instructions, may cause harmful interference to radio communications. However, there is no Printing conventions in this manual Power supply guarantee that interference will not occur in a particular Please connect the designated AC adapter to an AC outlet of installation. If this equipment does cause harmful interference Knobs and keys printed in BOLD TYPE. the correct voltage. Do not connect it to an AC outlet of to radio or television reception, which can be determined by Knobs and keys on the panel of the microKORG are printed in voltage other than that for which your unit is intended. turning the equipment off and on, the user is encouraged to BOLD TYPE.
    [Show full text]
  • Designing and Composing for Interdependent Collaborative
    Louisiana State University LSU Digital Commons LSU Doctoral Dissertations Graduate School May 2019 Designing and Composing for Interdependent Collaborative Performance with Physics-Based Virtual Instruments Eric Sheffield Louisiana State University and Agricultural and Mechanical College, [email protected] Follow this and additional works at: https://digitalcommons.lsu.edu/gradschool_dissertations Part of the Composition Commons, Music Performance Commons, and the Other Music Commons Recommended Citation Sheffield, Eric, "Designing and Composing for Interdependent Collaborative Performance with Physics-Based Virtual Instruments" (2019). LSU Doctoral Dissertations. 4918. https://digitalcommons.lsu.edu/gradschool_dissertations/4918 This Dissertation is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion in LSU Doctoral Dissertations by an authorized graduate school editor of LSU Digital Commons. For more information, please [email protected]. DESIGNING AND COMPOSING FOR INTERDEPENDENT COLLABORATIVE PERFORMANCE WITH PHYSICS-BASED VIRTUAL INSTRUMENTS A Dissertation Submitted to the Graduate Faculty of the Louisiana State University and Agricultural and Mechanical College in partial fulfillment of the requirements for the degree of Doctor of Philosophy in The School of Music by Eric Sheffield B.M., University of Wisconsin-Whitewater, 2008 M.A., University of Michigan, 2015 August 2019 c 2019 Eric Sheffield ii ACKNOWLEDGEMENTS Thank you to: Teachers and mentors, past and present|Dr. Edgar Berdahl, Dr. Jesse Allison, Derick Ostrenko, Dr. Stephen David Beck, Dr. Michael Gurevich, and Dr. Sile O'Modhrain, among others|for encouraging and guiding my music, design, and research interests. The LSU School of Music and CCT for letting me host a festival, funding my conference travel, providing great spaces to work and perform, and giving me an opportunity to teach computer music to LSU students.
    [Show full text]
  • Flanger, Chorus, Slapback, Echo)
    Initial Technology Review 1 Delay Based Audio Effects (Flanger, Chorus, Slapback, Echo) Sam Johnson #420081870 Digital Audio Systems, DESC9115, Semester 1 2012 Graduate Program in Audio and Acoustics Faculty of Architecture, Design and Planning, The University of Sydney ABSTRACT o m In many physical acoustic spaces, sound waves will often b reflect off surfaces causing a perceived delay to the human ear. These delays have various effects in the physical domain, but F are sometimes desired in the digital domain for musical effects, i to compliment a post production visual for continuity, or even l just to make something sound different and unique. It is t important to replicate these delayed sounds in a realistic way e and realistic way to let the listener know what is happening, r rather than having an unnatural sounding output. By using a mix of acoustical phenomena and digital algorithms, a digital system will be able to take an input signal and replicate some of these sounds caused by a “digital delay”. INTRODUCTION When a sound wave travels from the source it will disperse in different directions. The sound waves will continue until it is either out of energy or it hits a surface and reflects a different direction. When the receiver (an ear or microphone) hears the sound, it hears the direct sound coming straight from the sound FIR Comb Filter source before hearing a delayed signal from a reflected surface. If the sound must travels further then there is more time for the The behavior of this type of comb filter is interesting in the way direct signal to be heard, creating an echo, where as if it is close that the time domain affects the frequency domain.
    [Show full text]
  • IM69D130 High Performance MEMS Microphone with 69 Db(A) SNR and Lowest Distortion
    Product brief IM69D130 High performance MEMS microphone with 69 dB(A) SNR and lowest distortion The IM69D130 is designed for applications where low self-noise (high SNR), wide dynamic Key features range, low distortion and a high acoustic overload point is required. ››69 dB(A) signal-to-noise ratio Infineon’s Dual Backplate MEMS technology is based on a miniaturized symmetrical micro­ ››Below 1 percent distortion phone design, similar to studio condenser microphones, and results in high linearity of at 128 dBSPL (130 dBSPL AOP) the output signal within a dynamic range of 105 dB. The microphone distortion does not ››Digital (PDM) interface with 6 µs exceed 1 percent even at sound pressure levels of 128 dBSPL. The flat frequency response group delay at 1 kHz (28 Hz low-frequency roll-off) and tight manufacturing tolerance result in close ››Tight sensitivity (-36 ±1 dB) and phase matching of the microphones, which is important for multi-microphone (array) phase (±2°) tolerances applications. ››28 Hz low-frequency roll-off ››980 µA current consumption The digital microphone ASIC contains an extremely low-noise preamplifier and a high-per- (300 µA in low-power mode) formance sigma-delta ADC. Different power modes can be selected in order to suit specific current consumption requirements. Key benefits Each IM69D130 microphone is trimmed with an advanced IFX calibration algorithm, resulting in small sensitivity tolerances (±1 dB). The phase response is tightly matched ››Far field and soft audio signal (± 2°) between microphones, in order to support beamforming applications. pick-up ››Clear audio signals even at high Signal-to-noise ratio (SNR) THD below 1% sound pressure levels 70 130 ››Enabling precise steering of audio beams for advanced audio 69 125 algorithms 68 67 120 SPL] [dB(A)] 66 [dB 115 Typical applications 65 110 ››Voice User Interface (VUI): 64 e.g.
    [Show full text]
  • A Study of Selected Works for Marimba with Electronic Effect Brett Bernard Landry University of South Carolina
    University of South Carolina Scholar Commons Theses and Dissertations 6-30-2016 The lecE tric Marimba: A Study Of Selected Works For Marimba With Electronic Effect Brett Bernard Landry University of South Carolina Follow this and additional works at: https://scholarcommons.sc.edu/etd Part of the Music Performance Commons Recommended Citation Landry, B. B.(2016). The Electric Marimba: A Study Of Selected Works For Marimba With Electronic Effect. (Doctoral dissertation). Retrieved from https://scholarcommons.sc.edu/etd/3446 This Open Access Dissertation is brought to you by Scholar Commons. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of Scholar Commons. For more information, please contact [email protected]. THE ELECTRIC MARIMBA: A STUDY OF SELECTED WORKS FOR MARIMBA WITH ELECTRONIC EFFECT by Brett Bernard Landry Bachelor of Music Louisiana State University, 2005 Bachelor of Music Education Louisiana State University, 2005 Master of Arts Indiana University of Pennsylvania, 2012 Submitted in Partial Fulfillment of the Requirements For the Degree of Doctor of Musical Arts in Performance School of Music University of South Carolina 2016 Accepted by: Scott Herring, Major Professor Reginald Bain, Committee Member Greg Stuart, Committee Member Scott Weiss, Committee Member Lacy Ford, Senior Vice Provost and Dean of Graduate Studies © Copyright by Brett Bernard Landry, 2016 All Rights Reserved. ii ACKNOWLEDGEMENTS This document would not have been possible without the help of many people. To my major professor, Scott Herring – thank you for encouraging me to play Fabian Theory as your student, and for supporting me to create and continue this project.
    [Show full text]