1 Acoustic Sampling Of Instruments Dan Starr Capstone Design Project Advisors: Prof. Catravas Prof. Postow.

Slides:



Advertisements
Similar presentations
| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
Advertisements

Sound Synthesis Part II: Oscillators, Additive Synthesis & Modulation.
For those who have never played an instrument
Tamara Berg Advanced Multimedia
Int 2 Multimedia Revision. Digitised Sound Analogue sound recorded from person, or real instruments.
CMPS1371 Introduction to Computing for Engineers PROCESSING SOUNDS.
Chapter 5-Sound.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 3 Data and Signals
1 Chapter 16 Fourier Analysis with MATLAB Fourier analysis is the process of representing a function in terms of sinusoidal components. It is widely employed.
Physics 1251 The Science and Technology of Musical Sound Unit 1 Session 8 Harmonic Series Unit 1 Session 8 Harmonic Series.
3.1 Chapter 3 Data and Signals Computer Communication & Networks.
1 Two waves passing through the same region will superimpose - e.g. the displacements simply add Two pulses travelling in opposite directions will pass.
Pitch Perception.
Pitch Shifting and Dynamic Filtering Rossum (1992a) Digital sampling instrument for digital audio data; Rossum (1992b) Dynamic digital IIR audio filter.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (1)
Pitch Recognition with Wavelets Final Presentation by Stephen Geiger.
Spring 2002EECS150 - Lec13-proj Page 1 EECS150 - Digital Design Lecture 13 - Final Project Description March 7, 2002 John Wawrzynek.
Key Detection In Musical Signals Philip Brown, ’07 Advisor: Dr. Shane Cotter.
1 Manipulating Digital Audio. 2 Digital Manipulation  Extremely powerful manipulation techniques  Cut and paste  Filtering  Frequency domain manipulation.
1 Two waves passing through the same region will superimpose - e.g. the displacements simply add Two pulses travelling in opposite directions will pass.
Additional Notes on Wavetable Synthesis R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Music Processing Roger B. Dannenberg. Overview  Music Representation  MIDI and Synthesizers  Synthesis Techniques  Music Understanding.
Harmonics and Overtones Waveforms / Wave Interaction Phase Concepts / Comb Filtering Beat Frequencies / Noise AUD202 Audio and Acoustics Theory.
The Spectrum Jean Baptiste Fourier ( ) discovered a fundamental tenet of wave theory All periodic waves are composed of a series of sinusoidal.
The Spectrum n Jean Baptiste Fourier ( ) discovered a fundamental tenet of wave theory n All periodic waves are composed of a series of sinusoidal.
Human Psychoacoustics shows ‘tuning’ for frequencies of speech If a tree falls in the forest and no one is there to hear it, will it make a sound?
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Physics 434 Module 3 - T. Burnett 1 Physics 434 Module 3 Acoustic excitation of a physical system.
2 Outline Digital music The power of FPGA The “DigitalSynth” project –Hardware –Software Conclusion Demo.
Graphic Equalizer Table By Jose Lerma. Main Idea The main idea of this table is to display the frequencies of any sound or audio input, either by microphone.
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
Where we’re going Speed, Storage Issues Frequency Space.
Lecture 1 Signals in the Time and Frequency Domains
ACOUSTICS AND THE ELEMENTS OF MUSIC Is your name and today’s date at the top of the worksheet now?
R ESEARCH BY E LAINE C HEW AND C HING -H UA C HUAN U NIVERSITY OF S OUTHERN C ALIFORNIA P RESENTATION BY S EAN S WEENEY D IGI P EN I NSTITUTE OF T ECHNOLOGY.
A Breath in an Electronic World: Experiments in Musical Expression using a Midi Wind Controller Matthew Ahrens Mentor: Dr. James Bohn Bridgewater State.
Lecture 3 MATLAB LABORATORY 3. Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae:
13.3. Harmonics A vibrating string will produce standing waves whose frequencies depend upon the length of the string. Harmonics Video 2:34.
Introduction to Audio. What is "Audio"? Audio means "of sound" or "of the reproduction of sound“. Specifically, it refers to the range of frequencies.
Lecture 1B (01/07) Signal Modulation
Day 6 Exam I is on Thursday. Be sure to attend lab this week.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
CH. 21 Musical Sounds. Musical Tones have three main characteristics 1)Pitch 2) Loudness 3)Quality.
EE 113D Fall 2008 Patrick Lundquist Ryan Wong
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Engineering Computation with MATLAB Second Edition by David M. Smith.
Audio Tempo Extraction Presenter: Simon de Leon Date: February 9, 2006 Course: MUMT611.
Judith C. Brown Journal of the Acoustical Society of America,1991 Jain-De,Lee.
GG313 Lecture 24 11/17/05 Power Spectrum, Phase Spectrum, and Aliasing.
Closed Pipe Pipe closed at ONE end: closed end pressure antinode air press. L = /4 L.
A Brief Introduction to Musical Acoustics
INTERVALS Distance in pitch between 2 notes. What are the intervals? 1 – 1 = prime intervals = unisons 1 – 2 = 2 nd 1 – 3 = 3 rd 1 – 4 = 4 th 1 – 5 =
Time Compression/Expansion Independent of Pitch. Listening Dies Irae from Requiem, by Michel Chion (1973)
12-3 Harmonics.
Combination of tones (Road to discuss harmony) 1.Linear superposition If two driving forces are applied simultaneously, the response will be the sum of.
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Fourier Series Prof. Brian L. Evans
CS 591 S1 – Computational Audio
Musical Scales and Temperament
(Road to discuss harmony)
(Road to discuss harmony)
III Digital Audio III.9 (Wed Oct 25) Phase vocoder for tempo and pitch changes.
III Digital Audio III.9 (Wed Oct 24) Phase vocoder for tempo and pitch changes.
Physical Layer Part 1 Lecture -3.
Signal Processing First
(Road to discuss harmony)
Lec.6:Discrete Fourier Transform and Signal Spectrum
Embedded Sound Processing : Implementing the Echo Effect
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

