Elec 484. Assignment 4

Size: px
Start display at page:

Download "Elec 484. Assignment 4"

Transcription

1 Elec 484 Assignment 4 Matthew Pierce V

2 Part 1 Implement a limiter using the ideas in the text Figures 5.3 and 5.8 and test it on two carefully chosen sound files (e.g. voice, drums). Adjust the parameters so that the limiting effect can be clearly heard. Clearly document the algorithm and your code, and comment on when and how the limiter is working. Plot the static gain f(n) and dynamic gain g(n), along with the input waveform, level measurement and output waveform. Post the input and output sound files, software and text file on your website. The following Matlab function takes an audio file and runs it through a limiter with various function parameters (this program can also be found on the website): % A limiter function which takes in an audio file and limiting parameters % and ouputs the limited audio signal function y = limiter(in_file, out_file, LT, AT, RT) % Read in the audio file [x, f_s, bps] = wavread(in_file); % Set delay value and the limiter slope D = 1; LS = 1; % Initialize the envelope, static gain, dynamic gain, and output signals x_peak = zeros(1, length(x)); x_peak(1) = AT*abs(x(1)); f = zeros(1, length(x)); g = zeros(1, length(x)); y = zeros(1, length(x)); for n=2:1:length(x) % Get the peak values (signal envelope) x_peak(n) = (1 - AT - RT)*x_peak(n-1) + AT*abs(x(n)); % Do linear/log conversion X = 20*log10(x_peak(n)); % Check the value against the threshold if X > LT % Obtain the static gain value F = -LS*(X - LT); % Do log/linear conversion f(n) = 10^(F/20); else % If it's less than the threshold, take the input signal f(n) = x(n);

