A FINITE DIFFERENCE METHOD FOR THE EXCITATION OF A DIGITAL WAVEGUIDE STRING MODEL

Similar documents
Physical Modeling Synthesis

Antialiased Soft Clipping using an Integrated Bandlimited Ramp

Discrete-time modelling of musical instruments

Smith, Kuroda, Perng, Van Heusen, Abel CCRMA, Stanford University ASA November 16, Smith, Kuroda, Perng, Van Heusen, Abel ASA / 31

Publication V. c 2012 Copyright Holder. Reprinted with permission.

Wave-Digital Polarity and Current Inverters and Their Application to Virtual Analog Audio Processing

A Real Time Piano Model Including Longitudinal Modes

A PIANO MODEL INCLUDING LONGITUDINAL STRING VIBRATIONS

Numerical Sound Synthesis

A Modular Physically Based Approach to the Sound Synthesis of Membrane Percussion Instruments Federico Avanzini and Riccardo Marogna

Physically Informed Signal-Processing Methods for Piano Sound Synthesis: a Research Overview

Weighted Least-Squares Method for Designing Variable Fractional Delay 2-D FIR Digital Filters

Analysis of polyphonic audio using source-filter model and non-negative matrix factorization

Real Sound Synthesis for Interactive Applications

2006 Institute of Physics Publishing. Reprinted with permission.

Loop filter coefficient a Loop filter gain g. Magnitude [db] Normalized Frequency

MITIGATING UNCORRELATED PERIODIC DISTURBANCE IN NARROWBAND ACTIVE NOISE CONTROL SYSTEMS

DIGITAL filters capable of changing their frequency response

Physically Informed Signal Processing Methods for Piano Sound Synthesis: A Research Overview

2005 S. Hirzel Verlag. Reprinted with permission.

Proceedings of Meetings on Acoustics

A delayed parallel filter structure with an FIR part having improved numerical properties

LECTURE NOTES IN AUDIO ANALYSIS: PITCH ESTIMATION FOR DUMMIES

Albenzio Cirillo INFOCOM Dpt. Università degli Studi di Roma, Sapienza

Perceptually informed synthesis of bandlimited classical waveforms using integrated polynomial interpolation

Block-Based Physical Modeling for Digital Sound Synthesis

Digital Sound Synthesis by Physical Modelling

FRACTIONAL ORDER FILTER BASED ON FRACTIONAL CAPACITORS AND FRACTIONAL INDUCTOR

CEPSTRAL ANALYSIS SYNTHESIS ON THE MEL FREQUENCY SCALE, AND AN ADAPTATIVE ALGORITHM FOR IT.

Nonlinear Modeling of a Guitar Loudspeaker Cabinet

Tubular Bells: A Physical and Algorithmic Model Rudolf Rabenstein, Member, IEEE, Tilman Koch, and Christian Popp

PREPARED PIANO SOUND SYNTHESIS

Converting Infinite Impulse Response Filters to Parallel Form

Special Digital Filters for Audio Reproduction

Elimination of Delay-Free Loops in Discrete-Time Models of Nonlinear Acoustic Systems

SUPPLEMENTARY MATERIAL FOR THE PAPER "A PARAMETRIC MODEL AND ESTIMATION TECHNIQUES FOR THE INHARMONICITY AND TUNING OF THE PIANO"

Audio Equalization with Fixed-Pole Parallel Filters: An Efficient Alternative to Complex Smoothing

A REVERBERATOR BASED ON ABSORBENT ALL-PASS FILTERS. Luke Dahl, Jean-Marc Jot

Generalized Digital Waveguide Networks

Physically Inspired Models for the Synthesis of Stiff Strings with Dispersive Waveguides

1 Introduction. 2 Data Set and Linear Spectral Analysis

EXACT DISCRETE-TIME REALIZATION OF A DOLBY B ENCODING/DECODING ARCHITECTURE

EXACT DISCRETE-TIME REALIZATION OF A DOLBY B ENCODING/DECODING ARCHITECTURE

Abstract musical timbre and physical modeling

Signal representations: Cepstrum