1 Acoustic Sampling Of Instruments Dan Starr Capstone Design Project Advisors: Prof. Catravas Prof. Postow

2 Presentation Outline Project Description Primary Assumptions Project Modules:  Event Detection  Pitch Detection  Loop Combination  Pitch Shifting  Playback GUI Demo

3 Project Notes of any length (looping) Additional notes (C  C#, D, D#, E, F, F#)  (Pitch Shifting) Some Musical Effects  (Staccato, Slur, Dynamics) * Reduce Storage * Single-note, Acoustic Instrument Audio Sample Ability to play many more notes Series of Algorithms MATLAB

4 Assumptions All samples look approximately like this: Good recording equipment Good instrumentalist

5 Good sample Bad sample The world isn’t perfect…

6 Where we are… Project Description Primary Assumptions Project Modules:  Event Detection  Pitch Detection  Loop Combination  Pitch Shifting  Playback GUI Demo

7 Event Detection Single-note audio sample Event Detection Step 1: Create Outline Attack, Sustain, Release Sections

8 Step 2: Find Key Points Points A, E: easy Point B: Max of first ½ second of signal Point D:Point C: Same method as Point D, but draw line from D  B.

9 Pitch Detection Determine pitch (frequency) of sustain section  Purpose: replace sustain (1s) with single period (5ms) Method:  Perform Discrete Fourier Transform  Find lowest frequency component Determine corresponding musical note Time DomainFrequency Domain 261Hz (C4) * 52% decrease in required storage *

10 Where we are… Project Description Primary Assumptions Project Modules:  Event Detection  Pitch Detection  Loop Combination  Pitch Shifting  Playback GUI Demo We Have Extracted: Attack Release Single Period of Sustain

11 Loop Combination Take single period and loop it to create a sustain of any length Splicing Simply repeat waveform Frequency must be very accurate Good Bad True Period: 3.8ms Reported Period: 3.2ms

12 Loop Combination Crossfading Fade one period out while fading the next period in Bad Fade linear sinusoidal logarithmic time + +

13 Attack, Release Reattachment Problem: Solution: Merge attack/sustain, sustain/release

14 Where we are… Project Description Primary Assumptions Project Modules:  Event Detection  Pitch Detection  Loop Combination  Pitch Shifting  Playback GUI Demo We Have Extracted: Attack Release Single Period of Sustain And we can play: A note of any length

15 Simple: resample at different frequencies  Frequencies given in table  MATLAB has built in resample function Pitch Shifting Equal Temperament System of Musical Intonation NoteRatio Unison1:1 Minor 2 nd 1:1.059 Major 2 nd 1:1.122 Minor 3 rd 1:1.189 Major 3 rd 1:1.260 Perfect 4 th 1:1.335 Diminished 5 th 1:1.414 Perfect 5 th 1:1.498 Minor 6 th 1:1.587 Major 6 th 1:1.682 Minor 7 th 1:1.782 Major 7 th 1:1.888 Octave1:2 Typical Sampling Rate: 44.1 KHz

16 Instrument Name:  Consult stored names Note (A,F#,Gb):  Pitch shifting results in shorter samples  add more sustain to account for it *Note Length*  Problem: Length to be played is less than length of attack.  Solution: Create new linear release Playback Instrument Name Note Note length Sound Playback

17 GUI DEMO