3 end end end % Obtain the dynamic gain value g(n) = (1-AT)*g(n-1) + AT*f(n); % Get the output samples y(n) = x(n-d)*g(n); % Plot each of the vectors found above n = 1:length(x); subplot(3, 2, 1); plot(n, x(n)); title('input signal'); xlabel('time'), ylabel('amplitude'); subplot(3, 2, 2); plot(n, x_peak(n)); title('envelope detector'); xlabel('time'), ylabel('peak'); subplot(3, 2, 3); plot(n, f(n)); title('static gain f(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 4); plot(n, g(n)); title('dynamic gain g(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 5); plot(n, y(n)); title('output signal'); xlabel('time'), ylabel('amplitude'); % Write the limited output file to a new wav wavwrite(y, f_s, bps, out_file); Process:

4 I ran the limiter function with two specifically chosen audio files. The first, claire_oubli_voix.wav, was chosen because it contains vocals and some ambience. The second, beat.wav is a percussive track. The settings for each track were as follows; Input Track Limiter Attack Release Output Track Threshold Time Time claire_oubli_voix.wav limit_claire.wav beat.wav limit_beat.wav All tracks can be found on the website and listened to for comparison. The output plots for each track s input, peak values, static gain, dynamic gain, and output, are as follows: limit_claire.wav Matlab plots

5 limit_beat.wav Matlab plots Discussion: The limiter filters out all gain values above the threshold value, which has been normalized between 0 and 1 (it is not a hard limiter, however, and uses a linear slope while leveling). The output plot (plot 5) shows the limited audio, and a we can see that a lower threshold value allows more output through, which is evident when comparing limit_claire.wav (threshold = 0.9) to limit_beat.wav (threshold = 0.5). Part 2 Repeat Part 1 for a compressor/expander using the ideas in the text. The following Matlab function takes an audio file and runs it through the compressor/expander with various function parameters (this program can also be found on the website): % A compressor/expander function which takes in an audio file and required % parameters and ouputs the compressed/expanded audio signal function y = compressor(in_file, out_file, thresh, TAV, R) % Read in the audio file [x, f_s, bps] = wavread(in_file);

6 % Set the slope based on the R value and set delay slope = 1-1/R; D = 1; % Initialize the envelope, static gain, dynamic gain, and output signals x_rms = zeros(1, length(x)); x_rms(1) = TAV*(x(1)^2); f = zeros(1, length(x)); g = zeros(1, length(x)); y = zeros(1, length(x)); for n=2:1:length(x) end % Get the rms values (signal envelope) x_rms(n) = (1 - TAV)*x_rms(n-1) + TAV*(x(n)^2); % Do linear/log conversion X = 20*log10(x_rms(n)); % Obtain the static gain value F = -slope*abs((x - thresh)); % Do log/linear conversion f(n) = 10^(F/20); % Obtain the dynamic gain value g(n) = (1-0.5)*g(n-1) + 0.5*f(n); % Get the output samples y(n) = x(n-d)*g(n); % Plot each of the vectors found above n = 1:length(x); subplot(3, 2, 1); plot(n, x(n)); title('input signal'); xlabel('time'), ylabel('amplitude'); subplot(3, 2, 2); plot(n, x_rms(n)); title('envelope detector'); xlabel('time'), ylabel('average');

7 end subplot(3, 2, 3); plot(n, f(n)); title('static gain f(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 4); plot(n, g(n)); title('dynamic gain g(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 5); plot(n, y(n)); title('output signal'); xlabel('time'), ylabel('amplitude'); % Write the compressed output file to a new wav wavwrite(y, f_s, bps, out_file); Process: I ran the compressor/expander function with the two audio files from part 1. I created a compressed and expanded audio file for each of the two files for a total of four. The parameters of the four files are as follows: Input Track Threshold TAV Ratio (R) Output Track claire_oubli_voix.wav compress_claire.wav beat.wav compress_beat.wav claire_oubli_voix.wav expand_claire.wav beat.wav expand_beat.wav All tracks can be found on the website and listened to for comparison. The output plots for compress_claire.wav are as follows:

8 compress_claire.wav Matlab plots Discussion: The filter acts as a compressor when the static curve ratio R is a value greater than 1 (an acute angle compared with the input gain level). When the value is between 0 and 1 the filter acts as an expander (an obtuse angle compared with the input gain level). The compressed audio gives a smaller dynamic range from the input audio, while retaining the basic shape. The expanded audio makes everything over the threshold volume more exaggerated; for instance, the peak drum hits in beat.wav become much bigger and sound much longer (also creating a smearing effect). Part 3 Repeat Part 1 for a noise gate, using the ideas in the text. The following Matlab function takes an audio file and runs it through the noise gate with various function parameters (this program can also be found on the website): % A noise gate function which takes in an audio file and required % parameters and ouputs the gated audio signal function y = noise_gate(in_file, out_file, NT, TAV) % Read in the audio file [x, f_s, bps] = wavread(in_file);

9 % Set the Ratio (R), Delay (D) and k (gain smooting) values R = 0; D = 1; k = 0.5; % Initialize the envelope, static gain, dynamic gain, and output signals x_rms = zeros(1, length(x)); x_rms(1) = TAV*(x(1)^2); f = zeros(1, length(x)); g = zeros(1, length(x)); y = zeros(1, length(x)); for n=2:1:length(x) end % Get the rms values (signal envelope) x_rms(n) = (1 - TAV)*x_rms(n-1) + TAV*(x(n)^2); % Get the threshold value x_d = -(1-1/R)*(x_rms(n) - NT); % Check the value against 0 if x_d > 0 % If the input is above the threshold let it through f(n) = 1; else % If not remove the signal f(n) = 0; end % Obtain the dynamic gain value g(n) = (1-k)*g(n-1) + k*f(n); % Get the output samples y(n) = x(n-d)*g(n); % Plot each of the vectors found above n = 1:length(x); subplot(3, 2, 1); plot(n, x(n)); title('input signal'); xlabel('time'), ylabel('amplitude'); subplot(3, 2, 2);

10 end plot(n, x_rms(n)); title('envelope detector'); xlabel('time'), ylabel('average'); subplot(3, 2, 3); plot(n, f(n)); title('static gain f(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 4); plot(n, g(n)); title('dynamic gain g(n)'); xlabel('time'), ylabel('gain'); subplot(3, 2, 5); plot(n, y(n)); title('output signal'); xlabel('time'), ylabel('amplitude'); % Write the gated output file to a new wav wavwrite(y, f_s, bps, out_file); Process: I ran the noise gate function with the two audio files from part 1. I created a gated output file for each input file. The settings for each track were as follows; Input Track Threshold (NT) TAV Output Track claire_oubli_voix.wav gate_claire.wav beat.wav gate_beat.wav All tracks can be found on the website and listened to for comparison. The output plots for each track s input, peak values, static gain, dynamic gain, and output, are as follows:

11 gate_claire.wav Matlab plots gate_beat.wav Matlab plots

12 Discussion: From the output plots for both input files we can see that the noise gate acts as expected, in that it maintains the same shape of the input at points where the gain is above the threshold and is zero otherwise. Using a much smaller NT value for the vocal audio, one can hear how it acts more as a low-level noise removal system (like its name suggests) while keeping most of the vocal line intact. Using a higher NT value, as I did on the drum track, the result is much more dramatic, as only the very high values get through and everything else is silent. Some noise is present due to the rapid transition between silences and high-gain output. A more robust system would work better in practice. Part 4 Repeat the vibrato exercise (Assignment 3 part 4) using a real instrument such as a trumpet or flute. Post both the original sound file (with no vibrato) and the processed file. Choose the vibrato parameters (depth, rate) to yield a pleasing sound. The Matlab program below was used to create the vibrato. It is a modified version of the vibrato program from assignment 3. The only change is that it implements allpass interpolation rather than linear interpolation for a more robust filter (this software is also available from the website): % Add a vibrato effect to an audio vector and write to a new wav file function y = vibrato(wav_src, wav_out, mod, width) % Read in the audio vector and get sampling rate and bps [x, f_s, bps] = wavread(wav_src); % Set the "basic" delay and find all variables in samples as well delay = width; sample_delay = round(delay*f_s); sample_width = round(width*f_s); sample_mod = mod/f_s; ya_alt = 0; % Get the entire length of the delay src_length = length(x); total_delay = 2 + sample_delay + sample_width*2; % Allocate memory for the delay line and output vector delay_line = zeros(total_delay, 1); y = zeros(size(x)); for n=1:src_length-1 % Create the delay line oscillator osc = sin(sample_mod*2*pi*n);

13 end end % Set the z value using the oscillator and subtract from its floor z = 1 + sample_delay + sample_width*osc; i = floor(z); frac = z - i; % New fractional delay % Set the delay line delay_line = [x(n);delay_line(1:total_delay-1)]; % Do Allpass interpolation y(n,1) = (delay_line(i+1)+(1-frac)*delay_line(i)-(1-frac)*ya_alt); ya_alt = y(n,1); % Write the output vector to file wavwrite(y, f_s, bps, wav_out); Process: I found a single, unwavering trumpet tone from ( C_trumpet_E4.wav ). I filtered this file with the vibrato program a number of times, testing various mod and width values to listen to their output. I compared these output to various other vibrato sounds that I downloaded. The settings I finally chose, which are present in the output file vib_trumpet.wav are as follows: Mod = 2.4Hz Width = 0.001s Discussion: Both the original trumpet sound and vib_trumpet.wav are available on the website for comparison. I found that with a relatively fast oscillation, but a small width, I was able to achieve the most realistic sounding vibrato (based on my other listenings).

ELEC 484 Assignment 4

ELEC 484 Assignment 4 ELEC 484 Assignment 4 Gerald Leung V00659924 1. Implementing an audio limiter An audio limiter is implemented by calculating the RMS peak of the input signal, comparing it with a limiter threshold value,

More information

Comparison of Multirate two-channel Quadrature Mirror Filter Bank with FIR Filters Based Multiband Dynamic Range Control for audio

Comparison of Multirate two-channel Quadrature Mirror Filter Bank with FIR Filters Based Multiband Dynamic Range Control for audio IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-issn: 2278-2834,p- ISSN: 2278-8735.Volume 9, Issue 3, Ver. IV (May - Jun. 2014), PP 19-24 Comparison of Multirate two-channel Quadrature

More information

CM0340 Tutorial 6: MATLAB Digital Audio Effects

CM0340 Tutorial 6: MATLAB Digital Audio Effects CM0340 Tutorial 6: MATLAB Digital Audio Effects 1 In this tutorial we explain some of the MATLAB code behind some of the digital audio effects we have studied. Basically this revolves around: using filters

More information

NAME STUDENT # ELEC 484 Audio Signal Processing. Midterm Exam July Listening test

NAME STUDENT # ELEC 484 Audio Signal Processing. Midterm Exam July Listening test NAME STUDENT # ELEC 484 Audio Signal Processing Midterm Exam July 2008 CLOSED BOOK EXAM Time 1 hour Listening test Choose one of the digital audio effects for each sound example. Put only ONE mark in each

More information

Warsaw University of Technology Institute of Radioelectronics Nowowiejska 15/19, Warszawa, Poland

Warsaw University of Technology Institute of Radioelectronics Nowowiejska 15/19, Warszawa, Poland ARCHIVES OF ACOUSTICS 33, 1, 87 91 (2008) IMPLEMENTATION OF DYNAMIC RANGE CONTROLLER ON DIGITAL SIGNAL PROCESSOR Rafał KORYCKI Warsaw University of Technology Institute of Radioelectronics Nowowiejska

More information

ELEC350 Assignment 5

ELEC350 Assignment 5 ELEC350 Assignment 5 Instructor: Prof. Peter F. Driessen Marker: Peng Lu You are given a sound file in.wav format containing a binary FSK signal with noise. You are asked to implement a receiver and identify

More information

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop)

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop) All signals found in nature are analog they re smooth and continuously varying, from the sound of an orchestra to the acceleration of your car to the clouds moving through the sky. An excerpt from http://www.netguru.net/ntc/ntcc5.htm

More information

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative

More information

Fourier Series and Gibbs Phenomenon

Fourier Series and Gibbs Phenomenon Fourier Series and Gibbs Phenomenon University Of Washington, Department of Electrical Engineering This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License

More information

DREAM DSP LIBRARY. All images property of DREAM.

DREAM DSP LIBRARY. All images property of DREAM. DREAM DSP LIBRARY One of the pioneers in digital audio, DREAM has been developing DSP code for over 30 years. But the company s roots go back even further to 1977, when their founder was granted his first

More information

Figure 1: Block diagram of Digital signal processing

Figure 1: Block diagram of Digital signal processing Experiment 3. Digital Process of Continuous Time Signal. Introduction Discrete time signal processing algorithms are being used to process naturally occurring analog signals (like speech, music and images).

More information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and

More information

School of Engineering and Information Technology ASSESSMENT COVER SHEET

School of Engineering and Information Technology ASSESSMENT COVER SHEET Student Name Student ID Assessment Title Unit Number and Title Lecturer/Tutor School of Engineering and Information Technology ASSESSMENT COVER SHEET Rajeev Subramanian S194677 Laboratory Exercise 3 report

More information

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011 Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#4 Sampling and Quantization OBJECTIVES: When you have completed this assignment,

More information

Project 1. Notch filter Fig. 1: (Left) voice signal segment. (Right) segment corrupted by 700-Hz sinusoidal buzz.

Project 1. Notch filter Fig. 1: (Left) voice signal segment. (Right) segment corrupted by 700-Hz sinusoidal buzz. Introduction Project Notch filter In this course we motivate our study of theory by first considering various practical problems that we can apply that theory to. Our first project is to remove a sinusoidal

More information

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

FX Basics. Dynamics Effects STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA Stanford University July 2011 FX Basics STOMPBOX DESIGN WORKSHOP Esteban Maestre CCRMA Stanford University July 2 Dynamics effects were the earliest effects to be introduced by guitarists. The simple idea behind dynamics effects is

More information

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA Department of Electrical and Computer Engineering ELEC 423 Digital Signal Processing Project 2 Due date: November 12 th, 2013 I) Introduction In ELEC

