Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 14: Envelopes Ken Greenebaum.

Slides:



Advertisements
Similar presentations
The length of sound or silence in music reading.
Advertisements

Basic Tools for Understanding Synthesis. Synthesizer A musical instrument that produces waveforms, typically in the audio range of about 20 to 20,000.
Sound Synthesis Part II: Oscillators, Additive Synthesis & Modulation.
Tamara Berg Advanced Multimedia
David Meredith Minim David Meredith
From Sound to Music CSC 161: The Art of Programming Prof. Henry Kautz 11/16/2009.
Guitar Effects Processor Using DSP
What makes a musical sound? Pitch n Hz * 2 = n + an octave n Hz * ( …) = n + a semitone The 12-note equal-tempered chromatic scale is customary,
EE2F2 - Music Technology 9. Additive Synthesis & Digital Techniques.
EE2F2: Music Technology - Revision Two exam questions Music Recording Technology Mixing & multi-track recording Effects MIDI & Sequencers Virtual Studio.
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
Classical Analog Synthesis. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic.
Duffing’s Equation as an Excitation Mechanism for Plucked String Instrument Models by Justo A. Gutierrez Master’s Research Project Music Engineering Technology.
Copyright © 2011 by Denny Lin1 Simple Synthesizer Part 4 Based on Floss Manuals (Pure Data) “Building a Simple Synthesizer” By Derek Holzer Slides by Denny.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 5: The Ring Buffer Ken Greenebaum.
Particle Synthesis A unified model for granular synthesis Øyvind Brandtsegg Sigurd Saue Thom Johansen.
Sound Synthesis CE 476 Music & Computers. Additive Synthesis We add together different soundwaves sample-by-sample to create a new sound, see Applet 4.3.
On Timbre Phy103 Physics of Music. Four complex tones in which all partials have been removed by filtering (Butler Example 2.5) One is a French horn,
Spring 2002EECS150 - Lec13-proj Page 1 EECS150 - Digital Design Lecture 13 - Final Project Description March 7, 2002 John Wawrzynek.
Customizable Audio Kaleidoscope Agustya Mehta, Dennis Ramdass, Tony Hwang Final Project Spring 2007.
1 Computer Science 631 Lecture 4: Wavelets Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Music Processing Roger B. Dannenberg. Overview  Music Representation  MIDI and Synthesizers  Synthesis Techniques  Music Understanding.
EE2F2 - Music Technology 8. Subtractive Synthesis.
Week 8: Audio Processing 1.  Light and sound are both transmitted in waves 2.
PH 105 Dr. Cecilia Vogel Lecture 15. OUTLINE  string vibrations  plucking vs bowing  envelope  tunings  specific instruments.
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?
Chapter 14 Recording and Editing Sound. Getting Started FAQs: − How does audio capability enhance my PC? − How does your PC record, store, and play digital.
Damped Harmonic Motion State what is meant by damping. If a mass on the end of a spring is pulled down and released it will continue to oscillate.
2 Outline Digital music The power of FPGA The “DigitalSynth” project –Hardware –Software Conclusion Demo.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
Lecture 1. References In no particular order Modern Digital and Analog Communication Systems, B. P. Lathi, 3 rd edition, 1998 Communication Systems Engineering,
MIDI. A protocol that enables computers, synthesizers, keyboards, and other musical devices to communicate with each other. Instead of storing actual.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 17:Wavetable Synthesis Ken Greenebaum.
GG 313 Lecture 26 11/29/05 Sampling Theorem Transfer Functions.
Synthesis advanced techniques. Other modules Synthesis would be fairly dull if we were limited to mixing together and filtering a few standard waveforms.
A Breath in an Electronic World: Experiments in Musical Expression using a Midi Wind Controller Matthew Ahrens Mentor: Dr. James Bohn Bridgewater State.
Physics 1251 The Science and Technology of Musical Sound Unit 4 Session 37 MWF Synthesizers Unit 4 Session 37 MWF Synthesizers.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 11: Modulation Ken Greenebaum.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 7: Latency + Additive Synth Ken Greenebaum.
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
Chapter 5 Pitch: The Simplest Musical Implication of Characteristic Oscillations.
Copyright © 2011 by Denny Lin1 Simple Synthesizer Part 1 Based on Floss Manuals (Pure Data) “Building a Simple Synthesizer” By Derek Holzer Slides by Denny.
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
Sound Representation Digitizing Sound Sound waves through Air Different Voltages Voltage converted to numbers.
EE 113D Fall 2008 Patrick Lundquist Ryan Wong
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 6: Wrapped I/O Ken Greenebaum.
SuperCollider Sounds, Interactive Visuals By Simon Katan For Openlab Workshops
Pre-Class Music Paul Lansky Six Fantasies on a Poem by Thomas Campion.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 18:Noise Ken Greenebaum.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 20:Spectral Filtering Ken Greenebaum.
Unit 1 – Fundamentals of Music Mr. Jackson Music Theory V.
Subtractive Synthesis
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 22:Physical Modeling II Ken Greenebaum.
Copyright © 2011 by Denny Lin1 Simple Synthesizer Part 3 Based on Floss Manuals (Pure Data) “Building a Simple Synthesizer” By Derek Holzer Slides by Denny.
Automatic Equalization for Live Venue Sound Systems Damien Dooley, Final Year ECE Progress To Date, Monday 21 st January 2008.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 9: Panning/Balance Ken Greenebaum.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 4: Interfaces Ken Greenebaum.
A Brief Introduction to Musical Acoustics
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
Design of a Guitar Tab Player in MATLAB Summary Lecture Module 1: Modeling a Guitar Signal.
Types of Synthesizers and How They Work
Lecture # 23 Sound Synthesis & Sound Arithmetic A “ sound font ” dog Jane knows Fred Ralph the loves Jane lovesFred.
Synthesizing a Clarinet Nicole Bennett. Overview  Frequency modulation  Using FM to model instrument signals  Generating envelopes  Producing a clarinet.
CS 591 S1 – Computational Audio -- Spring, 2017
Chapter 15 Recording and Editing Sound
CS 591 S1 – Computational Audio -- Spring, 2017
EE2F2: Music Technology - Revision
Developing a Versatile Audio Synthesizer TJHSST Computer Systems Lab
♪ Embedded System Design: Synthesizing Music Using Programmable Logic
Presentation transcript:

Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 14: Envelopes Ken Greenebaum

Copyright 2004 Ken Greenebaum Midterm Was shooting for Was shooting for Straightforward exam (material out of notes) Straightforward exam (material out of notes) Make you think a little Make you think a little Feel good as you leave Feel good as you leave

Copyright 2004 Ken Greenebaum Midterm questions Questions on specific problems? Questions on specific problems?

Copyright 2004 Ken Greenebaum Amplitude Envelope Controls amplitude over time Controls amplitude over time Consists of a series of segments: Consists of a series of segments: Initial (time, amplitude) pair Initial (time, amplitude) pair Final (time, amplitude) pair Final (time, amplitude) pair

Copyright 2004 Ken Greenebaum Amplitude rules Segments usually continuous Segments usually continuous Envelopes usually end at zero gain Envelopes usually end at zero gain Envelopes may consist of 1 or more segments Envelopes may consist of 1 or more segments Three usual segments encode: Three usual segments encode: Attack, sustain, decay Attack, sustain, decay More segments provide more complicated envelope More segments provide more complicated envelope

Copyright 2004 Ken Greenebaum Enveloping Example envelope: Example envelope:

Copyright 2004 Ken Greenebaum Envelope use Shape the sound: Shape the sound: How rapid is the onset How rapid is the onset How long is the sustain How long is the sustain How sharp is the decay How sharp is the decay

Copyright 2004 Ken Greenebaum Envelopes Objects have characteristic envelopes: Objects have characteristic envelopes: Collisions (fast attack) but: Collisions (fast attack) but: Damped objects (fast decay) Damped objects (fast decay) Hollow objects (slower decay) Hollow objects (slower decay) Bells (long sustain) Bells (long sustain)

Copyright 2004 Ken Greenebaum Envelopes and FM Synthesis Adding enveloping to FM synth transforms Adding enveloping to FM synth transforms Cool sounds we were generating Cool sounds we were generating To something resembling actual objects To something resembling actual objects

