Sound Synthesis

Total Page:16

File Type:pdf, Size:1020Kb

Sound Synthesis CTP431- Music and Audio Computing Sound Synthesis Graduate School of Culture Technology KAIST Juhan Nam 1 Musical Sound Synthesis § Modeling the patterns of musical tones and generating them § (Typical) musical tones – Time-wise: amplitude envelope (ADSR) à Waveform – Frequency-wise : harmonic distribution à Spectrogram § How are musical tones different from other sounds (e.g. speech)? 2 Types of Tones § Musical tones have more diverse types – Harmonic: guitar, flute, violin, organ, singing voice (vowel) – Inharmonic: piano, vibraphone – Non-harmonic: drum, percussion, singing voice (consonant) [From Klapuri’s slides] Vibraphone *Inharmonicity in Piano 3 Information in Tones § Musical tones have the main information in “pitch” – Speech Tones have it mainly in “formant (i.e. spectral envelop)” § Examples – Original music : – Reconstruction from timbre features (MFCC) and using white-noise as a source): – Reconstruction from tonal features (Chroma): 4 Pitch Scale and Range § In music, pitch is arranged on a tuning system and the range is much wider 4000 3500 3000 2500 Hz − 2000 frequency 1500 1000 500 0 10 20 30 40 50 time [second] 5 Control of Tones § Musical Instrument Note Number, Velocity, Music Output Duration Synthesizer (+ Expressions) § Speech Speech Phonemes Output Synthesizer (+ Expressions) 6 Overview of Sound Synthesis Techniques § Signal model (analog / digital) – Additive Synthesis – Subtractive Synthesis – Modulation Synthesis: ring modulation, frequency modulation – Distortion Synthesis: non-linear § Sample model (digital) – Sampling Synthesis – Granular Synthesis – Concatenative Synthesis § Physical model (digital) – Digital Waveguide Model 7 Theremin § A sinusoidal tone generator § Two antennas are remotely controlled to adjust pitch and volume Theremin ( by Léon Theremin, 1928) Theremin (Clara Rockmore) https://www.youtube.com/watch?v=pSzTPGlNa5U 9 Additive Synthesis § Synthesize sounds by adding multiple sine oscillators – Also called Fourier synthesis OSC Amp (Env) OSC Amp (Env) + . OSC Amp (Env) 10 Hammond Organ § Drawbars – Control the levels of individual tonewheels 11 Hammond Organ https://www.youtube.com/watch?v=2rqn4bYFUZU 12 Sound Examples § Web Audio Demo – http://femurdesign.com/theremin/ – http://www.venlabsla.com/x/additive/additive.html – http://codepen.io/anon/pen/jPGJMK § Examples (instruments) – Kurzweil K150 • https://soundcloud.com/rosst/sets/kurzweil-k150-fs-additive – Kawai K5, K5000 13 Subtractive Synthesis § Synthesize sounds by filtering wide-band oscillators – Source-Filter model – Examples • Analog Synthesizers: oscillators + resonant lowpass filters • Voice Synthesizers: glottal pulse train + formant filters 20 20 20 10 10 10 0 0 0 −10 −10 −10 −20 −20 −20 −30 −30 −30 Magnitude (dB) Magnitude (dB) Magnitude (dB) −40 −40 −40 −50 −50 −50 −60 −60 −60 5 10 15 20 0 0.5 1 1.5 2 2.5 5 10 15 20 Frequency (kHz) 4 Frequency (kHz) Frequency (kHz) x 10 Source Filter Filtered Source 14 Moog Synthesizers Soft Envelope LFO Control Keyboard Physical Control Wheels Slides Pedal Envelope Parameter Parameter Parameter Audio Path Oscillators Filter Amp Parameter = offset + depth*control (e.g. filter cut-off frequency) (static value) (dynamic value) 15 Oscillators § Classic waveforms 2 1 2 0 0 0 −2 −1 −2 0 50 100 150 200 0 50 100 150 200 0 50 100 150 200 20 20 20 0 −6dB/oct 0 −6dB/oct 0 −12dB/oct −20 −20 −20 −40 −40 −40 Magnitude (dB) Magnitude (dB) Magnitude (dB) −60 −60 −60 5 10 15 20 5 10 15 20 5 10 15 20 Frequency (kHz) Frequency (kHz) Frequency (kHz) Sawtooth Square Triangular § Modulation – Pulse width modulation – Hard-sync – More rich harmonics 16 Amp Envelop Generator § Amplitude envelope generation – ADSR curve: attack, decay, sustain and release – Each state has a pair of time and target level Amplitude Attack Decay (dB) Sustain Release Note On Note Off 17 Examples § Web Audio Demos – http://www.google.com/doodles/robert-moogs-78th-birthday – http://webaudiodemos.appspot.com/midi-synth/index.html – http://aikelab.net/websynth/ – http://nicroto.github.io/viktor/ § Example Sounds – SuperSaw – Leads – Pad – MoogBass – 8-Bit sounds: https://www.youtube.com/watch?v=tf0-Rrm9dI0 – TR-808: https://www.youtube.com/watch?v=YeZZk2czG1c 18 Modulation Synthesis § Modulation is originally from communication theory – Carrier: channel signal, e.g., radio or TV channel – Modulator: information signal, e.g., voice, video § Decreasing the frequency of carrier to hearing range can be used to synthesize sound § Types of modulation synthesis – Amplitude modulation (or ring modulation) – Frequency modulation § Modulation is non-linear processing – Generate new sinusoidal components 19 Ring Modulation / Amplitude Modulation § Change the amplitude of one source with another source – Slow change: tremolo – Fast change: generate a new tone Modulator OSC Modulator OSC Carrier OSC x Carrier OSC x + (1 a (t))A cos(2 f t) am (t)Ac cos(2π fct) + m c π c Ring Modulation Amplitude Modulation 20 Ring Modulation / Amplitude Modulation § Frequency domain – Expressed in terms of its sideband frequencies – The sum and difference of the two frequencies are obtained according to trigonometric identity – If the modulator is a non-sinusoidal tone, a mirrored-spectrum with regard to the carrier frequency is obtained carrier sideband sideband am (t) = Am sin(2π fmt)) fc-fm fc fc+fm 21 Examples § Tone generation – SawtoothOsc x SineOsc – https://www.youtube.com/watch?v=yw7_WQmrzuk § Ring modulation is often used as an audio effect – http://webaudio.prototyping.bbc.co.uk/ring-modulator/ 22 Frequency Modulation § Change the frequency of one source with another source – Slow change: vibrato – Fast change: generate a new (and rich) tone – Invented by John Chowning in 1973 à Yamaha DX7 Modulator OSC Ac cos(2π fct + β sin(2π fmt)) frequency Carrier OSC A β = m Index of modulation fm 23 Frequency Modulation § Frequency Domain – Expressed in terms of its sideband frequencies – Their amplitudes are determined by the Bessel function – The sidebands below 0 Hz or above the Nyquist frequency are folded k=−∞ y(t) = Ac ∑ Jk (β)cos(2π( fc + kfm )t) k=−∞ carrier sideband1 sideband1 sideband2 sideband2 sideband3 sideband3 fc-3fm fc-2fm fc-fm fc fc+fm fc+2fm fc+3fm 24 Bessel Function n β k+2n ∞ (−1) ( ) 2 Jk (β) = ∑ n=0 n!(n + k)! 1 Carrier Sideband 1 Sideband 2 Sideband 3 Sideband 4 0.5 J_(k) 0 −0.5 0 50 100 150 200 250 300 350 beta 25 Bessel Function 26 The Effect of Modulation Index 1 1 0 0 Amplitude Amplitude −1 −1 0 500 1000 1500 2000 0 500 1000 1500 2000 Time (Sample) Time (Sample) 20 20 Beta = 0 Beta = 1 0 0 −20 −20 −40 −40 Magnitude (dB) −60 Magnitude (dB) −60 0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Frequency (kHz) Frequency (kHz) 1 1 0 0 Amplitude Amplitude −1 −1 0 500 1000 1500 2000 0 500 1000 1500 2000 Time (Sample) Time (Sample) 20 20 Beta = 10 Beta = 20 0 0 −20 −20 −40 −40 Magnitude (dB) −60 Magnitude (dB) −60 0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Frequency (kHz) Frequency (kHz) fc = 500, fm = 50 27 Yamaha DX7 (1983) 28 “Algorithms” in DX7 http://www.audiocentralmagazine.com/yamaha-dx-7-riparliamo-di-fm-e-non-solo-seconda-parte/yamaha-dx7-algorithms/ 29 Examples § Web Audio Demo – http://www.taktech.org/takm/WebFMSynth/ § Sound Examples – Bell – Wood – Brass – Electric Piano – Vibraphone 30 Non-linear Synthesis (wave-shaping) § Generate a rich sound spectrum from a sinusoid using non-linear transfer functions (also called “distortion synthesis”) § Examples of transfer function: y = f(x) – y = 1.5x’ – 0.5x’3 – y = x’/(1+|x’|) x’=gx: g correspond to the “gain knob” of the distortion – y = sin(x’) T0(x)=1, T1(x)=x, – Chebyshev polynomial: Tk+1(x) = 2xTk(x)-Tk-1(x) 2 3 T2(x)=2x -1, T2(x)=4x -3x 1 1 1 0 0 Amplitude 0.5 Amplitude −1 0 50 100 150 200 −1 Time (Sample) 0 50 100 150 200 0 Time (Sample) 20 Amplitude 20 0 −0.5 0 −20 −40 −20 −1 Magnitude (dB) −60 −1 −0.5 0 0.5 1 −40 5 10 15 20 Time (Sample) Frequency (kHz) Magnitude (dB) −60 5 10 15 20 Frequency (kHz) 31 Physical Modeling § Modeling Newton’s laws of motion (i.e. � = ��) on musical instruments – Every instrument have a different model § The ideal string '() '() – Wave equation: � = �� à � = � (�: tension, �: linear mass density) '*( '*( * * – General solution: � �, � = � (� − ) + � (� + ) 0 3 5 3 àLeft-going traveling wave and right-going traveling wave 32 Physical Modeling § Waveguide Model – With boundary condition (fixed ends) -1.0 -0.99 § The Karplus-Strong model Delay Line x(n) + Z-M y(n) Noise Burst Lowpass Filter 33 Physical Modeling § The Extended Karplus -Strong model https://ccrma.stanford.edu/~jos/pasp/Extended_Karplus_Strong_Algorithm.html 34 Sample-based Synthesis § The majority of digital sound and music synthesis today is accomplished via the playback of stored waveforms – Media production: sound effects, narration, prompts – Digital devices: ringtone, sound alert – Musical Instruments • Native Instrument Kontakt5: 43+ GB (1000+ instruments) • Synthogy Ivory II Piano: 77GB+ (Steinway D Grand, ….) Foley (filmmaking) Ringtones Synthogy Ivory II Piano 35 Why Don’t We Just Use Samples? § Advantages – Reproduce realistic sounds (needless to say) – Less use of CPU § Limitations – Not flexible: repeat the same sound again, not expressive – Can require a great deal of storage – Need high-quality recording – Limited to real-world sounds § Better ways – Modify samples based on existing sound processing techniques • Much richer spectrum of sounds – Trade-off: CPU, memory and programmability 36 Sample-based Synthesis Off-Line Storing Off-line Recording Processing in table - Sample editing Meta-data: pitch, - Pitch change loudness, action, text - Filter, EQ, envelope - Normalization User Sample Online Audio On-line input Fetching Processing Effect - Pitch, velocity, Read Samples - Pitch Change - Delay-based Timbre from the table - Filter, EQ effects - Speed, strength - Envelope (e.g.
Recommended publications
  • Theory and Practice of Modified Frequency Modulation Synthesis*
    PAPERS Theory and Practice of Modified Frequency Modulation Synthesis* VICTOR LAZZARINI AND JOSEPH TIMONEY ([email protected]) ([email protected]) Sound and Music Technology Group, National University of Ireland, Maynooth, Ireland The theory and applications of a variant of the well-known synthesis method of frequency modulation, modified frequency modulation (ModFM), is discussed. The technique addresses some of the shortcomings of classic FM and provides a more smoothly evolving spectrum with respect to variations in the modulation index. A complete description of the method is provided, discussing its characteristics and practical considerations of instrument design. A phase synchronous version of ModFM is presented and its applications on resonant and formant synthesis are explored. Extensions to the technique are introduced, providing means of changing spectral envelope symmetry. Finally its applications as an adaptive effect are discussed. Sound examples for the various applications of the technique are offered online. 0 INTRODUCTION tion we will examine further applications in complement to the ones presented in [11]. We will also look at exten- The elegance and efficiency of closed-form formulas, sions to the basic technique as well as its use as an adap- which arise in various distortion synthesis algorithms, rep- tive effect. resent a resource for instrument design that is explored too rarely. Among the many techniques in this group there 1 SIMPLE MODFM SYNTHESIS are frequency modulation synthesis [1], summation formula method [2], nonlinear waveshaping [3], [4], and phase dis- ModFM synthesis represents an interesting alternative tortion [5]. Some of these techniques remain largely for- to the well-known FM [1] (or phase-modulation) synthe- gotten, even when many useful applications for them can sis.
    [Show full text]
  • Pdf Nord Modular
    Table of Contents 1 Introduction 1.1 The Purpose of this Document 1.2 Acknowledgements 2 Oscillator Waveform Modification 2.1 Sync 2.2 Frequency Modulation Techniques 2.3 Wave Shaping 2.4 Vector Synthesis 2.5 Wave Sequencing 2.6 Audio-Rate Crossfading 2.7 Wave Terrain Synthesis 2.8 VOSIM 2.9 FOF Synthesis 2.10 Granular Synthesis 3 Filter Techniques 3.1 Resonant Filters as Oscillators 3.2 Serial and Parallel Filter Techniques 3.3 Audio-Rate Filter Cutoff Modulation 3.4 Adding Analog Feel 3.5 Wet Filters 4 Noise Generation 4.1 White Noise 4.2 Brown Noise 4.3 Pink Noise 4.4 Pitched Noise 5 Percussion 5.1 Bass Drum Synthesis 5.2 Snare Drum Synthesis 5.3 Synthesis of Gongs, Bells and Cymbals 5.4 Synthesis of Hand Claps 6 Additive Synthesis 6.1 What is Additive Synthesis? 6.2 Resynthesis 6.3 Group Additive Synthesis 6.4 Morphing 6.5 Transients 6.7 Which Oscillator to Use 7 Physical Modeling 7.1 Introduction to Physical Modeling 7.2 The Karplus-Strong Algorithm 7.3 Tuning of Delay Lines 7.4 Delay Line Details 7.5 Physical Modeling with Digital Waveguides 7.6 String Modeling 7.7 Woodwind Modeling 7.8 Related Links 8 Speech Synthesis and Processing 8.1 Vocoder Techniques 8.2 Speech Synthesis 8.3 Pitch Tracking 9 Using the Logic Modules 9.1 Complex Logic Functions 9.2 Flipflops, Counters other Sequential Elements 9.3 Asynchronous Elements 9.4 Arpeggiation 10 Algorithmic Composition 10.1 Chaos and Fractal Music 10.2 Cellular Automata 10.3 Cooking Noodles 11 Reverb and Echo Effects 11.1 Synthetic Echo and Reverb 11.2 Short-Time Reverb 11.3 Low-Fidelity
    [Show full text]
  • 3. Performative Modulation
    %FQBSUNFOUPG4JHOBM1SPDFTTJOHBOE"DPVTUJDT " BM ,#ŗ U P % % & )(&#(,ŗ-.,.ŗ)/(ŗ #') & ŗ ) 3(."-#-ŗ&!),#."'-ŗ (& #( ,ŗ-. +BSJ,MFJNPMB , . ŗ) /(ŗ3(. " -#-ŗ& !) ,#. " '-ŗ 9HSTFMG*afabfh+ 9HSTFMG*afabfh+ *4#/ #64*/&44 *4#/ QEG &$0/0.: *44/- *44/ "35 *44/ QEG %&4*(/ "3$)*5&$563& " B "BMUP6OJWFSTJUZ M U 4DIPPMPG&MFDUSJDBM&OHJOFFSJOH 4$*&/$& P %FQBSUNFOUPG4JHOBM1SPDFTTJOHBOE"DPVTUJDT 5&$)/0-0(: 6 XXXBBMUPGJ OJ W $304407&3 F S T %0$503"- J %0$503"- U %*44&35"5*0/4 Z %*44&35"5*0/4 Aalto University publication series DOCTORAL DISSERTATIONS 25/2013 Nonlinear Abstract Sound Synthesis Algorithms Jari Kleimola A doctoral dissertation completed for the degree of Doctor of Science in Technology to be defended, with the permission of the Aalto University School of Electrical Engineering, at a public examination held at the lecture hall S1 of the school on 22 February 2013 at 12 noon. Aalto University School of Electrical Engineering Department of Signal Processing and Acoustics Supervising professor Prof. Vesa Välimäki Thesis advisor Prof. Vesa Välimäki Preliminary examiners Dr. Tamara Smyth, Simon Fraser University Surrey, Canada Prof. Roger B. Dannenberg, Carnegie Mellon University, USA Opponent Prof. Philippe Depalle, McGill University, Canada Aalto University publication series DOCTORAL DISSERTATIONS 25/2013 © Jari Kleimola ISBN 978-952-60-5015-7 (printed) ISBN 978-952-60-5016-4 (pdf) ISSN-L 1799-4934 ISSN 1799-4934 (printed) ISSN 1799-4942 (pdf) http://urn.fi/URN:ISBN:978-952-60-5016-4 Unigrafia Oy Helsinki 2013 Finland Abstract
    [Show full text]
  • Kivonó Színtézis) – Analóg Szintézis
    Széchenyi István Egyetem Műszaki Tudományi Kar DIPLOMAMUNKA Laczkovits Áron Villamosmérnöki MSc szak 2013 SZÉCHENYI ISTVÁN EGYETEM MŰSZAKI TUDOMÁNYI KAR Távközlési Tanszék DIPLOMAMUNKA Hangszíntézisek Laczkovits Áron Villamosmérnöki MSc szak Távközlési rendszerek és szolgáltatások szakirány Győr, 2013 Feladatkiírás Diplomamunka címe: Hangszíntézis módszerek Hallgató neve: Laczkovits Áron Szak: Villamosmérnöki Képzési szint: MSc Típus: nyilvános A diplomaterv keretében a meglévő szintézis módszerek csoportosítását, bemutatását, valamint e módszerek objektív összehasonlítását kell elvégezni. Minden csoportba reprezentatív hang színtézis technikákat választva. A kiválasztott színtézis módszerek a hozzájuk szorosan kapcsolódó szempontok szerint kerüljenek osztályozásra. Mutassa be a hang és szintéziseinek elméleti alapjait. Ismertesse a különböző hangszintézis csoportokat. Valósítsa meg a kiválasztott hangszintéziseket MATLAB programmal. Vizsgálja meg a szintézisek hatásfokát a paraméterek változtatásával. A számítási kapacitások és a hatásfok eredmények alapján határozza meg az optimális a paraméterek értékeit. Értékelje a kapott eredményeket és hasonlítsa össze különböző szintéziseket. Győr, 2013-02-18 ______________________ ______________________ belső konzulens tanszékvezető Értékelő lap Diplomamunka címe: Hangszíntézis módszerek Hallgató neve: Laczkovits Áron Szak: Villamosmérnöki Képzési szint: MSc Típus: nyilvános A diplomamunka beadható / nem adható be: (a nem kívánt rész törlendő) ____________________ _____________________ dátum
    [Show full text]
  • Fabián Esqueda Native Instruments Gmbh 1.3.2019
    SOUND SYNTHESIS FABIÁN ESQUEDA NATIVE INSTRUMENTS GMBH 1.3.2019 © 2003 – 2019 VESA VÄLIMÄKI AND FABIÁN ESQUEDA SOUND SYNTHESIS 1.3.2019 OUTLINE ‣ Introduction ‣ Introduction to Synthesis ‣ Additive Synthesis ‣ Subtractive Synthesis ‣ Wavetable Synthesis ‣ FM and Phase Distortion Synthesis ‣ Synthesis, Synthesis, Synthesis SOUND SYNTHESIS 1.3.2019 Introduction ‣ BEng in Electronic Engineering with Music Technology Systems (2012) from University of York. ‣ MSc in Acoustics and Music Technology in (2013) from University of Edinburgh. ‣ DSc in Acoustics and Audio Signal Processing in (2017) from Aalto University. ‣ Thesis topic: Aliasing reduction in nonlinear processing. ‣ Published on a variety of topics, including audio effects, circuit modeling and sound synthesis. ‣ My current role is at Native Instruments where I work as a Software Developer for our Synths & FX team. ABOUT NI SOUND SYNTHESIS 1.3.2019 About Native Instruments ‣ One of largest music technology companies in Europe. ‣ Founded in 1996. ‣ Headquarters in Berlin, offices in Los Angeles, London, Tokyo, Shenzhen and Paris. ‣ Team of ~600 people (~400 in Berlin), including ~100 developers. SOUND SYNTHESIS 1.3.2019 About Native Instruments - History ‣ First product was Generator – a software modular synthesizer. ‣ Generator became Reaktor, NI’s modular synthesis/processing environment and one of its core products to this day. ‣ The Pro-Five and B4 were NI’s first analog modeling synthesizers. SOUND SYNTHESIS 1.3.2019 About Native Instruments ‣ Pioneered software instruments and digital
    [Show full text]
  • Analog Violin Audio Synthesizer
    ANALOG VIOLIN AUDIO SYNTHESIZER by Brandon Davis Senior Project ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University San Luis Obispo 2014 TABLE OF CONTENTS Section Page List of Tables and Figures………………………………………………………………………………3 Acknowledgements……………………………………………………………………………………..7 Abstract…………………………………………………………………………………………………8 1. Introduction…………………………………………………………………………………………..9 2. Background…………………………………………………………………......................................10 3. Requirements and Specifications………………...………………………………………………….10 4. Design Approach Alternatives……………………………………………………………...………..12 5. Project Design………………………………………………………………………………………...13 5.1 Level 0 Functional Decomposition………………………………………………………...13 5.2 Level 1 Functional Decomposition………………………………………………………...14 5.3 Level 2 Functional Decomposition………………………………………………………...15 5.3.1 Touch Sensor…………………………………………………………………….15 5.3.2 Oscillator 1 and Oscillator 2……………………………………………………..17 5.3.3 Low Frequency Oscillator (LFO)………………………………………………..20 5.3.4 Mixer ……………………………………………………………………………22 5.3.5 Envelope Generator Circuits…………………………………………………….23 5.3.5.1 Amplifier Envelope Generator………………………………………..25 5.3.5.2 Low-Pass Filter Envelope Generator…………………………………26 5.3.5.3 Envelope Buffer Stage………………………………………………...28 5.3.6 Voltage-Controlled Amplifier (VCA)…………………………………………...28 5.3.7 Voltage-Controlled (Low-Pass) Filter…………………………………………..30 5.3.8 Output Stage……………………………………………………………………..32 5.3.9 Power Supply…………………………………………………………………….32 6. Physical Construction and Integration……………………………………………………………….34
    [Show full text]
  • Filter-Based Oscillator Algorithms for Virtual Analog Synthesis Aalto University
    Department of Signal Processing and Acoustics Aalto- Jussi Pekonen Pekonen Jussi Digital modeling of the subtractive sound synthesis principle used in analog DD 26 Filter-Based Oscillator synthesizers has been a popular research / topic in the past few years. In subtractive 2014 sound synthesis, a spectrally rich oscillator Algorithms for Virtual signal is filtered with a time-varying filters. Filter-Based Oscillator Algorithms for Virtual Analog Synthesis Synthesis Analog Virtual for Algorithms Oscillator Filter-Based The trivial digital implementation of the oscillator waveforms typically used in this Analog Synthesis synthesis method suffers from disturbing aliasing distortion. This thesis presents efficient filter-based algorithms that produce these waveforms with reduced Jussi Pekonen aliasing. In addition, perceptual aspects of audibility of aliasing and modeling of analog synthesizer oscillator output signals are addressed. V+ V+ − + − V + − V − 9HSTFMG*affiig+ ISBN 978-952-60-5588-6 BUSINESS + ISBN 978-952-60-5586-2 (pdf) ECONOMY ISSN-L 1799-4934 ISSN 1799-4934 ART + ISSN 1799-4942 (pdf) DESIGN + ARCHITECTURE University Aalto Aalto University School of Electrical Engineering SCIENCE + Department of Signal Processing and Acoustics TECHNOLOGY www.aalto.fi CROSSOVER DOCTORAL DOCTORAL DISSERTATIONS DISSERTATIONS Aalto University publication series DOCTORAL DISSERTATIONS 26/2014 Filter-Based Oscillator Algorithms for Virtual Analog Synthesis Jussi Pekonen A doctoral dissertation completed for the degree of Doctor of Science (Technology) to be defended, with the permission of the Aalto University School of Electrical Engineering, at a public examination held at the lecture hall S1 of the school on 4 April 2014 at 12. Aalto University School of Electrical Engineering Department of Signal Processing and Acoustics Supervising professor Prof.
    [Show full text]
  • FREQUENCY MODULATION (FM) SYNTHESIS + Phase Distortion (PD) Frequency Modulation (FM)
    Electronic musical instruments FREQUENCY MODULATION (FM) SYNTHESIS + phase distortion (PD) Frequency modulation (FM) FM – frequency modulation, used since 1920s to transmit radio waves: • transmitted signal (modulator) – e.g. radio broadcast • carrier signal – high frequency sine (e.g. 99.8 MHz) • amplitude of the transmitted signal modulates instantaneous frequency of the carrier • modulated signal is transmitted on air • the received signal is demodulated • we obtain the original signal source: http://slidedeck.io/jsantell/dsp-with-web-audio-presentation FM in sound synthesis 1973 – John Chowning published a paper: „The Synthesis of Complex Audio Spectra by Means of Frequency Modulation”. • If the two signals have specific frequencies, a harmonic signal is obtained. • Changes in modulator amplitude modify the timbre. • Multiple modulations may be performed. • Easy and cheap method of digital sound synthesis. • Patented in 1975-1995 by Chowning and Yamaha. FM in sound synthesis Let’s simplify the problem to two sine oscillators: • carrier signal (C) xc(t) = A sin(t) • modulating signal (M) xm(t) = I sin(t) The modulator changes (modulates) the instantaneous frequency of the carrier signal: x(t) = A sin[t + xm(t)] x(t) = A sin[t + I sin(t)] Frequency modulation in sound What effect does FM produce? • Low modulating frequency (<1 Hz): slow wobbling of the pitch (just like LFO in the subtractive synthesis). • Modulating frequency in 1 Hz – 20 Hz range: an increasing vibrato effect. • Frequency above 20 Hz: an inharmonic sound is produced,
    [Show full text]
  • Vector Phaseshaping Synthesis
    Proc. of the 14th Int. Conference on Digital Audio Effects (DAFx-11), Paris, France, September 19-23, 2011 VECTOR PHASESHAPING SYNTHESIS Jari Kleimola*, Victor Lazzariniy, Joseph Timoneyy, Vesa Välimäki* *Aalto University School of Electrical Engineering Espoo, Finland yNational University of Ireland, Maynooth Ireland [email protected], [email protected], [email protected] [email protected] ABSTRACT aliasing, whose application will be explored later in this paper. Fi- nally, waveshaping, as it is based on a non-linear amplification This paper introduces the Vector Phaseshaping (VPS) synthesis effect, almost always requires care in terms of gain scaling to be technique, which extends the classic Phase Distortion method by usable. This is not, in general, a requirement for phaseshaping. providing a flexible method to distort the phase of a sinusoidal os- After a brief introduction to the original PD synthesis tech- cillator. This is done by describing the phase distortion function nique, this paper is organized as follows. Section 3 introduces the using one or more breakpoint vectors, which are then manipulated VPS method by defining the multi-point vectorial extension, deriv- in two dimensions to produce waveshape modulation at control ing its spectral description, and proposing a novel alias-suppression and audio rates. The synthesis parameters and their effects are method. Section 4 explores control rate modulation of the vector explained, and the spectral description of the method is derived. in 1-D, 2-D and multivector configurations, while Section 5 com- Certain synthesis parameter combinations result in audible alias- plements this at audio rates. Finally, Section 6 concludes.
    [Show full text]
  • Digital Emulation of Distortion Effects by Wave and Phase Shaping Methods
    Proc. of the 13th Int. Conference on Digital Audio Effects (DAFx-10), Graz, Austria, September 6-10, 2010 DIGITAL EMULATION OF DISTORTION EFFECTS BY WAVE AND PHASE SHAPING METHODS Joseph Timoney†, Victor Lazzarini†, Anthony Gibney† and Jussi Pekonen †† †Sound and Music Technology Group ††Dept. Signal Processing and Acoustics National University of Ireland Aalto University School of Science and Technology Maynooth, Ireland Espoo, Finland [email protected], [email protected] [email protected] ABSTRACT music production environment. Emulation using the algorithmic approach can be divided into a nonlinear system model with This paper will consider wave and phase signal shaping tech- memory or without memory [9]. However, incorporating mem- niques for the digital emulation of distortion effect processing. ory for systems with strong nonlinearities is computationally ex- We examine in detail how to determine the wave and phase shap- pensive for real-time synthesis [10]. Thus, it is more common to ing functions with harmonic amplitude data only first, and then use a nonlinear system that is memoryless. after including the harmonic phase data. Three distortion effects The action of such a nonlinear system is understood as wave- units are used to provide test data. Wave and phase shaping func- shaping [11], a form of amplitude distortion. It has been shown tions for the emulation of these effects are derived with the assis- more recently that distortion can also be applied to the signal tance of a super-resolution frequency-domain analysis technique. phase to achieve a similar result [12], [13], [14], although no In complement to this, we describe an alternative time domain complete theory for this is available.
    [Show full text]
  • 6 Chapter 6 MIDI and Sound Synthesis
    6 Chapter 6 MIDI and Sound Synthesis ................................................ 2 6.1 Concepts .................................................................................. 2 6.1.1 The Beginnings of Sound Synthesis ........................................ 2 6.1.2 MIDI Components ................................................................ 4 6.1.3 MIDI Data Compared to Digital Audio ..................................... 7 6.1.4 Channels, Tracks, and Patches in MIDI Sequencers ................ 11 6.1.5 A Closer Look at MIDI Messages .......................................... 14 6.1.5.1 Binary, Decimal, and Hexadecimal Numbers .................... 14 6.1.5.2 MIDI Messages, Types, and Formats ............................... 15 6.1.6 Synthesizers vs. Samplers .................................................. 17 6.1.7 Synthesis Methods ............................................................. 19 6.1.8 Synthesizer Components .................................................... 21 6.1.8.1 Presets ....................................................................... 21 6.1.8.2 Sound Generator .......................................................... 21 6.1.8.3 Filters ......................................................................... 22 6.1.8.4 Signal Amplifier ............................................................ 23 6.1.8.5 Modulation .................................................................. 24 6.1.8.6 LFO ............................................................................ 24 6.1.8.7 Envelopes
    [Show full text]
  • Phaseshaping Oscillator Algorithms for Musical Sound Synthesis
    PHASESHAPING OSCILLATOR ALGORITHMS FOR MUSICAL SOUND SYNTHESIS Jari Kleimola 1, Victor Lazzarini 2, Joseph Timoney 2, and Vesa Välimäki 1 1 Department of Signal Processing and Acoustics, Aalto University, Espoo, Finland 2 Sound and Digital Music Technology Group, National University of Ireland, Maynooth, Ireland [email protected],[email protected],[email protected],[email protected] ABSTRACT where f[.] is an arbitrary nonlinear function called a wa- veshaper . The well-known classic FM synthesis equation, This paper focuses on phaseshaping techniques and their for instance, can be rewritten as a waveshaping expres- relation to classical abstract synthesis methods. Elemen- sion tary polynomial and geometric phaseshapers, such as those based on the modulo operation and linear transfor- cos [ω n + xI (n)] = c (3) ω [][]− ω mations, are investigated. They are then applied to the cos( c n)cos xI (n) sin( c n)sin xI (n) , generation of classic and novel oscillator effects by using ω nested phaseshaping compositions. New oscillator algo- where c is the carrier frequency and the waveshapers rithms introduced in this paper include single-oscillator cos(.) and sin(.) act on the sinusoidal modulation signal hard sync, triangle modulation, efficient supersaw simu- x(n) of Equation 1. lation, and sinusoidal waveshape modulation effects. The Similarly, it is possible to describe PD as a form of digital waveforms produced with phaseshaping tech- waveshaping. This is demonstrated by starting with the following expression defining a sinusoidal oscillator: niques are generally discontinuous, which leads to alias- = [ πφ ] ing artifacts. Aliasing can be effectively reduced by mod- y(n) cos 2 (n .) (4) ifying samples around each discontinuity using the pre- viously proposed polynomial bandlimited step function The function φ(n) is the normalized phase defined by (polyBLEP) method.
    [Show full text]