國立交通大學 工學院聲音與音樂創意科技碩士學位學程 碩士論文 虛擬類比電子琴聲源探討 : 可運用於聲音合成之 三角波型實作. Virtual Analog Synthesizer Discussion: Implementation of Triangle Wave Used in

Similar documents
國立交通大學 電子研究所 碩士論文 多電荷幫浦系統及可切換級數負電壓產生器之設計及生醫晶片應用

IMPROVED POLYNOMIAL TRANSITION REGIONS ALGORITHM FOR ALIAS-SUPPRESSED SIGNAL SYNTHESIS

Variable Fractional Delay Filters in Bandlimited Oscillator Algorithms for Music Synthesis

On Minimizing the Look-up Table Size in Quasi Bandlimited Classical Waveform Oscillators

Publication P IEEE. Reprinted with permission. The accompanying webpage is available online at:

The Brief History of Virtual Analog Synthesis

Audible Aliasing Distortion in Digital Audio Synthesis

MULTILAYER HIGH CURRENT/HIGH FREQUENCY FERRITE CHIP BEAD

行政院國家科學委員會專題研究計畫成果報告

國立交通大學 經營管理研究所 碩士論文 上游獨占下之外部授權者的最適授權策略. The Optimal Licensing Strategy of an Outsider Patentee under. the Single Upstream Supplier 研究生 : 林錦宏

Design of an Op-Amp Gain Compensator for Switched-Capacitor Integrators

Convention Paper Presented at the 126th Convention 2009 May 7 10 Munich, Germany

#5802 使用者研究 Design and Research on User Experience

THE BEATING EQUALIZER AND ITS APPLICATION TO THE SYNTHESIS AND MODIFICATION OF PIANO TONES

計畫編號 : NSC E 執行時程 : 93 年 8 月 1 日至 94 年 7 月 31 日 計畫主持人 : 連豊力 國立台灣大學電機系助理教授 共同主持人 : 呂良鴻 國立台灣大學電子所助理教授 計畫參與人員 : 許瑋豪 方文杰 林雍倫 馮天俊 魏嘉樑 麥肇元

Band-Limited Simulation of Analog Synthesizer Modules by Additive Synthesis

Big Data and High Performance Computing

海象觀測同調性都卜勒微波雷達的開發 林昭暉 國立中央大學水文與海洋科學研究所助理教授 2 國立中央大學水文與海洋科學研究所博士班研究生 2 國立中央大學水文與海洋科學研究所研究助理 國家實驗研究院台灣海洋科技研究中心助理研究員

ROUNDING CORNERS WITH BLAMP

Academic Year

Virtual Reality 虛擬實境

國立交通大學 電子工程學系電子研究所 碩士論文. An Effective Heart Rate Variability Processor Design for. Portable 3-Lead ECG Monitoring System-on-Chip 研究生 : 曾少彥

Musical Genre Classification

凱思隆科技股份有限公司 公司與產品簡介. KeithLink Technology Co., Ltd. TEL: FAX:

Subtractive Synthesis without Filters

WARPED FILTER DESIGN FOR THE BODY MODELING AND SOUND SYNTHESIS OF STRING INSTRUMENTS

國立交通大學 碩士論文. Design and Realization of Capacitive Sensor Readout Circuit in LTPS Technology 研究生 : 林佑達. (Yu-Ta Lin) 指導教授 : 柯明道教授 (Prof.

書報討論報告 應用雙感測觸覺感測器於手術系統 之接觸力感測

國立交通大學 工業工程與管理學系 博士論文 利用電腦輔助設計資料防止錯打線的視覺偵測系統之設計與開發

國立交通大學 資訊科學與工程研究所碩士論文 多天線傳送系統干擾抑制及路徑衰減補償之可適性封包檢測. Adaptive Packet Acquisition with Interference and Time-Variant Path Loss in MIMO-OFDM Systems

Unit 6: Movies. Film Genre ( 可加 film 或 movie) Adjectives. Vocabulary. animation. action. drama. comedy. crime. romance. horror

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

Khlui-Phiang-Aw Sound Synthesis Using A Warped FIR Filter

24GHz BSD Radar. 24 GHz Radar Blind Spot Detection. Installation Guide

微奈米光電製程 管傑雄 國立台灣大學電機系

Large Signal Behavior of Micro-speakers. by Wolfgang Klippel, KLIPPEL GmbH ISEAT 2013

User s Manual. Wi-Fi Smart Plug HS100 Wi-Fi Smart Plug with Energy Monitoring HS REV 2.0.0

HARMONIC INSTABILITY OF DIGITAL SOFT CLIPPING ALGORITHMS

數位示波器原理準確量測與除錯技巧. 浩網科技股份有限公司應用工程暨高速數位測試中心 - 處長賴德謙 (Ted Lai ) 2014 INFINET TECHNOLOGY

Wireless Communications

Combining granular synthesis with frequency modulation.

STS & 社會學 課程介紹 課程大綱. 定稿 (6/Feb. 2015) 陽明大學 STS 所傅大為 ex: 7902 星期四 10am-1pm

MKII. Tipt p + + Z3000. FREQUENCY Smart VC-Oscillator PULSE WIDTH PWM PWM FM 1. Linear FM FM 2 FREQUENCY/NOTE/OCTAVE WAVE SHAPER INPUT.

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

Publication Lists (2001~2005) 1. Journal Papers:

國立交通大學 電信工程學系 碩士論文 連續時間轉導電容式三角積分調變器之實現. Implementation of the continuous-time transconductor-capacitor Delta-Sigma modulator 研究生 : 吳國璽 指導教授 : 洪崇智博士

Synthesis Techniques. Juan P Bello

Sound Synthesis Methods

Audio Engineering Society Convention Paper Presented at the 110th Convention 2001 May Amsterdam, The Netherlands

樊晉源簡歷 元智大學 / 工業工程與管理研究所 / 博士 (2005/06/30~2009/06/30) 大葉大學 / 事業經營研究所 / 碩士 (2001/06/30~2003/06/30) 科技政策研究與資訊中心政策研究組副研究員 (2014/01/01~ 迄今 )

Design of A Fast Lock-in All-Digital Phase-Locked Loop in 40-nm CMOS Technology

BIOGRAPHICAL DETAILS OF DIRECTORS, COMPANY SECRETARY AND CHIEF FINANCIAL OFFICER

INNOVATIVE PASSIVE MICROWAVE COMPONENTS FOR WIRELESS COMMUNICATION

震波醫療機之設計與開發 Design and Development of Shock Wave Therapy

Lecture 7 Frequency Modulation

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

teachers guide

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

聽力內容與圖片不符, 因此選 (B) 例題 Amy: Who s that man? Mike: 答案是 (C) (A) He s a cook. (B) Yes, he s my classmate. (C) He s our coach.

Milton Group Newsletter Season 1, 2015

DBUB-P705 Bluetooth Adapter User s Manual

國立交通大學 電信工程研究所 博士論文 新穎交錯耦合濾波器之開發設計與寬頻高階馬迅平衡非平衡轉換器合成設計

電機驅動方案產品介紹 廣閎科技 2016 May. 25 inergy 大比特研讨会资料区 :

一個可以創造奇蹟的行業 儒鴻企業股份有限公司 成衣事業部陳總經理坤鎕

Electrical Engineering

Spectrum. Additive Synthesis. Additive Synthesis Caveat. Music 270a: Modulation

Music 270a: Modulation

投稿類別 : 英文寫作類 篇名 : Superheroes: Comics vs. Movies 作者 : 王香云 苗栗高商 應外科三年 2 班周莨淇 苗栗高商 應外科三年 2 班洪靖嵐 苗栗高商 應外科三年 2 班 指導老師 : 王雅蘭老師

5G Technology Development in ITRI

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

FACTORS INFLUENCING THE ADOPTION OF LEAN MANUFACTURING: EVIDENCE FROM A CHINESE MANUFACTURING FIRM

行政院國家科學委員會補助 大專學生參與專題研究計畫研究成果報告

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

高速數位電路與無線通訊系統之電磁相容技術發展與應用

可程式計數陣列 (PCA) 功能使用方法. 可程式計數陣列功能使用方法 Application Note 1 適用產品 :SM59D04G2,SM59D03G2

What is Sound? Simple Harmonic Motion -- a Pendulum

Quick Start. Overview Blamsoft, Inc. All rights reserved.

Power Challenges for IoT devices

初探設計類比思考之三種現象 - 傳統媒材與數位媒材

SVPWM 三相电压源型逆变器的死区时间效应可能会导致电压损失, 电流波形畸变和转矩脉动. 为了改善电流波形, 减少转矩脉动, 详细分析了死区时间对输出电压的影响, 并提出了 SVPWM A

VISUAL ARTS ADVANCED LEVEL. 1.1 To examine candidates general creative ability.

FPGA-based Stepping Motor Drive System Design

MUSC 316 Sound & Digital Audio Basics Worksheet

Model RM Wireless Link Module External Interface Specification

VISUAL ARTS ADVANCED LEVEL. 1.1 To examine candidates general creative ability.

機械工程研究所博士聯絡電話 : (03) International Crisis Management Association. 2003,2005 Training Organization 2003, 2005, 2007,2009.

Chapter 4. Digital Audio Representation CS 3570

MARQUE : REFERENCE : CODIC :

國立交通大學 材料科學與工程學研究所 碩士論文

行政院國家科學委員會補助專題研究計畫 成果報告 期中進度報告 六子棋與 K 子棋之研究

Statistical Tools for Digital Forensics. Information Technologies for IPR Protection

允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵

What is Sound? Part II

30 個創意思考技巧. Checklists Brainstorming Forced Relationships/Analogy Attribute Listing Morphological Analysis Imitation Mindmapping

Digitalising sound. Sound Design for Moving Images. Overview of the audio digital recording and playback chain

OEM Installation Guidance Document For BRCM WLAN + Bluetooth Module, BCM94313HMGB FCC ID: QDS-BRCM1051; IC: 4324A-BRCM1051

Musical Acoustics, C. Bertulani. Musical Acoustics. Lecture 13 Timbre / Tone quality I

Transcription:

國立交通大學 工學院聲音與音樂創意科技碩士學位學程 碩士論文 虛擬類比電子琴聲源探討 : 可運用於聲音合成之 三角波型實作 Virtual Analog Synthesizer Discussion: Implementation of Triangle Wave Used in Sound Synthesis 研究生 : 林育德指導教授 : 黃志方教授成維華教授中華民國一百零一年七月

虛擬類比電子琴聲源探討 : 可運用於聲音合成之三角波型實作 Virtual Analog Synthesizer Discussion: Implementation of Triangle Wave Used in Sound Synthesis 研究生 : 林育德 指導教授 : 黃志方 成維華 Student:Yu-Der Lin Advisor:Chih-Fang Huang Wei-Hua Chieng 國立交通大學 工學院聲音與音樂創意科技碩士學位學程 碩士論文 A Thesis Submitted to Master Program of Sound and Music Innovative Technologies College of Engineering National Chiao Tung University in partial Fulfillment of the Requirements for the Degree of Master in Engineering July 2012 Hsinchu, Taiwan, Republic of China 中華民國一百零一年七月

虛擬類比電子琴聲源探討 : 可運用於聲音合成之三角波型實作 學生 : 林育德 指導教授 : 黃志方 成維華 國立交通大學工學院聲音與音樂創意科技碩士學位學程 摘要 隨著數位訊號處理的發展, 近年來許多用於音樂創作的電腦音源軟體針對早期產量少 不易取得之類比電子琴進行模擬, 將其特有聲響和操作方式以數位形式重現與普及 此類電子琴運用濾波器過濾一擁有豐富頻率成分的聲源作為聲音設計的方法, 稱之減法合成 減法合成聲源部分以鋸齒波 方波 三角波和正弦波四種基礎波型最常被使用 虛擬類比電子琴其一重要的議題為找出一有效率的演算法產生週期性的基礎波型聲源, 並在音質方面減少失真現象造成聽覺上的干擾 眾多以數位產生基礎波型運用於聲音合成的研究中, 鋸齒波及方波之生成方法最常被討論與研究 本論文欲對另一種常用之基礎波型三角波做一探討與模擬 從正弦波出發, 利用一波型成形器塑型後運用濾波器修改諧波大小生成三角波 並使用聽覺閥和聽覺遮蔽效應兩種聽覺感知模型作為音質評斷方法, 判定音質是否失真 由模擬所得之三角波在此評斷方法下無失真音最高可達 G7 (MIDI number 103), 涵蓋了常使用的樂音範圍 在減法合成聲音設計的架構下, 許多只運用三角波為初始聲源的合成聲響可以運用此方法作為聲源產生部分 關鍵字 : 類比電子琴 減法合成 虛擬類比 聲音合成 基礎波型 i

Virtual Analog Synthesizer Discussion: Implementation of Triangle Wave Used in Sound Synthesis Student:Yu-Der Lin Advisor:Chih-Fang Huang Wei-Hua Chieng Master Program of Sound and Music Innovative Technologies National Chiao Tung University Abstract This thesis discuss the source geometric waveforms in early analog synthesizer which use subtractive synthesis as sound designing principle. Implement the classical synthesizer triangle waveforms with reduced aliasing. This method are base on the concept of waveshaping a sine wave and modify the harmonic contents with a filter. Sound quality evaluation using masking effect and hearing threshold models shows that waveshape triangle wave method is perceptually alias-free over almost whole register of the grand piano to note G7 (MIDI number 103). It is applicable in digital implementations of subtractive sound synthesizer. Keywords: Analog Synthesizer, Virtual Analog (V.A), Subtractive Synthesis, Sound Synthesis, Classic Waveforms. ii

致謝 感謝我的指導教授黃志方 成維華教授 特別感謝黃志方老師支持我朝著喜愛的題目進行研究 成維華老師的教導不只在研究方面, 讓我反省許多問題並且受益良多 感謝學程的同學 系主任曾毓忠老師以及系辦何小姐一路相伴讓我得以順利完成學業 感謝我的家人與朋友 iii

Contents Abstract.i Acknowledgement... iii Contents.......iv List of Figures... vi List of Tables... vi Chapter 1 Introduction... 1 1.1 Background... 1 1.2 Research of Virtual Analog Synthesis... 2 1.3 Goals and Outline of the Thesis... 3 Chapter 2 Subtrctive Synthesis and Virtual Analog... 4 2.1 Subtractive Synthesis... 4 2.2 Subtractive Synthesizer... 4 2.2.1 Sound Processing Modules... 5 2.2.2 Modulation Modules... 5 2.3 Classic Waveform... 6 2.3.1 Sawtooth Wave... 8 2.3.2 Square and Triangle Wave... 9 2.4 Digital Implement of Classic Waveform... 9 Chapter 3 Algorithms Review... 13 3.1 Lane s method... 13 3.2 Differentiate Parabolic Wave... 16 3.3 Differentiate polynomial wave... 18 3.4 Bandlimited Impulse Train (BLIT)... 19 3.4.1 Discrete Summation Formula... 20 3.4.2 Sum of Windowed Sincs (BLIT-SWS)... 21 Chapter 4 Implement an Alias Suppressed Triangle wave... 22 4.1 Nonlinear Waveshaping... 22 4.2 Hyperbolic Tangent Waveshaper... 23 4.3 Waveshaper used in Triangle Wave Algorithm... 24 iv

4.4 Triangle wave algorithm... 26 4.5 Comparison... 28 4.6 Perceptual Evaluation... 31 Chapter 5 Conclusions and Future Works... 34 Bibliography... 35 v

List of Figures Fig 2-1 Basic form of subtractive synthesis... 5 Fig 2-2 Analog VCO module with classic waveforms... 7 Fig 2-3 Classic waveforms. Sawtooth, triangle, square and sine wave.... 7 Fig 2-4 Sawtooth wave spectrum... 8 Fig 2-5 Modulo counter generating trivial sawtooth.... 10 Fig 2-6 Aliasing of trivial sawtooth generate using Eq.2.... 11 Fig 3-1 Block diagram of Lane s method... 13 Fig 3-2 Sawtooth wave and spectrum of Lane s method... 15 Fig 3-3 Flow chart of Differential parabolic wave... 16 Fig 3-4 Parabolic waveform by squaring the modulo counter.... 17 Fig 3-5 (a) DPW sawtooth wave, 880hz (b)trivial sawtooth... 18 Fig 3-6 Generate sawtooth wave using Order-N DPW... 18 Fig 4-1 Hyperbolic tangent function.... 23 Fig 4-2 (a)sine wave shaped by tanh(x), (b) It s spectrum.... 24 Fig 4-3 Plot of Eq.8 with a=0.1 and a=0.9... 25 Fig 4-4 Sine wave distorted by Eq.8.... 26 Fig 4-5 Block diagram of waveshape triangle... 27 Fig 4-6 Spectrum of waveshape triangle and DPW triangle wave order N=1 to 3.... 29 Fig 4-7 Block diagrams of waveshape triangle compare to DPW triangle [21].... 30 Fig 4-8 Evaluation of waveshape triangle wave with hearing threshold and masking curve.... 33 List of Tables Table 1. Virtual Analog Publications (From Pekonen and Välimäki, 2011.[4])...2 Table 2. DPW triangle wave order N=1 to 3, [21].... 28 vi

Chapter 1 Introduction 1.1 Background Due to the development of digital signal processing (DSP) and continuously increasing computing power of microprocessors, musical tone synthesized by digital computer with various methods like frequency modulation (FM) [1], sampling and wavetable synthesizer [2] [3] both in the category of sample based synthesis became vary popular after 1980s. The futuristic and complex sound of digital synthesis techniques make big difference to the early synthesizers based on analog electronics used subtractive synthesis as their sound production principle. Vintage synth was almost overtaken by digital synthesis for a decade since 1980s. But in the mid-1990s the warm sound of analog subtractive synthesis started again to show interest by musicians. Research on digital simulation of the early analog synthesizer increased in mid 90s. A term Virtual Analog (V.A) represent the digital simulation of the analog audio devices. Implement subtractive synthesizer on digital domain has many advantages. Heavy analog equipment can be constructed to a smaller size, the tuning drift problem caused by temperature in early voltage controlled oscillator (VCO) will not happen in digital synthesis. Also, every control parameters can be stored to a computer as a preset easily. 1

V.A synthesis brings the possibility of simulate analog synthesizer sound on small or portable device. Nowadays, still many devices and applications that computing power and memory capacity of system is limited. Since many of the applications like ringtones for mobile phones, background music in games or music applications for tablet PC and mobile phone are generating polyphonic music, the efficiency of a real-time sound synthesis algorithm is the major issue in V.A. 1.2 Research of Virtual Analog Synthesis Over 50 publications dealing with V.A synthesis to date [4]. The research results from professor Vesa Välimäki, department of Signal Processing and Acoustics in Helsinki University [5] and CCRMA in Stanford University [6] have become very important for this field these years. Types of publications add up in 2011 is present in table 1. Table 1. Virtual Analog Publications Types Count Conference articles 23 Journal articles 12 Patents 5 Master s thesis & 3 doctorial dissertation Others 7 (From Pekonen and Välimäki, 2011. [4]) In these publications, about 80% discuss the Source signal generation, i.e., simulation of analog VCO s classical geometric waveform. The remaining focus on analog filter 2

modeling. Large amount of algorithms has been proposed for VCO s waveform synthesis, investigate the inherent aliasing problem in the generation of traditionally used source signals. In most V.A algorithms, sawtooth wave is first been generated and other waveform like square wave and triangle wave derived from modified the origin algorithm. 1.3 Goals and Outline of the Thesis When using subtractive synthesis as sound design tool, instrument like organ, glockenspiel, human whistling and more can easily synthesized using only triangle wave as sound source [16]. Currently discovered algorithms that start from sawtooth wave or impulse train, which takes more steps to get a triangle wave, a direct synthesis of aliasing suppressed triangle wave algorithm for V.A is introduced in the thesis. Musical tones and instruments mentioned above can implement more efficiently with less computations and memory. This thesis structured as follow. In Chapter 2, subtractive synthesis concept, classic waveforms used in subtractive synthesis are introduced. Aliasing problem in digital generated classic waveform also discussed. In Chapter 3, previous V.A algorithms for generating classic waveforms are reviewed. Chapter 4 a method for implement synthesizer s triangle wave is proposed and evaluate with perceptual model of hearing. Chapter 5 contains the conclusions and future works. 3

Chapter 2 Subtrctive Synthesis and Virtual Analog 2.1 Subtractive Synthesis Subtractive synthesis is a sound design method. As the name suggest, subtract synthesis filter out, or say, subtract the unwanted frequencies that source signal generated. Source signal can be harmonically rich waveform like sawtooth, square, triangle wave or noise generally [7]. Classic waveform used in early analog synthesizer will be discussed in section 2.3. 2.2 Subtractive Synthesizer Early analog synthesizers around 1960s use subtractive synthesis as their sound generation principle. It includes a collection of sound producing and modifying modules, for example: Oscillators, filters, low frequency oscillator (LFO), amplifier and more [7]. In it's most basic form, Fig 2.1, sound synthesis is a very simple process as follow: The source produces a constant raw waveform. The filter changes the harmonic structure of it, the amplitude envelope shape the sound s volume. 4

Source Signal Filter Envelope Sound Fig 2-1 Basic form of subtractive synthesis 2.2.1 Sound Processing Modules Subtractive synthesis use one or more oscillators as sound source. Each oscillator can have different pitch and waveform. The waveforms are typically simple geometric shapes. The pitch of oscillators depends on played note but can optionally controlled by an envelope generator or LFO. The filter in subtractive synthesizer is often a lowpass filter with resonance. In most situations, the filter s cutoff frequency or resonance amount are time-varying controlled by a envelope generator that alter the timber of sound with time to produce a wide range of synthetic and imitative timbres. Amplifier mixed the processed signal, simply gain or reduce the volume. It can be controlled by modulation modules to shape the overall sound automatically. 2.2.2 Modulation Modules Modulation modules like low frequency oscillator (LFO) or envelope generator do not directly modify the signal but instead control parameters of sound processing module. When the sound processing modules is modulate by large amount of control signals, complex sounds can be produced. 5

LFO provide frequency usually below 20 hz creates a rhythmic pulse or sweep. Audio effect like vibrato and tremolo is done by LFO when modulate the frequency and amplitude in sound processing modules. Envelope generator (E.G) provide envelope modulation to shape the volume or harmonic content of the produced sound with time. The four step E.G with attack, decay, sustain and release (ADSR) commonly used. 2.3 Classic Waveform As section 2.1 mentioned, source signal relies heavily on spectrally rich waveforms. Any periodic waveforms can be used in source-filter synthesis in order to produce a spectrum with different harmonic structure. The shape of the source signal waveform determines the amplitude relations of the harmonics. Simple geometric shape such as Sawtooth wave, rectangular pulse wave and triangle wave are typically used [8] which are easy to produce electronically. An early analog VCO module with these four classic waveforms is shown in Figure 2-2. Wave shape of classic waveforms are plotted in Fig.2-3. 6

Fig 2-2 Analog VCO module with classic waveforms (Picture from [14]) Fig 2-3 Classic waveforms. Sawtooth, triangle, square and sine wave. 7

2.3.1 Sawtooth Wave Sawtooth waves contain both even and odd integer harmonic frequencies showed in Fig.2-4. It is the most common waveforms used by subtractive synthesis. The waveform contain one discontinuity in a cycle. The harmonic amplitude of sawtooth waveform falls at about 6 db per octave, where 1 octave defined as double frequency. The slow fall-off rate cause huge aliasing when directly synthesized in digital domain. Pulse and Square waves can be derived from summing two shifted sawtooth waves. Therefore most of algorithms in V.A synthesis concentrates on producing sawtooth waveforms. Fig 2-4 Sawtooth wave spectrum 8

2.3.2 Square and Triangle Wave The spectrum of square wave falls about 6 db same as sawtooth but only contain odd-integer harmonics. Square waves can be derived from summing two shifted sawtooth waves, Eq.1. Where f is the fundamental frequency in Hz and t is time. Square(t) = Saw(t)- Saw(t - 1 2 f ) (1) The triangle wave contains only odd harmonics. Spectra tilt of triangle wave roll off much faster than in a square and sawtooth wave which is about 12 db per octave. 2.4 Digital Implement of Classic Waveform Classic geometric waveforms with sharp edges and discontinuity cause aliasing problem when implement in digital domain. Because period in samples p = f s f of the waveform is not normally an integer, computer having to round off the discontinuity time to the nearest available sampling instant, there cause aliasing in time domain. On the other hand, waveforms like sawtooth, triangle and square wave having theoretically infinite bandwidth. Harmonic contents above the Nyquist limit f s 2 are reflected down to the audible frequency range [9] [10]. This aliasing noise is heard as roughness and unpleasant inharmonicity particularly in high fundamental frequency. 9

Generating geometric waveforms trivially can be seen as sampling the waveforms without any form of bandlimiting. Unless the spectrum falls very fast, this results in heavy aliasing. A sawtooth wave can be produced trivially using a simple modulo counter [17], which is described in Eq.2. Where T s is the sampling interval, f 0 is the fundamental frequency, n is the sample number. In Figure 2-5, 2( nf 0 T s mod1) is plot in left and on the right side is which been subtracted by 1 to center at zero. s( n) = 2( nf 0 T s mod1) -1 (2) Fig 2-5 Modulo counter generating trivial sawtooth. Figure 2-6 in next page shows huge aliasing in high frequency when generating sawtooth wave with modulo counter which is compared to ideal sawtooth wave. The spectra have been computed from a 1 second signal segment with a 44100-point FFT using a blackman window function. 10

Fig 2-6 Aliasing of trivial sawtooth generate using Eq.2. The aliased components in Figure 2.6 can severely corrupt the sound quality, therefore the use of the classic waveforms in digital subtractive synthesis requires a efficient waveform synthesis algorithm to remove the aliased components, which should reduce the aliasing below an audible level. There are basically three approaches to deal with the aliasing issue, which is categorized by Välimäki et al. as follows [17] [18] [19]: 1. Strictly bandlimited methods : Only the harmonics up to the half of the sampling frequency are generated. 2. Quasi-bandlimited methods: This method do not eliminate aliasing completely, suppress just enough to make less disturbing. Some aliasing is allowed mainly at high frequencies. 11

3. Alias-suppressing methods: in alias-suppressing methods aliasing is allowed in the whole frequency band, but it is sufficiently suppressed at low and middle frequencies using spectral tilt modifications. Method of alias suppressed triangle wave proposed in Chapter 4 is in this category. Next, selection of different algorithms are explained and discuss. 12

Chapter 3 Algorithms Review Since the method of generating triangle wave propose later are in alias-suppressing category. Algorithm reviews are focus on other alias-suppressing methods include Lane s method and Differential Polynomial Wave. Bandlimited impulse train in Quasi-bandlimited framework and discrete summation formula in strictly bandlimited methods are explained. 3.1 Lane s method Lane et al. introduced algorithms that filtering a full-wave rectified sine wave to obtain classic periodic waveforms [20]. The technique of nonlinear wave-shaping is the basis for one of the early V.A models of oscillators. A sawtooth wave can be generated by algorithm shown in the block diagram of Figure 3-1. f denote the fundamental frequency in Hz. f/2 S(n) IS(n)I x(n) y(n) Abs Lowpass Highpass Adjust cutoff frequency with different f f Fig 3-1 Block diagram of Lane s method 13

The strategy is first generate a waveform that harmonic partials fall off rapidly. A full-wave rectified sine is used, Fourier series of this nonlinear wave-shaped sine is present in Eq.3 [20]. The harmonic partial of full-wave rectified sine fall off faster than a sawtooth wave and extend to infinity, aliasing fold back still exist but with less energy. A dc offset come out during full-wave rectify, see Figure 3-2 (b). ( ) = 2 p - 4 p sin x /2 æ ç è cos(x) 1 3 + cos(2x) 3 5 + cos(3x) 5 7 + ö ø (3) A butterworth low-pass filter applied after the wave-shaped signal (Order 8th, cutoff frequency 12 khz is used originally in [20] and Figure 3-2). The aliasing components and the harmonics in the vicinity of the Nyquist frequency are eliminated. At last, an adaptive first-order infinite impulse response (IIR) highpass filter is added, the spectral tilt can be corrected to yield an approximate sawtooth spectrum and the dc offset is also eliminated. Design of highpass filter is described in [20]. The filter coefficients have to be recalculated when the sawtooth frequency changes. It is suggest to save the coefficients with a table hence with more memory consumption. 14

Fig 3-2 Sawtooth wave and spectrum of Lane s method In Figure3-2 the sawtooth waveform is compute with sampling rate 44100. The spectra have been computed from a 1 second signal segment with a 44100-point FFT using a blackman window. 15

3.2 Differentiate Parabolic Wave Differentiated parabolic wave (DPW) synthesis is another classic waveforms algorithm in alias-suppressing framework, based on differentiating a piecewise parabolic waveform. This method was proposed by Välimäki around 2006 [17] [18]. An extended version of DPW with higher orders, providing improved alias-suppression called differentiated polynomial wave is discussed in later section. Figure 3-3 shows the flow chart of DPW [17]. f Modulo counter + - c Sawtooth Fig 3-3 Flow chart of Differential parabolic wave Instead of starting with a sinusoidal signal like Lane s method, A trivial sawtooth waveform is generated first using a bipolar modulo counter mentioned in section 2.3. By squaring the trivial sawtooth waveform to the second power, the piecewise parabolic waveform is obtained, see Figure 3-4. Figure 3-4 is calculate in 1 second long with sampling frequency 44.1khz, spectrum plot using 44100 points FFT with blackman window. 16

Fig 3-4 Parabolic waveform by squaring the modulo counter. (a) The waveform, (b)spectra of 880hz parabolic wave, the line indicate the ideal sawtooth spectral slope about -6db/octave. The parabolic waveform has spectra decays about -12db/octave steeper than the sawtooth which has about -6db/octave. It is showed that fold-back aliasing component above Nyquist frequency has less energy. Later on, this parabolic waveform is differentiated with a first order difference filter with transfer function 1- z -1, this filter modified the harmonic partial to approximate sawtooth wave which has fall-off rate -6dB/octave. After scaling using Eq.4 [17], a normalized sawtooth wave is obtained, see Figure 3-5. It is shown that alias noise in low frequency is suppressed but the harmonics has less energy in high frequency compared with the trivial sawtooth. Spectrum in Figure3-5 is plot using 44100 points FFT with blackman window for a 1 second long DPW sawtooth wave. f s c = [ 4 f ( 1- f f s )] (4) 17

Fig 3-5 (a) DPW sawtooth wave, 880hz (b)trivial sawtooth. (With 44.1khz sampling rate) 3.3 Differentiate polynomial wave The differentiated polynomial waveforms extend the previous DPW method to higher polynomial orders that can be differentiated one or more times to providing improved alias-suppression. Higher order polynomial functions can be derived by analytically integrating a low order polynomial function [21]. Process of higher order DPW is illustrate in Figure 3-6. Waveshaping f Modulo counter Order N Polynomial function N-1 differentiators c Sawtooth Fig 3-6 Generate sawtooth wave using Order-N DPW 18

3.4 Bandlimited Impulse Train (BLIT) Classic waveforms can be generated by applying an appropriate integration to a bandlimited impulse train which is described by Stilson and Smith [22]. Bandlimited impulse train (BLIT) can be generate by lowpass filtering the continuous-time impulse train. In other words, impulses are replaced with impulse response of a lowpass filter. The lowpass filter is taken to be an ideal lowpass filter with cutoff frequency fc, which has impulse response given by Eq.4 h s ( t) = sinc 2 f c t ( ) = sin ( 2pf t c ) 2pf c t (4) Discrete time bandlimited impulse train is obtain by sampling the bandlimited continuous-time impulse train [22] shown in Eq.5, Where P = T T s, the period in samples and sample index n. y bl [n] = å sinc( n + kp) (5) k=- Unfortunately, in Eq.11 the value of BLIT at each time instant requires summation of infinitely long sinc function. It is impossible in practice on computer. In the following sections, different methods are introduced to overcome this problem. In BLIT synthesis, triangle wave need further procedures that integrate twice to a modified bipolar BLIT [22]. 19

3.4.1 Discrete Summation Formula An early method able to generate alias free BLIT called discrete summation formula (DSF) has proposed by Winham and Steiglitz (1970), Moore (1975) [23]. DSF based on the use of closed-form summation formula to generate a waveform containing a specified number of sinusoidal components Eq.6 [24]. A low-order digital filter can shape the roll-off rate of the spectrum and the sawtooth waveform can be closely approximated. 1 N [( )( kw / 2) ] ( ) ( coskw + cos2kw + + cos Nkw ) = 1 æ sin 2N +1 ç 2N è sin kw /2 ö -1 ø (6) Smith & Stilson [22] proposed a similar techniques to obtain bandlimited impulse train shown in Eq.7. Where P = T/ T s is the period in samples, M is the number of harmonics and is the largest odd integer not exceeding the period P. BLIT(n) = M P Sinc æ M M ç è P n ö ø Sinc M ( x) = ( ) sin px M sin px M ( ) (7) Both methods described above provide alias-free harmonics but requires two sine evaluations and a division per sample which are time consuming. It encounters a numerical problem in practice when the denominator is close to zero, this leads to numerical errors that must be controlled. 20

3.4.2 Sum of Windowed Sincs (BLIT-SWS) Another approach to generate BLIT is obtained by pre-calculate a windowed sinc-functions and summing the values of windowed sinc functions (BLIT-SWS)[22]. This concept is well known as wavetable synthesis [12][13]. Blackman and Kaiser window typically used. Alias-suppress quality of BLIT-SWS is determined by the window type, the number of zero-crossings and samples per zero-crossing. Wavetable synthesis consumes much memory and requires interpolation when fundamental frequency is changing. 21

Chapter 4 Implement an Alias Suppressed Triangle wave In this chapter, a method for generating triangle wave which can be used in subtractive sound synthesis is proposed. Another alias-suppressing methods DPW reviewed in chapter 3 is compared. Last, the algorithm is investigated that fundamental frequency within practically used range are perceptually free when psychoacoustic phenomenon of masking and hearing threshold are involved. 4.1 Nonlinear Waveshaping Audio effect like overdrive, valve simulation and distortion used in guitar and recording applications fall into the category of nonlinear processing [26]. They create additional harmonic or inharmonic frequency components which are not present in the input signal. The idea for generate alias-suppressed triangle wave is base on this concept. Using sine wave as the original input like Lane s method [20]. A nonlinear waveshaper distort the sine wave that produced only odd harmonic and the harmonic content can later shaped by digital filter to mimic triangle wave. 22

4.2 Hyperbolic Tangent Waveshaper It has been suggested that a S like, symmetrical curve function used to simulate pentode valves can generate additional odd harmonics when a pure tone fed in [27]. Hyperbolic tangent function has this characteristic and it s been discussed in [28] [29]. Figure 4-1 shows the output of hyperbolic tangent function with input value between 1 and -1. Fig 4-1 Hyperbolic tangent function. 23

Fig 4-2 (a)sine wave shaped by tanh(x), (b) it s spectrum. In Figure 4-2, 440hz sine wave shaped by hyperbolic tangent waveshaper is ploted, the dash line indicate the original sine wave. 44.1khz sampling rate and 44100 points FFT with blackman window are used. Figure 4-2(b) shows that odd harmonics come out during waveshaping but with a steep spectral roll off and fully bandlimited above 10khz. In this situation, triangle wave is hard to generate by modifying harmonic contents that don t even exist in high frequency. Nonetheless, Lazzarini and Timoney [29] modify the hyperbolic tangent waveshaper and find out that low-aliasing square wave can be generated efficiently but which is not our goal. 4.3 Waveshaper used in Triangle Wave Algorithm Odd harmonic frequency can be generated utilizing a common distortion waveshaper described in Eq.8, [34]. ( ( ) = 1+ k ) x f x 1+ k x, where k = 2a (8) 1- a ( ) 24

This waveshaper is widely used in simulation of guitar distortion, with the distortion factor a range from +1 to -1. In Figure 4-3, output of waveshape function with a=0.1 and a=0.9 are plotted. This function is symmetric with S curve as [27] suggest. Fig 4-3 Plot of Eq.8 with a=0.1 and a=0.9 Now take a look at the sine wave being distorted after this waveshaper, showed in Figure 4-4. The output is approximating a square wave when the distortion factor a increase. When a is close to 1 square wave obtained but with large amount of aliasing. On the other hand, the spectra tilt fall off quickly when a is close to zero, frequency fold-back above Nyquist to the audio range are suppressed. Pictures in Figure 4-4 calculate 1 second signal segment and the first two cycles are ploted. Spectrums are compute from the signal with a 44100-point FFT using a blackman window. 25

Fig 4-4 Sine wave distorted by Eq.8. 4.4 Triangle wave algorithm In previous section, appropriate waveshaper for generate odd harmonics is discussed. By setting the distortion factor low, the harmonics roll-off quickly and aliasing in low frequency are suppressed. Take advantage of this property, using the simple first order finite impulse response (FIR) filter with transfer function 1- z -1 to modify the spectral tilt. This highpass filter enhance the harmonics of original waveshaped sine 26

that get close to -12db/octave, thus an alias-suppressed triangle wave is generated. Block diagram of the triangle wave algorithm is showed in Figure 4-5. f(x[n]) Differentiator + + - g Triangle wave Delay 1 sample Fig 4-5 Block diagram of waveshape triangle. g=f 0 0.0001741-0.0000006 (9) The waveshaper is given in Eq.8 described earlier with distortion factor a set to 0.1. Signal amplitude of output after differentiate varied with fundamental frequencies. For high frequency the maximum difference of two samples increase due to the fast rise up of waveform. Thus, scaling is needed. A scaling factor g derived from 10 th order polynomial fit for frequency range 8hz to 12544 (MIDI number 0~127, [30]) given in Eq.9. 27

4.5 Comparison This section evaluate the audio quality of signals produced using the proposed waveshape triangle and DPW method both in the alias-suppressing category. Methods for generating triangle wave with DPW is discussed in [21] which we have mention in Chapter 3. DPW triangle wave polynomial functions for order N=1 to 3 are gathered in Table.2 where s(n) is the modulo counter and P = T / is the period in samples. T s Table 2 DPW triangle wave order N=1 to 3, [21]. Polynomial order N Polynomial function Input signal Amplitude Scaling factor c Triangle wave N=1 1-2 x s(n) 1 N=2 x x - x s(n) P N=3 x 3-3x / 4 1 2 - s(n) P 2 /24 The results of waveshape triangle and DPW order N=1 to 3 are compared in Figure 4-6 which been computed 1 second with fundamental frequency 1760hz, sampling rate 44.1khz. Spectrum plot using 44100-points FFT with a blackman window. 28

Fig 4-6 Spectrum of waveshape triangle and DPW triangle wave order N=1 to 3. Figure 4-6 shows that alias-suppressing ability of waveshape triangle is similar to 2 nd order DPW triangle. While N-order DPW requires N-1 differentiators and the polynomial equation is more complicated in higher order to compute, waveshape triangle become computation effective. The block diagrams of waveshape triangle and DPW triangle wave are shown in Figure 4-7. 29

Waveshape triangle Sine wave ( ) = f x f(x) 1.2x 1+ 0.2 x Differentiator - g Triangle wave modulo counter 1st-order DPW + - Abs + 0.5 2c Triangle wave modulo counter 2nd-order DPW Abs + - 1 + X 2c Differentiator Triangle wave 3rd-order DPW modulo counter Abs + X X + 2 Differentiators - - + + Triangle wave 0.5 3/4 Fig 4-7 Block diagrams of waveshape triangle compare to DPW triangle [21]. 30

4.6 Perceptual Evaluation In this section, we evaluate the audio quality of signals produced using the proposed waveshape triangle method. The sound quality of alias-suppressed signals has been assessed using various methods. Välimäki and Huovilainen applied the noise-to-mask ratio (NMR), which is commonly used for evaluating the quality of perceptual audio codecs [19]. Perceptual Evaluation of Audio Quality (PEAQ) is used by Timoney et al. [31]. The human auditory system can render the aliasing inaudible in certain conditions [32]. The main psychoacoustic phenomenon involved is masking. That is, if an aliased component is located near a harmonic peak and its level is below a certain level, it is masked by the sensory system so that the aliasing is not perceived. Another aspect is the hearing threshold in quiet. The hearing threshold level dramatically increases above 15 khz [32]. The perceptual evaluation used here is performed by comparing the threshold of hearing and masking curve of oscillators with their aliasing levels [21] [25]. Sound quality of the V.A oscillators can be evaluated by identifying the maximum fundamental frequency up to which the aliasing is not audible. 31

First, use a hearing threshold function (Eq.10) [32] to find which spectral components are inaudible. where f is frequency in hz and the level is represented as absolute sound pressure level (SPL) ( ) = 3.64 T f æ f ö ç è 1000ø -0.8-6.5e -0.6 æ f ç è 1000-3.3 ö ø 2 æ f ö +10-3 ç è 1000ø 4 (10) Additionally, in Eq.11 we use the asymmetric spreading function model for the masking effect of each partial on the db scale [33]. where between the frequency of a masker and a maskee in Bark units. Dz b L M is a difference is the level of masker id db SPL and q DZ b is the step function equal to zero for < 0 and one for Dz b ³ 0. ( ) = L M + -27+ 0.37max 0,L M - 40 B Dz b ( ) Dz b ( ) é ë { }q Dz ù b û Dz b (11) The peaks of the spreading functions shifted down by 10dB is needed which is typically greater for a tonal masker [33]. Assume that the signals are played at the 96 db SPL (sound pressure level) to accommodate harmonic peaks in the spreading function. The reference used was set to 96 db SPL for a sinusoid alternating between 1 and -1. It is found that highest perceptually free note is MIDI number 103 (G7), 3136hz. Aliasing exceed the masking curve at MIDI number 104 (A-flat 7). Figure 4-7 illustrates the computed masking curves of MIDI number 104. Straight line is the hearing threshold and dot line is the masker of harmonic peaks. The aliased components are fairly abundant in high frequencies, most of them are completely masked by harmonic peaks and the hearing threshold. 32

Fig 4-8 Evaluation of waveshape triangle wave with hearing threshold and masking curve. The aliased component that exceeds the masking threshold is marked with a circle. Spectrum of Figure 4-7 has been computed from 1 second signal data with 44100-point FFT using a blackman window, sampling rate 44.1khz. 33

Chapter 5 Conclusions and Future Works Implementation of alias-suppressed triangle wave is presented in this thesis. Use of a specific waveshaper to obtain triangle wave efficiently. The waveshape triangle is perceptually free in range of MIDI number 0 to 103 covers almost whole register of the grand piano to note G7. It is applicable in digital implementations of subtractive sound synthesizer. This thesis search for the optimal source signal algorithm. The waveforms of specific analog synthesizers differ from the textbook waveforms and for realistic virtual analog synthesis modeling these differences should be included in the model. This prototype triangle wave model can be modified to simulate the specific analoge synthesizer in the future. 34

Bibliography [1] Chowning, J. the synthesis of complex audio spectra by means of frequency modulation Journal of the Audio Engineering Society. 1973. [2] D.C. Massie, Wavetable sampling synthesis, in Applications of Digital Signal Processing to Audio and Acoustics, M. Kahrs and K. Brandenburg, Eds. Norwell, MA: Kluwer, pp. 311 341, 1998. [3] R. Bristow-Johnson, Wavetable synthesis 101, a fundamental perspective, Presented at the 101st AES Convention, Los Angeles, California, USA, November 1996. [4] Jussi Pekonen and Vesa Välimäki, "The Brief History of Virtual Analog Synthesis", in Proceedings of the 6th Forum Acusticum, pp. 461-466, European Acoustics Association, Aalborg, Denmark, June 26 - July 1, 2011. [5] HUT,Laboratory of Acoustics and Audio Signal Processing http://www.acoustics.hut.fi/. [6] CCRMA website: https://ccrma.stanford.edu/~jos/. [7] C. Roads, The Computer Music Tutorial. The MIT Press, 1995. [8] H. F. Olson, H. Belar, and J. Timmens, Electronic music synthesis, The Journal Of The Acoustical Society Of America, vol. 32, pp. 311 319, March 1960. [9] H. G. Alles, Music synthesis using real time digital techniques, Proceedings of the IEEE, vol. 68, pp. 436 449, April 1980. [10] J. A. Moorer, Signal processing aspects of computer music: A survey, Proceedings of the IEEE, vol. 65, pp. 1108 1137, August 1977. [11] H. F. Olson, H. Belar, and J. Timmens, Electronic music synthesis, The Journal 35

Of The Acoustical Society Of America, vol. 32, pp. 311 319, March 1960. [12] D.C. Massie, Wavetable sampling synthesis, in Applications of Digital Signal Processing to Audio and Acoustics, M. Kahrs and K. Brandenburg, Eds. Norwell, MA: Kluwer, pp. 311 341, 1998. [13] P. Burk, Band limited oscillators using wave table synthesis, in Audio Anecdotes II Tools, Tips, and Techniques for Digital Audio, K. Greenebaum and R. Barzel, Eds.Wellesley, MA: A.K. Peters, pp. 37 53, 2004. [14] MOTM Modular Synthesizer, http://www.synthtech.com. [15] T. Laakso, V. Välimäki, M. Karjalainen, and U. Laine, Splitting the unit delay, IEEE Signal Process. Mag., vol. 13, no. 1, pp. 30 60, Jan. 1996. [16] Fred Welsh, Welsh's Synthesizer Cookbook: Synthesizer Programming, Sound Analysis, and Universal Patch Book. 2006. [17] A. Huovilainen and V. Välimäki, New approaches to digital subtractive synthesis, in Proceesing of International Computer Music Conference, Barcelone, Spain, pp. 399 402, September 2005. [18] V. Välimäki and A. Huovilainen, Oscillator and filter algorithms for virtual analog synthesis, Computer Music Journal, vol. 30, no. 2, pp. 19 31, 2006. [19] V. Välimäki and A. Huovilainen, Antialiasing oscillators in subtractive synthesis, IEEE Signal Processing Magazine, vol. 24, pp. 116 125, March 2007. [20] J. Lane, D. Hoory, E. Martinez, and P. Wang, Modeling analog synthesis with DSPs, Computer Music J., vol. 21, no. 4, pp. 23 41, 1997. [21] Valimaki, Vesa, Juhan Nam, Julius O Smith, and Jonathan S Abel. 2010. 36

Alias-Suppressed Oscillators Based on Differentiated Polynomial Waveforms. IEEE Transactions on Audio, Speech, and Language Processing, vol.18, No.4, 2010. [22] T. Stilson and J. Smith, Alias-free digital synthesis of classic analog waveforms, in Proc. Int. Computer Music Conf., Hong Kong, China, pp. 332 335, 1996. [23] J.A. Moorer, The synthesis of complex audio spectra by means of discrete summation formulae, J. Audio Eng. Soc., vol. 24, no. 9, pp. 717 727, Nov. 1976. [24] G. Winham and K. Steiglitz, Input generators for digital sound synthesis, J. Acoust. Soc. Amer., vol. 47, part 2, pp. 665 666, Feb. 1970. [25] Nam, Juhan, Vesa Valimaki, Jonathan S Abel, and Julius O Smith. 2010. Efficient Antialiasing Oscillator Algorithms Using Low-Order Fractional Delay Filters. IEEE Transactions on Audio, Speech, and Language Processing 18 (4) (May): 773-785. [26] M. Puckette, The Theory and Technique of Electronic Music, World Scientific Press, 2007. [27] DAFX : Digital Audio Effects, Second Edition. Chapter 4, pp.117-119, 2011. [28] Huovilainen, A. 2005. Nonlinear Digital Implementation of the Moog Ladder Filter. Proceedings of the 8th International Conference on Digital Audio Effects, Naples, Italy: University of Naples, pp. 61 65. [29] Lazzarini, Victor, and Joseph Timoney. 2010. New Perspectives on Distortion Synthesis for Virtual Analog Oscillators. Computer Music Journal 34 (1) (March): 28-40. [30] MIDI Specification. http://www.midi.org/techspecs/index.php 37

[31] J. Timoney, V. Lazzarini, and T. Lysaght, A modified FM synthesis approach to bandlimited signal generation, in Proc. 11th Int. Conf. Digital Audio Effects, Espoo, Finland, Sep. 2008, pp. 27 33. [32] E. Zwicker and H. Fastl, Psychoacoustics. New York: Springer- Verlag, 1990. [33] M. Bosi, Audio coding: Basic principles and recent developments, in Proc. 6th Human Comput. Int. Conf., 2003, pp. 1 17. [34] MusicDSP Forum. http://musicdsp.org/showone.php?id=46 38