The simulation of piano string vibration: From physical models to finite difference schemes and digital waveguides

Analysis of Communication Systems Using Iterative Methods Based on Banach s Contraction Principle

Vibrations of string. Henna Tahvanainen. November 8, ELEC-E5610 Acoustics and the Physics of Sound, Lecture 4

Dipartimento di Elettronica e Informazione, Politecnico di Milano, piazza Leonardo da Vinci 32, Milan, Italy

Numerical Experiments with Non-linear Double Membrane Drums

Speech Coding. Speech Processing. Tom Bäckström. October Aalto University

Parameter fitting for piano sound synthesis by physical modeling

Nonlinear audio transformer simulation using approximation of differential equations

OBJECT-BASED SOUND SYNTHESIS. Augusto Sarti, Stefano Tubaro

Lecture 3: Acoustics

DESIGN OF LINEAR-PHASE LATTICE WAVE DIGITAL FILTERS

EIGENFILTERS FOR SIGNAL CANCELLATION. Sunil Bharitkar and Chris Kyriakakis

Hybrid Time-Frequency Domain Adaptive Filtering Algorithm for control of the vibration control systems

Image Interpolation Using Kriging Technique for Spatial Data

Introduction to Acoustics Exercises

THE VOICE OF THE DRAGON: A PHYSICAL MODEL OF A ROTATING CORRUGATED TUBE

THE concept of active sound control has been known

MANY digital speech communication applications, e.g.,

LINEAR-PHASE FIR FILTER DESIGN BY LINEAR PROGRAMMING

A PHYSICALLY-CONSTRAINED SOURCE MODEL FOR FDTD ACOUSTIC SIMULATION

COMP Signals and Systems. Dr Chris Bleakley. UCD School of Computer Science and Informatics.

HEARING DISTANCE: A LOW-COST MODEL FOR NEAR-FIELD BINAURAL EFFECTS

Frequency Domain Speech Analysis

Singer Identification using MFCC and LPC and its comparison for ANN and Naïve Bayes Classifiers

A VARIABLE STEP-SIZE FREQUENCY-DOMAIN ADAPTIVE FILTERING ALGORITHM FOR STEREOPHONIC ACOUSTIC ECHO CANCELLATION

NUMERICAL SIMULATION OF SPRING REVERBERATION

Research Article The Microphone Feedback Analogy for Chatter in Machining

BASIC COMPRESSION TECHNIQUES

EE123 Digital Signal Processing

E : Lecture 1 Introduction

Design Criteria for the Quadratically Interpolated FFT Method (I): Bias due to Interpolation

GAUSSIANIZATION METHOD FOR IDENTIFICATION OF MEMORYLESS NONLINEAR AUDIO SYSTEMS

Numerical Solution of Nonlinear Differential Equations in Musical Synthesis

Averaged Lagrange Method for interpolation filter

Proc. of NCC 2010, Chennai, India

REAL-TIME REVERB SIMULATION FOR ARBITRARY OBJECT SHAPES

Lecture 7: Optimal Smoothing

UNIT-II INTERPOLATION & APPROXIMATION

Improved frequency-dependent damping for time domain modelling of linear string vibration

2D Spectrogram Filter for Single Channel Speech Enhancement

AUDIO INTERPOLATION RICHARD RADKE 1 AND SCOTT RICKARD 2

Tutorial on Wave Digital Filters

Signals, Instruments, and Systems W5. Introduction to Signal Processing Sampling, Reconstruction, and Filters

THE SYRINX: NATURE S HYBRID WIND INSTRUMENT

CS 188: Artificial Intelligence Fall 2011

A FRACTIONAL DELAY FIR FILTER BASED ON LAGRANGE INTERPOLATION OF FARROW STRUCTURE

Wavelets and Signal Processing

Integrated Direct Sub-band Adaptive Volterra Filter and Its Application to Identification of Loudspeaker Nonlinearity

NONLINEAR RANDOM DISPLACEMENT AND FATIGUE ESTIMATES USING PDF TRANSFORMATIONS

Feature extraction 2