More information

DESC9115 Written Review 2: Digital Implementation of a Leslie Speaker Effect. Digital Audio Systems: DESC9115, Semester

DESC9115 Written Review 2: Digital Implementation of a Leslie Speaker Effect. Digital Audio Systems: DESC9115, Semester DESC9115 Written Review 2: Digital Implementation of a Leslie Speaker Effect Digital Audio Systems: DESC9115, Semester 1 2014 David Anderson 430476729 06/05/2014 Abstract In this written review the author

More information

EE 264 DSP Project Report

EE 264 DSP Project Report Stanford University Winter Quarter 2015 Vincent Deo EE 264 DSP Project Report Audio Compressor and De-Esser Design and Implementation on the DSP Shield Introduction Gain Manipulation - Compressors - Gates

More information

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Thursday, 23 September 2010 No PreLab is Required Objective: In this laboratory you will review the basics of MATLAB as a tool

More information

CONTENTS PREFACE. Chapter 1 Monitoring Welcome To The Audio Mixing Bootcamp...xi

CONTENTS PREFACE. Chapter 1 Monitoring Welcome To The Audio Mixing Bootcamp...xi iii CONTENTS PREFACE Welcome To The Audio Mixing Bootcamp...xi Chapter 1 Monitoring... 1 The Listening Environment... 1 Determining The Listening Position... 2 Standing Waves... 2 Acoustic Quick Fixes...

