Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics.

Slides:



Advertisements
Similar presentations
Chapter 12 Pretest Waves.
Advertisements

Waves_03 1 Two sine waves travelling in opposite directions  standing wave Some animations courtesy of Dr. Dan Russell, Kettering University TRANSVERSE.
Simple Harmonic Motion
Sound Chapter 15.
9.2 Musical Instruments. New Ideas for today Sound and waves Pitch String and wind instruments.
PHY132 Introduction to Physics II Class 3 – Outline: Ch. 21, sections The Principle of Superposition Standing Waves Nodes and Antinodes Musical.
Experiment with the Slinky
Chapter 16: Sound 16-3 Intensity of Sound: Decibels
Lecture 1 – Waves & Sound c) Sound.
EE2F2 - Music Technology 11. Physical Modelling Introduction Some ‘expressive instruments don’t sound very convincing when sampled Examples: wind or.
1 Manipulating Digital Audio. 2 Digital Manipulation  Extremely powerful manipulation techniques  Cut and paste  Filtering  Frequency domain manipulation.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Sound Synthesis With Digital Waveguides Jeff Feasel Comp 259 March
7/5/20141FCI. Prof. Nabila M. Hassan Faculty of Computer and Information Fayoum University 2013/2014 7/5/20142FCI.
1 If we try to produce a traveling harmonic wave on a rope, repeated reflections from the end produces a wave traveling in the opposite direction - with.
Chapter 18 Superposition and Standing Waves. Waves vs. Particles Waves are very different from particles. Particles have zero size.Waves have a characteristic.
Vibrations, Waves, & Sound
ISNS Phenomena of Nature Archimedes’ principle is useful for determining the volume and therefore the density of an irregularly shaped object by.
Waves and Sound AP Physics 1. What is a wave A WAVE is a vibration or disturbance in space. A MEDIUM is the substance that all SOUND WAVES travel through.
Objectives Identify the conditions of simple harmonic motion.
Computer Sound Synthesis 2
PHY132 Introduction to Physics II Class 3 – Outline: Ch. 21, sections The Principle of Superposition Standing Waves Nodes and Antinodes Musical.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 23:Physical Modeling III/ambience Ken Greenebaum.
Standing waves on a string (review) n=1,2,3... Different boundary conditions: Both ends fixed (see above) Both ends free (similar to both ends fixed )
Chapter 18 Superposition and Standing Waves. Waves vs. Particles Waves are very different from particles. Particles have zero size.Waves have a characteristic.
Introduction to Vibrations and Waves
What you will learn: You will determine how waves transfer energy You will describe wave reflection and discuss its practical significance.
resonance occurs when a medium vibrates at the same frequency as the external vibrating force causing the vibration. If the forcing frequency equals.
Stationary Waves Stationary waves are produced by superposition of two progressive waves of equal amplitude and frequency, travelling with the same speed.
FCI. Faculty of Computers and Information Fayoum University 2014/ FCI.
Separate branches of Mechanics and Biomechanics I. Periodic Motion. Mechanical waves. Acoustics.
Chapter 12: Vibrations and Waves Section 1: Simple harmonic motion Section 2: Measuring simple harmonic motion Section 3: Properties of waves Section 4:
Daily Challenge, 10/2 Give 3 examples of motions that are periodic, or repeating.
Chapter 12 Sound.
Waves and Sound Level 1 Physics.
Copyright © 2010 Pearson Education, Inc. Lecture Outline Chapter 14 Physics, 4 th Edition James S. Walker.
Computer Sound Synthesis 2
Copyright © 2009 Pearson Education, Inc. Lecture 1 – Waves & Sound b) Wave Motion & Properties.
Chapter 11 Preview Objectives Hooke’s Law Sample Problem
Wave Mechanics Physics 1. What is a wave? A wave is: an energy-transferring disturbance moves through a material medium or a vacuum.
Hooke’s Law F s = - k x F s is the spring force k is the spring constant It is a measure of the stiffness of the spring A large k indicates a stiff spring.
14-6 The Doppler Effect The Doppler effect is the change in pitch of a sound when the source and observer are moving with respect to each other. When an.
The Physics of Musical Instruments
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 22:Physical Modeling II Ken Greenebaum.
Effects. Effects in Music n All music that is recorded or amplified relies on effects to enhance certain characteristics of the sound. n Guitarists typically.
Chapter 11 Vibrations and Waves.
Springs Hooke’s Law (Fs) Spring Constant (k)
Stationary Waves Stationary waves are produced by superposition of two progressive waves.
Chapter 15: Wave Motion 15-2 Types of Waves: Transverse and Longitudinal 15-3 Energy Transported by Waves 15-4 Mathematical Representation of a Traveling.
Harmonics. Strings as Harmonic Oscillators Its mass gives it inertia Its mass gives it inertia Its tension and curvature give it a restoring force Its.
VibrationsandWaves. Ch. 14 examines wave motion and the oscillating, vibrating motion that creates them. This oscillating motion is known as periodic.
15.1 Properties and Detection of Sound Interference of sound waves.
FCI. Faculty of Computer and Information Fayoum University FCI.
1 Transverse Standing Waves The Principle of Linear Superposition Chapter 17 Lesson 2.
Traveling Waves Standing Waves Musical Instruments Musical Instruments all work by producing standing waves. There are three types of instrument.
Sound Part II  Music What is the study of sound called?  Acoustics.
Chapter 14 Vibrations and Waves. Hooke’s Law F s = - k x F s is the spring force k is the spring constant It is a measure of the stiffness of the spring.
6  When waves are combined in systems with boundary conditions, only certain allowed frequencies can exist. › We say the frequencies are quantized.
Chapter 15 Mechanical Waves © 2016 Pearson Education, Inc.
THE PHYSICS OF MUSIC.
CS 591 S1 – Computational Audio -- Spring, 2017
Unit 10: Part 1 Waves.
Chapter 16: Sound HW problems: Chapter 16: Pb.2, Pb.18, Pb.24, Pb.35, Pb.40, Pb.62: Due Wed., Jan. 17.
Speed of a wave on a string?
Chapter 13 Objectives Explain why resonance occurs.
بسم الله الرحمن الرحيم FCI.
11-3: PROPERTIES OF WAVES.
11-3: PROPERTIES OF WAVES.
Lecture 7 Ch 16 Standing waves
14-7 Superposition and Interference
Chapter 12 Sound © 2014 Pearson Education, Inc..
Presentation transcript:

Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics

Physical Modeling Synthesis

Karplus-Strong Karplus-Strong string synthesis loops a short noise burst through a filtered delay line to simulate the sound of a hammered or plucked string or some types of percussion. This technique using a feedback loop like a comb filter, especially like those used in reverberation simulation with a low-pass filter in the loop. 1.A short excitation waveform (generally of length L samples), often a burst of noise, is output and simultaneously fed back into a delay line L samples long. 2.The output of the delay line is fed through a low-pass filter, usually a first order one-pole filter. 3.The filtered output is simultaneously mixed back into the output and fed back into the delay line.

Karplus-Strong f f f time Transformation of the noise spectrum through time. The output gradually approaches a pure harmonic waveform.

Karplus-Strong The fundamental frequency is the reciprocal of the total delay, that is, the delay buffer (plus the group delay of the low-pass filter). The delay needed for a particular frequency is the sample rate divided by the frequency. If one uses a delay with no interpolation, the only frequencies available are integer divisions of the sampling rate--- certainly not good enough for equal temperament. Using linear interpolation would create a huge problem because it would add its own low-pass filtering, therefore higher-order interpolation is required.

Karplus-Strong Advantages: Efficient Realistic Every note different Disadvantages: Pitch depends on sampling rate and delay line interpolation

String Simulation Actual vibrations of string and air columns can be modeled with combined masses and springs--- either creating longitudinal waves or transverse waves, as with a string.

String Simulation In simulated longitudinal waves, there is string mass and the string tension that exerts a force to restore the displaced string toward its point of equilibrium.

String Simulation When the string is plucked, displacement waves travel up and down the string. At the fixed ends the waves reflects back with reversed polarity. time

Waveguides Digital waveguides are efficient computational models for physical media through which acoustic waves propagate. A basic one-dimensional digital waveguide models a string with with a rigid termination on one end (left) and a frequency-dependent attenuating filter at the other (right). A lossless digital waveguide realizes the discrete form of the one dimensional wave equation as the superposition of a right-going wave and a left-going wave.

Waveguides A general string waveguide can be related to the physical system as: z -m Bridge termination Finger board termination -b

Waveguides Losses incurred throughout the medium are generally consolidated so that they can be calculated once at the termination of a delay line, rather than many times throughout. The filter, R(z), captures the frequency- dependent losses and dispersion in the medium and can include non- linear elements. In the simplest possible realization, the filter can be replaced by multiplication with a coefficient less than 1. One way of creating the output of the waveguide is to add together the state of the on-going left and right delays, thereby representing the string. Alternatively, the output can be taken at either end.

A pluck or strike can be simulated by inserting a transient into the delay buffers. Thus we see that the Karplus-Strong model is a simplification of a waveguide. Waveguides

Although waveguides such as acoustic tubes may be thought of as three-dimensional, because their lengths are often much greater than their cross-sectional area, it is reasonable and computationally efficient to model them as one dimensional waveguides. Membranes, as used in drums, may be modeled using two-dimensional waveguide meshes, and reverberation in three dimensional spaces may be modeled using three- dimensional meshes.

Waveguides Making a physically modeled instrument consists of connecting a series of these waveguide sections. Note that each waveguide section has two signals going into it, and two signals going out. These two sets of signals model the waves traveling in one direction, and the waves traveling in the opposite direction. Each section contains two summers, six attenuators, and two delay lines. The delay lines models the time it takes for the wave to propagate from one end of the section to the other, in either direction. The attenuators with values g and -g model the losses that may occur in the waveguide. It these losses are frequency-dependent, they are modeled as filters.

Waveguides The other attenuators (with values of r, -r, 1+r and 1-r) model the scattering of the signal at the junction between two sections - part of the signal is transmitted across the junction, while the rest is reflected back in the opposite direction. These attenuations are also usually frequency dependant, that is, the relative proportion, r, of signal that is reflected at a junction depends on frequency. Thus these attenuators are often implemented with filters. Typically the reflection coefficient r has a lowpass characteristic (and therefore 1-r has a highpass characteristic), modeling the usual physical situation that high frequencies are transmitted preferentially, and low frequencies are reflected preferentially.