Performance Analysis of an Adaptive Algorithm for DOA Estimation

JOINT MODELING OF IMPEDANCE AND RADIATION AS A RECURSIVE PARALLEL FILTER STRUCTURE FOR EFFICIENT SYNTHESIS OF WIND INSTRUMENT SOUND

Partial model checking via abstract interpretation

CRYSTALLIZATION SONIFICATION OF HIGH-DIMENSIONAL DATASETS

Convention Paper Presented at the 121st Convention 2006 October 5 8 San Francisco, CA, USA

Transcription:

A FINITE DIFFERENCE METHOD FOR THE EXCITATION OF A DIGITAL WAVEGUIDE STRING MODEL Leonardo Gabrielli 1, Luca Remaggi 1, Stefano Squartini 1 and Vesa Välimäki 2 1 Universitá Politecnica delle Marche, Ancona, Italy 2 Aalto University, Espoo, Finland Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 1

Who s Who Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 1

3MediaLabs: Multimedia Information Processing Made of two research sub-groups: A3LAB and SEMEDIA. LEADER: Prof. Francesco Piazza A3LAB: DSP Algorithms and Adaptive systems for Audio applications Data Processing Approach People: 2 Assistant Professors, 4 PostDocs, 4 Phd Students SEMEDIA: Semantic Web and Multimedia MetaData Processing Approach People: 3 PostDocs Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 2

Wave Equation Solutions Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 2

Ideal String Wave Equation 2 y t 2 = c2 2 y x 2 (1) (d Alembert, 1747) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 3

1D DWG General solution found by d Alembert in 1747: y(k, n + 1) = gy + (k 1, n) + gy (k + 1, n) (2) Consolidating the delays and gains yields extremely computational efficient solutions y + (n) z -L/2 y + (n-l/2) -1 + y(nδt,xo) -1 y - (n) z -L/2 y - (n-l/2) x = 0 x = Δx L/2 Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 4

First Order FDTD Scheme (FOFS) Central differences scheme: y k,n+1 = g + k y k 1,n + g k y k+1,n + a k y k,n 1 (3) a k-1 a k a k+1 g + k-1 g - k-1 g + k g - k g + k+1 g - k+1 y k-1,n+1 y k,n+1 y k+1,n+1 z -1 z -1 z -1 y k-1,n y k,n y k+1,n z -1 z -1 z -1 y k-1,n-1 y k,n-1 y k+1,n-1 Losses can be frequency-dependent [Karjalainen, 2002] Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 5

Stiff strings are also characterized by dispersion, the new wave equation is: λ stiffness, 2 y t 2 σ 0 f-independent loss σ 1 f-dependent loss = c 2 y x 2 λ 4 y x 4 2σ y 0 t + 2σ 1 y t 2 y x 2 (4) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 6

Second order FDTD scheme (SOFS) A numerical scheme for the PDE (4) after [Bilbao, 2010] y k,n+1 = a 0y k,n + a 1(y k+1,n + y k 1,n ) + +a 2(y k+2,n + y k 2,n ) + b 0y k,n 1 + +b 1(y k+1,n 1 + y k 1,n 1 ) (5) a 2 a 2 z -1 z -1 z -1 z -1 z -1 a 0 a 1 a 1 z -1 z -1 z -1 b 0 z -1 z -1 b 1 b 1 Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 7

FOFS vs. SOFS FOFS for (1) SOFS for (4) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 8

Pros and Cons DWG Efficiency Numerical stability Flexible addition of DSP blocks Departure from underlying physics Characterization based on audio analysis FDTD Characterization based on physical measurement Minimal precomputation of parameters Emulation of distributed nonlinear contact Computational cost (not an issue anymore) Coefficients design Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 9

Interfacing DWG and FDTD Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 9

Previous works Mixed modeling M. Karjalainen, C. Erkut, and L. Savioja, Compilation of unified physical models for efficient sound synthesis, in Acoustics, Speech, and Signal Processing, 2003. Proceedings.(ICASSP 03) 2003 IEEE International Conference on. IEEE, 2003, vol. 5, pp. V-433. M. Karjalainen and C. Erkut, Digital Waveguides versus Finite Difference Structures: Equivalence and Mixed Modeling, EURASIP Journal on Advances in Signal Processing, no. 7, pp. 978-989, 2004. 1-D First Order case (adapted from [Erkut, 2002]) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 10