More information

Adaptive Line Enhancer (ALE)

Adaptive Line Enhancer (ALE) Adaptive Line Enhancer (ALE) This demonstration illustrates the application of adaptive filters to signal separation using a structure called an adaptive line enhancer (ALE). In adaptive line enhancement,

More information

Sound Synthesis Methods

Sound Synthesis Methods Sound Synthesis Methods Matti Vihola, mvihola@cs.tut.fi 23rd August 2001 1 Objectives The objective of sound synthesis is to create sounds that are Musically interesting Preferably realistic (sounds like

More information

Lab 4 Fourier Series and the Gibbs Phenomenon

Lab 4 Fourier Series and the Gibbs Phenomenon Lab 4 Fourier Series and the Gibbs Phenomenon EE 235: Continuous-Time Linear Systems Department of Electrical Engineering University of Washington This work 1 was written by Amittai Axelrod, Jayson Bowen,

More information

Introduction. A Simple Example. 3. fo = 4; %frequency of the sine wave. 4. Fs = 100; %sampling rate. 5. Ts = 1/Fs; %sampling time interval

Introduction. A Simple Example. 3. fo = 4; %frequency of the sine wave. 4. Fs = 100; %sampling rate. 5. Ts = 1/Fs; %sampling time interval Introduction In this tutorial, we will discuss how to use the fft (Fast Fourier Transform) command within MATLAB. The fft command is in itself pretty simple, but takes a little bit of getting used to in

More information

Written by Jered Flickinger Copyright 2017 Future Retro

Written by Jered Flickinger Copyright 2017 Future Retro Written by Jered Flickinger Copyright 2017 Future Retro www.future-retro.com TABLE OF CONTENTS Page 1 - Overview Page 2 Inputs and Outputs Page 3 Controls Page 4 Modulation Sources Page 5 Parameters Instrument

More information

BoomTschak User s Guide

BoomTschak User s Guide BoomTschak User s Guide Audio Damage, Inc. 1 November 2016 The information in this document is subject to change without notice and does not represent a commitment on the part of Audio Damage, Inc. No

More information

Digital Signalbehandling i Audio/Video

Digital Signalbehandling i Audio/Video Digital Signalbehandling i Audio/Video Institutionen för Elektrovetenskap Computer exercise 4 in english Martin Stridh Lund 2006 2 Innehåll 1 Datorövningar 5 1.1 Exercises for exercise 12/Computer exercise

More information

Communication Systems Lab Manual

Communication Systems Lab Manual SWEDISH COLLEGE OF ENGINEERING & TECHNOLOGY Communication Systems Lab Manual Submitted by: Roll No.: Board Roll No.: Submitted to: Ahmad Bilal COMMUNICATION SYSTEMS Table of Contents SAMPLING Understanding

More information

The Altitude Technique. Step-by-Step Guide

The Altitude Technique. Step-by-Step Guide The Altitude Technique Step-by-Step Guide Now that you now the principles behind the Altitude Mixing Technique, it s time to put them in to practice! In this guide you will go through several effects and

More information

Type pwd on Unix did on Windows (followed by Return) at the Octave prompt to see the full path of Octave's working directory.

Type pwd on Unix did on Windows (followed by Return) at the Octave prompt to see the full path of Octave's working directory. MUSC 208 Winter 2014 John Ellinger, Carleton College Lab 2 Octave: Octave Function Files Setup Open /Applications/Octave The Working Directory Type pwd on Unix did on Windows (followed by Return) at the

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

Waveshaping Synthesis. Indexing. Waveshaper. CMPT 468: Waveshaping Synthesis

Waveshaping Synthesis. Indexing. Waveshaper. CMPT 468: Waveshaping Synthesis Waveshaping Synthesis CMPT 468: Waveshaping Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 8, 23 In waveshaping, it is possible to change the spectrum

More information

MATLAB Assignment. The Fourier Series

MATLAB Assignment. The Fourier Series MATLAB Assignment The Fourier Series Read this carefully! Submit paper copy only. This project could be long if you are not very familiar with Matlab! Start as early as possible. This is an individual

More information

SGN Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter ( ) Name: Student number:

SGN Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter ( ) Name: Student number: TAMPERE UNIVERSITY OF TECHNOLOGY Department of Signal Processing SGN-16006 Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter (2013-2014) Group number: Date: Name: Student

More information

CMPT 468: Frequency Modulation (FM) Synthesis

CMPT 468: Frequency Modulation (FM) Synthesis CMPT 468: Frequency Modulation (FM) Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 6, 23 Linear Frequency Modulation (FM) Till now we ve seen signals

More information

Lab 6 - MCU CODEC IIR Filter ReadMeFirst

Lab 6 - MCU CODEC IIR Filter ReadMeFirst Lab 6 - MCU CODEC IIR Filter ReadMeFirst Lab Summary In this lab you will use a microcontroller and an audio CODEC to design a 2nd order low pass digital IIR filter. Use this filter to remove the noise

More information

Drum Leveler. User Manual. Drum Leveler v Sound Radix Ltd. All Rights Reserved

Drum Leveler. User Manual. Drum Leveler v Sound Radix Ltd. All Rights Reserved 1 Drum Leveler User Manual 2 Overview Drum Leveler is a new beat detection-based downward and upward compressor/expander. By selectively applying gain to single drum beats, Drum Leveler easily achieves

More information

1. GAIN 2. LINE/GTR SWITCH 3. VOLUME (OUPUT) 4. LFO DEPTH 5. OSC/LFO MODE SWITCH 6. TRI/SQR (LFO/OSC WAVEFORM SWITCH) 7. LFO SPEED 8.

1. GAIN 2. LINE/GTR SWITCH 3. VOLUME (OUPUT) 4. LFO DEPTH 5. OSC/LFO MODE SWITCH 6. TRI/SQR (LFO/OSC WAVEFORM SWITCH) 7. LFO SPEED 8. TRACER CITY MANUAL: Hello, and congratulations on the purchase of a Snazzy FX device! What you have in front of you was designed to provide the widest range of sounds possible, while still being easy enough

More information

FIR/Convolution. Visulalizing the convolution sum. Convolution

FIR/Convolution. Visulalizing the convolution sum. Convolution FIR/Convolution CMPT 368: Lecture Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University April 2, 27 Since the feedforward coefficient s of the FIR filter are

More information

turbo VARIABLE WAVESHAPING SYNTHESIS KORG MULTI ENGINE PLUGIN 2018 Sinevibes

turbo VARIABLE WAVESHAPING SYNTHESIS KORG MULTI ENGINE PLUGIN 2018 Sinevibes turbo VARIABLE WAVESHAPING SYNTHESIS KORG MULTI ENGINE PLUGIN 2018 Sinevibes INTRODUCTION WHAT IS IT? Turbo is a variable waveshaping oscillator plugin for Korg s multi engine. An original DSP technology

More information

Project 2 - Speech Detection with FIR Filters

Project 2 - Speech Detection with FIR Filters Project 2 - Speech Detection with FIR Filters ECE505, Fall 2015 EECS, University of Tennessee (Due 10/30) 1 Objective The project introduces a practical application where sinusoidal signals are used to

More information

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback PURPOSE This lab will introduce you to the laboratory equipment and the software that allows you to link your computer to the hardware.

More information

Making Music with Tabla Loops

Making Music with Tabla Loops Making Music with Tabla Loops Executive Summary What are Tabla Loops Tabla Introduction How Tabla Loops can be used to make a good music Steps to making good music I. Getting the good rhythm II. Loading

More information

A-110 VCO. 1. Introduction. doepfer System A VCO A-110. Module A-110 (VCO) is a voltage-controlled oscillator.

A-110 VCO. 1. Introduction. doepfer System A VCO A-110. Module A-110 (VCO) is a voltage-controlled oscillator. doepfer System A - 100 A-110 1. Introduction SYNC A-110 Module A-110 () is a voltage-controlled oscillator. This s frequency range is about ten octaves. It can produce four waveforms simultaneously: square,

More information

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY NAME:. STUDENT ID:.. ROOM: INTRODUCTION TO AMPLITUDE MODULATION Purpose: The objectives of this laboratory are:. To introduce the spectrum

More information

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, Introduction to EECS 2

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, 2007 6.082 Introduction to EECS 2 Lab #3: Modulation and Filtering Goal:... 2 Instructions:...

More information

ADC Clock Jitter Model, Part 1 Deterministic Jitter

ADC Clock Jitter Model, Part 1 Deterministic Jitter ADC Clock Jitter Model, Part 1 Deterministic Jitter Analog to digital converters (ADC s) have several imperfections that effect communications signals, including thermal noise, differential nonlinearity,

More information

VCA. Voltage Controlled Amplifier.

VCA. Voltage Controlled Amplifier. VCA Voltage Controlled Amplifier www.tiptopaudio.com Tiptop Audio VCA User Manual The Tiptop Audio VCA is a single-channel variable-slope voltage-controlled amplifier in Eurorack format. It has the following

More information

Jawaharlal Nehru Engineering College

Jawaharlal Nehru Engineering College Jawaharlal Nehru Engineering College Laboratory Manual SIGNALS & SYSTEMS For Third Year Students Prepared By: Ms.Sunetra S Suvarna Assistant Professor Author JNEC INSTRU. & CONTROL DEPT., Aurangabad SUBJECT

More information

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Pusat Pengajian Kejuruteraan Komputer Dan Perhubungan Universiti Malaysia Perlis

More information

Sound synthesis with Pure Data

Sound synthesis with Pure Data Sound synthesis with Pure Data 1. Start Pure Data from the programs menu in classroom TC307. You should get the following window: The DSP check box switches sound output on and off. Getting sound out First,

More information

VIBRATO DETECTING ALGORITHM IN REAL TIME. Minhao Zhang, Xinzhao Liu. University of Rochester Department of Electrical and Computer Engineering

VIBRATO DETECTING ALGORITHM IN REAL TIME. Minhao Zhang, Xinzhao Liu. University of Rochester Department of Electrical and Computer Engineering VIBRATO DETECTING ALGORITHM IN REAL TIME Minhao Zhang, Xinzhao Liu University of Rochester Department of Electrical and Computer Engineering ABSTRACT Vibrato is a fundamental expressive attribute in music,

More information

ALM-015 Akemie s Taiko. - Operation Manual -

ALM-015 Akemie s Taiko. - Operation Manual - ALM-015 Akemie s Taiko - Operation Manual - (V0.1) Introduction... 3 Technical Specifications 3 Background & Caveats... 4 Core Operation... 5 Panel Layout 5 General Usage 6 Appendix I: Reference... 8 APPENDIX

More information

Signal Processing First Lab 20: Extracting Frequencies of Musical Tones

Signal Processing First Lab 20: Extracting Frequencies of Musical Tones Signal Processing First Lab 20: Extracting Frequencies of Musical Tones Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in

More information

CMPT 468: Delay Effects

CMPT 468: Delay Effects CMPT 468: Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November 8, 2013 1 FIR/Convolution Since the feedforward coefficient s of the FIR filter are

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

FIR/Convolution. Visulalizing the convolution sum. Frequency-Domain (Fast) Convolution

FIR/Convolution. Visulalizing the convolution sum. Frequency-Domain (Fast) Convolution FIR/Convolution CMPT 468: Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November 8, 23 Since the feedforward coefficient s of the FIR filter are the

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 1: INTRODUCTION TO TIMS AND MATLAB INTRODUCTION

More information

P. Moog Synthesizer I

P. Moog Synthesizer I P. Moog Synthesizer I The music synthesizer was invented in the early 1960s by Robert Moog. Moog came to live in Leicester, near Asheville, in 1978 (the same year the author started teaching at UNCA).

More information

L A B 3 : G E N E R A T I N G S I N U S O I D S

L A B 3 : G E N E R A T I N G S I N U S O I D S L A B 3 : G E N E R A T I N G S I N U S O I D S NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1/7 1 THEORY DIGITAL SIGNAL PROCESSING LABORATORY 1.1 GENERATION OF DISCRETE TIME SINUSOIDAL SIGNALS IN

More information

I personally hope you enjoy this release and find it to be an inspirational addition to your musical toolkit.

I personally hope you enjoy this release and find it to be an inspirational addition to your musical toolkit. 1 CONTENTS 2 Welcome to COIL...2 2.1 System Requirements...2 3 About COIL...3 3.1 Key Features...3 4 Getting Started...4 4.1 Using Reaktor...4 4.2 Included Files...4 4.3 Opening COIL...4 4.4 Control Help...4

More information

Introduction to 4Dyne

Introduction to 4Dyne Operation Manual Introduction to 4Dyne Thank you for your interest in 4Dyne, Flower Audio s mastering-grade multi-band dynamics processor. 4Dyne is a studio effect that can be used both as a precise

More information

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

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

Class Overview. tracking mixing mastering encoding. Figure 1: Audio Production Process

Class Overview. tracking mixing mastering encoding. Figure 1: Audio Production Process MUS424: Signal Processing Techniques for Digital Audio Effects Handout #2 Jonathan Abel, David Berners April 3, 2017 Class Overview Introduction There are typically four steps in producing a CD or movie

More information

Waveforms and Spectra in NBFM Receiver

Waveforms and Spectra in NBFM Receiver Waveforms and Spectra in NBFM Receiver GNU radio was used to create the following NBFM receiver. The USRP with the RFX400 daughterboard was used to capture the signal. 64Ms/s 256Ks/s 32Ks/s 32Ks/s FPGA

More information

DEEP LEARNING BASED AUTOMATIC VOLUME CONTROL AND LIMITER SYSTEM. Jun Yang (IEEE Senior Member), Philip Hilmes, Brian Adair, David W.

DEEP LEARNING BASED AUTOMATIC VOLUME CONTROL AND LIMITER SYSTEM. Jun Yang (IEEE Senior Member), Philip Hilmes, Brian Adair, David W. DEEP LEARNING BASED AUTOMATIC VOLUME CONTROL AND LIMITER SYSTEM Jun Yang (IEEE Senior Member), Philip Hilmes, Brian Adair, David W. Krueger Amazon Lab126, Sunnyvale, CA 94089, USA Email: {junyang, philmes,

More information

Noise Simulation and Reduction in AM-SSB Radio Systems Thiago D. Olson, Zi Ling, and Mohammad Naquiddin A. Razak

Noise Simulation and Reduction in AM-SSB Radio Systems Thiago D. Olson, Zi Ling, and Mohammad Naquiddin A. Razak 1 Noise Simulation and Reduction in AM-SSB Radio Systems Thiago D. Olson, Zi Ling, and Mohammad Naquiddin A. Razak Abstract Ham radio transmission distance is affected by many different external sources.

More information

Computer Music in Undergraduate Digital Signal Processing

Computer Music in Undergraduate Digital Signal Processing Computer Music in Undergraduate Digital Signal Processing Phillip L. De Leon New Mexico State University Klipsch School of Electrical and Computer Engineering Las Cruces, New Mexico 88003-800 pdeleon@nmsu.edu

More information

Dept. of Computer Science, University of Copenhagen Universitetsparken 1, DK-2100 Copenhagen Ø, Denmark

Dept. of Computer Science, University of Copenhagen Universitetsparken 1, DK-2100 Copenhagen Ø, Denmark NORDIC ACOUSTICAL MEETING 12-14 JUNE 1996 HELSINKI Dept. of Computer Science, University of Copenhagen Universitetsparken 1, DK-2100 Copenhagen Ø, Denmark krist@diku.dk 1 INTRODUCTION Acoustical instruments

More information

Lab P-4: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: ) X

Lab P-4: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: ) X DSP First, 2e Signal Processing First Lab P-4: AM and FM Sinusoidal Signals Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises

More information

Audio Engineering Society Convention Paper Presented at the 110th Convention 2001 May Amsterdam, The Netherlands

Audio Engineering Society Convention Paper Presented at the 110th Convention 2001 May Amsterdam, The Netherlands Audio Engineering Society Convention Paper Presented at the th Convention May 5 Amsterdam, The Netherlands This convention paper has been reproduced from the author's advance manuscript, without editing,

More information

The Multiplier-Type Ring Modulator

The Multiplier-Type Ring Modulator The Multiplier-Type Ring Modulator Harald Bode Introduction- Robert A. Moog Vibrations of the air in the frequency range of 20-20,000 cycles per second are perceived as sound. The unit of frequency is

More information

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals DSP First Laboratory Exercise #7 Everyday Sinusoidal Signals This lab introduces two practical applications where sinusoidal signals are used to transmit information: a touch-tone dialer and amplitude

More information

EGR 111 Audio Processing

EGR 111 Audio Processing EGR 111 Audio Processing This lab shows how to load, play, create, and filter sounds and music with MATLAB. Resources (available on course website): speech1.wav, birds_jet_noise.wav New MATLAB commands:

More information

Creating & Editing Audio: Audacity Document for Follow-Along Exercises. Follow the instructions below to learn the different features of Audacity

Creating & Editing Audio: Audacity Document for Follow-Along Exercises. Follow the instructions below to learn the different features of Audacity Creating & Editing Audio: Audacity Document for Follow-Along Exercises Follow the instructions below to learn the different features of Audacity I. An overview of Audacity II. Create a recording using

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 12 Speech Signal Processing 14/03/25 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Spectrum. Additive Synthesis. Additive Synthesis Caveat. Music 270a: Modulation