Copyright 2004 Ken Greenebaum FM Synthesis Enveloping Both oscillators may be enveloped Both oscillators may be enveloped Enveloping the modulator Enveloping the modulator Changes depth of modulation over time Changes depth of modulation over time Consider guitar Consider guitar Fuzzy when plucked Fuzzy when plucked Smoothes over time as the note rings Smoothes over time as the note rings Enveloping the carrier Enveloping the carrier Shapes the sound itself Shapes the sound itself

Copyright 2004 Ken Greenebaum Enveloping Challenges For high quality For high quality Envelope gain calculated on each sample Envelope gain calculated on each sample Shouldn’t solve line eq. for each sample Shouldn’t solve line eq. for each sample Use Bressenham’s line algorithm Use Bressenham’s line algorithm Pre-calculate and add delta x,y values Pre-calculate and add delta x,y values

Copyright 2004 Ken Greenebaum FM Experimentation with JSYN FM synthesis can make interesting FM synthesis can make interesting If not realistic sounds If not realistic sounds

Copyright 2004 Ken Greenebaum Assignment 5: FM Synthesizer Straightforward application Straightforward application No new software engineering required No new software engineering required Should be accomplished in your groups Should be accomplished in your groups Due Tuesday March 9th Due Tuesday March 9th

Copyright 2004 Ken Greenebaum Assignment 5: FM Synthesizer Synth to support Mixer’s synth interface Synth to support Mixer’s synth interface But turned in as called from simple main.c But turned in as called from simple main.c Input from stdin Input from stdin Output via PABLIO Output via PABLIO 48000Hz, mono 48000Hz, mono

Copyright 2004 Ken Greenebaum Assignment 5: FM Synthesizer Input format (all floats): Input format (all floats): Two lines: Two lines: Line 1 Line 1 Carrier frequency, list of time, attenuation pairs Carrier frequency, list of time, attenuation pairs Line 2 Line 2 Modulation frequency, list of time, attenuation pairs Modulation frequency, list of time, attenuation pairs Example: Example: , , , , , , , , , ,0.0

Copyright 2004 Ken Greenebaum Assignment 5: FM Sythesizer Deliverables: Deliverables: fm.c fm.c main.c (calls synth and plays samples) main.c (calls synth and plays samples) makefile makefile Data files: Data files: BassDrum.fm BassDrum.fm WindInstrument.fm WindInstrument.fm Cymbal.fm Cymbal.fm OuterSpace.fm OuterSpace.fm

Copyright 2004 Ken Greenebaum Optional 5b: Monophonic sequencer For those wanting a post midterm boost For those wanting a post midterm boost Control FM synth to play simple tunes: Control FM synth to play simple tunes: From stdin: From stdin: 2 line synth description followed by tune 2 line synth description followed by tune Cap A-G (note) or R(est) Cap A-G (note) or R(est) w(hole), h(alf), q(uarter), e(ight), s(ixteenth) w(hole), h(alf), q(uarter), e(ight), s(ixteenth)

Copyright 2004 Ken Greenebaum 5b: Monophonic sequencer Note should override carrier frequency Note should override carrier frequency A should be 440Hz A should be 440Hz Remember: Remember: 12 notes to an Octave 12 notes to an Octave Octaves represent a doubling of Frequency Octaves represent a doubling of Frequency

Copyright 2004 Ken Greenebaum 5b: Monophonic sequencer Note duration should ‘scale’ envelope length Note duration should ‘scale’ envelope length w – duration * 1.0 w – duration * 1.0 h - duration * 0.5 h - duration * 0.5 etc. etc.

Copyright 2004 Ken Greenebaum 5b: Monophonic sequencer Deliverables: Deliverables: monoseq.c (should call synth.c) monoseq.c (should call synth.c) Makefile Makefile Datafiles: Datafiles: mary.seq (mary had a little lamb) mary.seq (mary had a little lamb) Pick an appropriate ‘instrument’ Pick an appropriate ‘instrument’ Impressive.seq Impressive.seq Something to impress the class Something to impress the class

Copyright 2004 Ken Greenebaum Reading Audio Anecdotes Audio Anecdotes What we can learn from 1980’s Era Synthesis What we can learn from 1980’s Era Synthesis

Copyright 2004 Ken Greenebaum Next class: Guest Lecture: David Thiel (Voice of Q*bert) Guest Lecture: David Thiel (Voice of Q*bert) 1980’s Era Sound Synthesis 1980’s Era Sound Synthesis