Mixed Modeling Goals Unified approach (1 POV) Modular modeling (many FDTD features at a lower cost Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 11

SOFS-DWG Interface Conditions for Matching y k,n+1 = a 0 y k,n + +a 1 (y k 1,n + y k+1,n ) + +b 1 (y k 1,n 1 + y k+1,n 1 ) + +b 0 y k,n 1 + a 2 (y k 2,n + y k+2,n ) (6) with k: last FDTD spatial point y + k+1,n = y k+1,n 1 + gy k,n (7) with k+1: first DWG spatial point Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 12

Case Study Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 12

Hohner Clavinet D6 Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 13

Mechanical Action Figure : (a) Top view - (b) Side view Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 14

Polynomial Pulse Model (PPM) f(x) = a px p + a p 1 x p 1 +... + a 1 x + a 0 (8) Excitation pulse signal for piano and forte tones Spectral Envelope Model (SEM) E = α 1 E 1 + (1 α)e 2 (9) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 15

Proposed Excitation Model I Tangent force: f tan = θ(k)f maxφ(t) (derived from [Bilbao, 2010]) φ(t): raised cosine (1-4 ms) f max: maximum force (10 N) θ(k): localization Contact length [smp]: e = l c/h l c: tangent width h: grid spacing Localization if: 0 < e 2 Concentrated contact w/ linear interpolation 1 e, k = k i θ(k) = b e, k = k i+1 (10) 0, otherwise Distributed contact w/ Lagrange interpolation (f-resp: -6 db at Nyquist) (e 1)(e 2), k = k 2 i 1 k = k i e(e 2), θ(k) = e(e 1) 2, k = k i+1 0, otherwise (11) Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 16

Proposed Excitation Model II Stud force f stud = K(y k ) α θ(x) K: stiffness coefficient α : penetration coefficient Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 17

Resume Tangent contact: FDTD Wave propagation: DWG Secondary effects (e.g. beating, pickups): additional filters cascaded to the DWG FDTD DWG Secondary EFX Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 18

Simulations Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 18

Video: Computer Simulation Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 19

Computational Cost Number of operations 300 250 200 150 100 50 Products FDTD products DWG products Mixed products 0 F1 E2 E4 E5 E6 Notes Number of operations 600 400 200 Sums FDTD sums DWG sums Mixed sums 0 F1 E2 E4 E5 E6 Notes Notes: DWG has a constant overhead due to constant filters order 50% string in FDTD and 50% in DWG samples at http://a3lab.dii.univpm.it/projects/fdtd-adaptor Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 20

Conclusions Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 20

Outcome A novel SOFS-DWG adaptor is devised to extend previous FOFS-DWG modeling Reduced Computational Cost compared to FDTD Increased flexibility: excitation-related parameters are physical......but missing perceptual components can be added with standard DWG methods Future Work Listening Tests similarly to [Gabrielli, 2011] Evaluate the mixed approach ease of parametrization Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 21

Thank you Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 22

References Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 22

References I [1] M. Karjalainen, 1-d digital waveguide modeling for improved sound synthesis, in Proc. Int. Conf. on Acoustics, Speech and Signal Processing (IEEE), vol. 2, pp. 1869-1872, Orland, USA, 2002. [2] S. Bilbao and M. Rath, Time domain emulation of the Clavinet, in Proc. AES 128th Convention, London, UK, May 2010. [3] C. Erkut, M. Karjalainen, Finite Difference Method vs. Digital Waveguide Method in String Instrument Modeling and Synthesis, report, online at https://www.acoustics.hut.fi/ mak/pub/isma2002 Erkut.pdf [4] L. Gabrielli, S. Squartini, and V. Välimäki, A subjective validation method for musical instrument emulation, in AES 131st Convention, NY, USA, 2011 Gabrielli, Remaggi, Squartini, Välimäki - UNIVPM 23