Spectrum. Additive Synthesis. Additive Synthesis Caveat. Music 270a: Modulation Spectrum Music 7a: Modulation Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego (UCSD) October 3, 7 When sinusoids of different frequencies are added together, the

More information

Music 270a: Modulation

Music 270a: Modulation Music 7a: Modulation Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego (UCSD) October 3, 7 Spectrum When sinusoids of different frequencies are added together, the

More information

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones DSP First Laboratory Exercise #11 Extracting Frequencies of Musical Tones This lab is built around a single project that involves the implementation of a system for automatically writing a musical score

More information

EP375 Computational Physics

EP375 Computational Physics EP375 Computational Physics Topic 12 SOUND PROCESSING Department of Engineering Physics Gaziantep University Apr 2016 Sayfa 1 Content 1. Introduction 2. Sound 3. Perception of Sound 4. Physics of Sound

More information

If you have just purchased Solid State Symphony, thank-you very much!

If you have just purchased Solid State Symphony, thank-you very much! If you have just purchased Solid State Symphony, thank-you very much! Before you do anything else- Please BACK UP YOUR DOWNLOAD! Preferably on DVD, but please make sure that it s someplace that can t be

More information

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Prerequisites The Sound Processing Primer assumes knowledge of the MATLAB IDE, MATLAB help, arithmetic operations,

More information

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam 1 Background In this lab we will begin to code a Shazam-like program to identify a short clip of music using a database of songs. The basic procedure

More information

Worship Sound Guy Presents: Ultimate Compression Cheat Sheet

Worship Sound Guy Presents: Ultimate Compression Cheat Sheet Worship Sound Guy Presents: Ultimate Compression Cheat Sheet Compression Basics For Live Sound www.worshipsoundguy.com @WorshipSoundGuy 2017 Do your mixes PUNCH?? Do they have low-end control? Do they

More information

Linear Frequency Modulation (FM) Chirp Signal. Chirp Signal cont. CMPT 468: Lecture 7 Frequency Modulation (FM) Synthesis

Linear Frequency Modulation (FM) Chirp Signal. Chirp Signal cont. CMPT 468: Lecture 7 Frequency Modulation (FM) Synthesis Linear Frequency Modulation (FM) CMPT 468: Lecture 7 Frequency Modulation (FM) Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 26, 29 Till now we

More information

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1 DSP First Lab 03: AM and FM Sinusoidal Signals Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before

More information

!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP

!!##$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP Lecture 2: Media Creation Some materials taken from Prof. Yao Wang s slides RECAP #% A Big Umbrella Content Creation: produce the media, compress it to a format that is portable/ deliverable Distribution:

More information

Solutions to Magnetic Bearing Lab #2 Magnetic Bearing System Identification

Solutions to Magnetic Bearing Lab #2 Magnetic Bearing System Identification Solutions to Magnetic Bearing Lab #2 by Löhning, Matthias University of Calgary Department of Mechanical and Manufacturing Engineering 15 July 2004 Preliminary note: As a result of the tr to the digital

More information

Drum Leveler User Manual

Drum Leveler User Manual Drum Leveler User Manual 1 Overview Drum Leveler is a new beat detection based downward and upward compressor/expander. By selectively applying gain to single drum beats, Drum Leveler easily achieves the

More information

Xhip. User Manual. Version 8, released 21 May pg 1

Xhip. User Manual. Version 8, released 21 May pg 1 Xhip User Manual Version 8, released 21 May 2017. pg 1 TABLE OF CONTENTS Introduction 3 Getting started 4 Graphical User Interface 5 Display pane 5 Menu 5 LED display elements 6 Logo menu 7 Specification

More information

In this app note we will explore the topic of modeling a physical device using DSP techniques.

In this app note we will explore the topic of modeling a physical device using DSP techniques. Ross Penniman Introduction In this app note we will explore the topic of modeling a physical device using DSP techniques. One of the most distinctive sounds of popular music in the last 50-plus years has

More information

MMO-3 User Documentation

MMO-3 User Documentation MMO-3 User Documentation nozoid.com/mmo-3 1/15 MMO-3 is a digital, semi-modular, monophonic but stereo synthesizer. Built around various types of modulation synthesis, this synthesizer is mostly dedicated

More information

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Fall 2018 2019 Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Theory Problems 1. 15 pts) [Sinusoids] Define xt) as xt) = 2sin

More information

C.8 Comb filters 462 APPENDIX C. LABORATORY EXERCISES

C.8 Comb filters 462 APPENDIX C. LABORATORY EXERCISES 462 APPENDIX C. LABORATORY EXERCISES C.8 Comb filters The purpose of this lab is to use a kind of filter called a comb filter to deeply explore concepts of impulse response and frequency response. The

More information

SurferEQ 2. User Manual. SurferEQ v Sound Radix, All Rights Reserved

SurferEQ 2. User Manual. SurferEQ v Sound Radix, All Rights Reserved 1 SurferEQ 2 User Manual 2 RADICALLY MUSICAL, CREATIVE TIMBRE SHAPER SurferEQ is a ground-breaking pitch-tracking equalizer plug-in that tracks a monophonic instrument or vocal and moves the selected bands

More information

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit.

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit. Experiment 0: Review I. References The 174 and 275 Lab Manuals Any standard text on error analysis (for example, Introduction to Error Analysis, J. Taylor, University Science Books, 1997) The manual for

More information

Compression Exposed. Dynamic Range

Compression Exposed. Dynamic Range Compression Exposed A compressor is one of the most common outboard tools in a studio. All compressors perform the basic same function but, like microphones, various models perform it differently, giving

More information

UNIVERSITY OF WARWICK

UNIVERSITY OF WARWICK UNIVERSITY OF WARWICK School of Engineering ES905 MSc Signal Processing Module (2010) AM SIGNALS AND FILTERING EXERCISE Deadline: This is NOT for credit. It is best done before the first assignment. You

More information

What is Sound? Simple Harmonic Motion -- a Pendulum

What is Sound? Simple Harmonic Motion -- a Pendulum What is Sound? As the tines move back and forth they exert pressure on the air around them. (a) The first displacement of the tine compresses the air molecules causing high pressure. (b) Equal displacement

More information