assignment 1
play

Assignment #1 VST Plug-in 4/28/06, Music 3SI, CCRMA, Stanford - PDF document

Last Week... Music 3SI: Introduction to Callback function Audio/Multimedia App. Stk instruments / effects Programming Error handling Assignment #1 Week #4 - 4/28/2006 CCRMA, Department of Music Stanford University


  1. Last Week... Music 3SI: Introduction to • Callback function Audio/Multimedia App. • Stk instruments / effects Programming • Error handling • Assignment #1 Week #4 - 4/28/2006 CCRMA, Department of Music Stanford University 4/28/06, Music 3SI, CCRMA, Stanford 1 2 Today... • Assignment #1 Hints � Week #3 online tutorial • IDE: Xcode Assignment #1 • VST Plug-in 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 3 4 A1 Tips • Stereo: ex13 • Multiple effects: ex14 IDE • Again: don’t panic! � minimum requirement: ex9 or 10 w/ comments � ask me any questions you have! � prove that you understand what’s going on! • Office hours � Tue 11 am - 1 pm, or by appointment 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 5 6

  2. IDE IDE on Mac: Xcode • Integrated Development Environment • Software that assists programmer to develop software • Contains � editor � compiler � debugger � GUI designer 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 7 8 VST...? • Virtual Studio Technology • Debuted in 1996 (VST 1.0) VST � audio processing units (a.k.a. effects) • Current: VST 2.3 � virtual synths (VSTi) since 2.0 • Based on plug-in architecture • VST SDK 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 9 10 Plug-In Architecture Host & Plug-Ins • Plug-in � a small child program to alter/enhance/extend OS Audio the operation of a parent program (host) � seen as a black box from its host In • VST Plug-in & host VST Host VST Plug-In � plug-ins: effects and/or synthesizers Out � host: interface & services 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 11 12

  3. Why Plug-In? • DSP-only (well, almost...) programming � can concentrate on the core algorithm VST Plug-In � NO system-level audio handling, GUI design, etc. • Same code for both Windows & Mac Programming • Dynamic library � multiple instances simultaneously � usable with multiple VST hosts 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 13 14 Key Concepts • Callback (again!) � same as in Stk • Polymorphism Callback � inherit & override 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 15 16 Stk Apps VST Plug-Ins OS Audio Stk App. VST Plug-In In In Callback Callback OS Audio VST Host Function Function Out Out 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 17 18

  4. A VST PI Inside VST PI • Parameters � name Program (Preset) � display Parameters � label • Program (or preset) � name Name Display Label • Misc. info. • Audio Callback 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 19 20 Coding More VST Stuffs • VST SDK • VST GUI • Plug-in programming • VSTi � gain controller � distortion � compressor 4/28/06, Music 3SI, CCRMA, Stanford 4/28/06, Music 3SI, CCRMA, Stanford 21 22 Next Week On Music 3SI • Cocoa � guest lecturer from Apple 4/28/06, Music 3SI, CCRMA, Stanford 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend