DSP Programming with Faust, Q and Supercollider Yann Orlarey, Albert Graef, Stefan Kersten

Total Page:16

File Type:pdf, Size:1020Kb

DSP Programming with Faust, Q and Supercollider Yann Orlarey, Albert Graef, Stefan Kersten DSP Programming with Faust, Q and SuperCollider Yann Orlarey, Albert Graef, Stefan Kersten To cite this version: Yann Orlarey, Albert Graef, Stefan Kersten. DSP Programming with Faust, Q and SuperCollider. Linux Audio Conference, 2006, Karlsruhe, Germany. hal-02158894 HAL Id: hal-02158894 https://hal.archives-ouvertes.fr/hal-02158894 Submitted on 18 Jun 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. DSP Programming with Faust, Q and SuperCollider Yann ORLAREY Albert GRAF¨ Stefan KERSTEN Grame, Centre National Dept. of Music Informatics Dept. of Communication de Creation Musicale Johannes Gutenberg University Science Lyon, France Mainz, Germany Technical University [email protected] [email protected] Berlin, Germany [email protected] Abstract diagram syntax. The functional programming Faust is a functional programming language for real- approach provides a natural framework for sig- time signal processing and synthesis that targets nal processing. Digital signals are modeled as high-performance signal processing applications and discrete functions of time, and signal processors audio plugins. The paper gives a brief introduction as second order functions that operate on them. to Faust and discusses its interfaces to Q, a general- Moreover Faust block-diagram composition op- purpose functional programming language, and Su- erators, used to combine signal processors to- perCollider, an object-oriented sound synthesis lan- gether, fit in the same picture as third order guage and engine. functions. Keywords Faust is a compiled language. The compiler Computer music, digital signal processing, Faust translates Faust programs into equivalent C++ programming language, functional programming, Q programs. It uses several optimization tech- programming language, SuperCollider niques in order to generate the most efficient code. The resulting code can usually compete 1 Introduction with, and sometimes outperform, DSP code di- Faust is a programming language for real-time rectly written in C. It is also self-contained and signal processing and synthesis that targets doesn’t depend on any DSP runtime library. high-performance signal processing applications Thanks to specific architecture files, a single and audio plugins. This paper gives a brief in- Faust program can be used to produce code for a troduction to Faust, emphasizing practical ex- variety of platforms and plugin formats. These amples rather than theoretic concepts which can architecture files act as wrappers and describe be found elsewhere (Orlarey et al., 2004). the interactions with the host audio and GUI A Faust program describes a signal proces- system. Currently more than 8 architectures sor, a DSP algorithm that transforms input are supported (see Table 1) and new ones can signals into output signals. Faust is a func- be easily added. tional programming language which models sig- nals as functions (of time) and DSP algorithms alsa-gtk.cpp ALSA application as higher-order functions operating on signals. jack-gtk.cpp JACK application Faust programs are compiled to efficient C++ sndfile.cpp command line application code which can be included in C/C++ appli- ladspa.cpp LADSPA plugin cations, and which can also be executed ei- max-msp.cpp Max MSP plugin ther as standalone programs or as plugins in supercollider.cpp Supercollider plugin other environments. In particular, in this pa- vst.cpp VST plugin per we describe Faust’s interfaces to Q, an in- q.cpp Q language plugin terpreted, general-purpose functional program- ming language based on term rewriting (Gr¨af, Table 1: The main architecture files available 2005), and SuperCollider (McCartney, 2002), for Faust the well-known object-oriented sound synthesis language and engine. In the following subsections we give a short and informal introduction to the language 2 Faust through two simple examples. Interested read- The programming model of Faust combines a ers can refer to (Orlarey et al., 2004) for a more functional programming approach with a block- complete description. 2.1 A simple noise generator 2.2 Invoking the compiler A Faust program describes a signal processor The role of the compiler is to translate Faust by combining primitive operations on signals programs into equivalent C++ programs. The √ (like +, −, ∗, /, , sin, cos,...) using an algebra key idea to generate efficient code is not to com- of high level composition operators (see Table pile the block diagram itself, but what it com- 2). You can think of these composition opera- putes. tors as a generalization of mathematical func- Driven by the semantic rules of the language tion composition f ◦ g. the compiler starts by propagating symbolic sig- nals into the block diagram, in order to discover f ∼ g recursive composition how each output signal can be expressed as a f , g parallel composition function of the input signals. f : g sequential composition These resulting signal expressions are then f <: g split composition simplified and normalized, and common subex- f :> g merge composition pressions are factorized. Finally these expres- sions are translated into a self contained C++ Table 2: The five high level block-diagram com- class that implements all the required computa- position operators used in Faust tion. To compile our noise generator example we A Faust program is organized as a set of use the following command : definitions with at least one for the keyword process (the equivalent of main in C). $ faust noise.dsp Our noise generator example noise.dsp only involves three very simple definitions. But it also shows some specific aspects of the language: This command generates the C++ code in Figure 1. The generated class con- random = +(12345) ~ *(1103515245); tains five methods. getNumInputs() and noise = random/2147483647.0; getNumOutputs() return the number of input process = noise * checkbox("generate"); and output signals required by our signal pro- cessor. init() initializes the internal state of The first definition describes a (pseudo) ran- the signal processor. buildUserInterface() dom number generator. Each new random num- can be seen as a list of high level commands, ber is computed by multiplying the previous one independent of any toolkit, to build the user by 1103515245 and adding to the result 12345. interface. The method compute() does the ac- The expression +(12345) denotes the op- tual signal processing. It takes 3 arguments: the eration of adding 12345 to a signal. It is number of frames to compute, the addresses of an example of a common technique in func- the input buffers and the addresses of the out- tional programming called partial application: put buffers, and computes the output samples the binary operation + is here provided with according to the input samples. only one of its arguments. In the same way The faust command accepts several options *(1103515245) denotes the multiplication of a to control the generated code. Two of them signal by 1103515245. are widely used. The option -o outputfile spec- The two resulting operations are recursively ifies the output file to be used instead of the composed using the ∼ operator. This opera- standard output. The option -a architecturefile tor connects in a feedback loop the output of defines the architecture file used to wrap the +(12345) to the input of *(1103515245) (with generate C++ class. an implicit 1-sample delay) and the output of For example the command faust -a q.cpp *(1103515245) to the input of +(12345). -o noise.cpp noise.dsp generates an exter- The second definition transforms the random nal object for the Q language, while faust -a signal into a noise signal by scaling it between jack-gtk.cpp -o noise.cpp noise.dsp gen- -1.0 and +1.0. erates a standalone Jack application using the Finally, the definition of process adds a simple GTK toolkit. user interface to control the production of the Another interesting option is -svg that gen- sound. The noise signal is multiplied by a GUI erates one or more SVG graphic files that rep- checkbox signal of value 1.0 when it is checked resent the block-diagram of the program as in and 0.0 otherwise. Figure 2. class mydsp : public dsp { private: int R0_0; float fcheckbox0; public: virtual int getNumInputs() { return 0; } virtual int getNumOutputs() { return 1; } virtual void init(int samplingFreq) { fSamplingFreq = samplingFreq; Figure 2: Graphic block-diagram of the noise R0_0 = 0; generator produced with the -svg option fcheckbox0 = 0.0; } virtual void buildUserInterface(UI* ui) { 2.3.1 The noise generator ui->openVerticalBox("faust"); We simply reuse here the noise generator of the ui->addCheckButton("generate", previous example (subsection 2.1). &fcheckbox0); ui->closeBox(); random = +(12345) ~ *(1103515245); } noise = random/2147483647.0; virtual void compute (int count, float** input, float** output) { 2.3.2 The trigger float* output0; output0 = output[0]; The trigger is used to transform the signal de- float ftemp0 = 4.656613e-10f*fcheckbox0; livered by a user interface button into a pre- for (int i=0; i<count; i++) { cisely calibrated control signal. We want this R0_0 = (12345 + (1103515245 * R0_0)); control signal to be 1.0 for a duration of exactly output0[i] = (ftemp0 * R0_0); n samples, independentely of how long the but- } } ton is pressed. }; impulse(x) = x - mem(x) : >(0.0); decay(n,x) = x - (x>0.0)/n; Figure 1: The C++ implementation code of the release(n) = + ~ decay(n); noise generator produced by the Faust compiler trigger(n) = button("play") : impulse : release(n) : >(0.0); For that purpose we first transforms the but- 2.3 The Karplus-Strong Algorithm ton signal into a 1-sample impulse correspond- ing to the raising front of the button signal.
Recommended publications
  • Synchronous Programming in Audio Processing Karim Barkati, Pierre Jouvelot
    Synchronous programming in audio processing Karim Barkati, Pierre Jouvelot To cite this version: Karim Barkati, Pierre Jouvelot. Synchronous programming in audio processing. ACM Computing Surveys, Association for Computing Machinery, 2013, 46 (2), pp.24. 10.1145/2543581.2543591. hal- 01540047 HAL Id: hal-01540047 https://hal-mines-paristech.archives-ouvertes.fr/hal-01540047 Submitted on 15 Jun 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. A Synchronous Programming in Audio Processing: A Lookup Table Oscillator Case Study KARIM BARKATI and PIERRE JOUVELOT, CRI, Mathématiques et systèmes, MINES ParisTech, France The adequacy of a programming language to a given software project or application domain is often con- sidered a key factor of success in software development and engineering, even though little theoretical or practical information is readily available to help make an informed decision. In this paper, we address a particular version of this issue by comparing the adequacy of general-purpose synchronous programming languages to more domain-specific
    [Show full text]
  • Peter Blasser CV
    Peter Blasser – [email protected] - 410 362 8364 Experience Ten years running a synthesizer business, ciat-lonbarde, with a focus on touch, gesture, and spatial expression into audio. All the while, documenting inventions and creations in digital video, audio, and still image. Disseminating this information via HTML web page design and YouTube. Leading workshops at various skill levels, through manual labor exploring how synthesizers work hand and hand with acoustics, culminating in montage of participants’ pieces. Performance as touring musician, conceptual lecturer, or anything in between. As an undergraduate, served as apprentice to guild pipe organ builders. Experience as racquetball coach. Low brass wind instrumentalist. Fluent in Java, Max/MSP, Supercollider, CSound, ProTools, C++, Sketchup, Osmond PCB, Dreamweaver, and Javascript. Education/Awards • 2002 Oberlin College, BA in Chinese, BM in TIMARA (Technology in Music and Related Arts), minors in Computer Science and Classics. • 2004 Fondation Daniel Langlois, Art and Technology Grant for the project “Shinths” • 2007 Baltimore City Grant for Artists, Craft Category • 2008 Baltimore City Grant for Community Arts Projects, Urban Gardening List of Appearances "Visiting Professor, TIMARA dep't, Environmental Studies dep't", Oberlin College, Oberlin, Ohio, Spring 2011 “Babier, piece for Dancer, Elasticity Transducer, and Max/MSP”, High Zero Festival of Experimental Improvised Music, Theatre Project, Baltimore, September 2010. "Sejayno:Cezanno (Opera)", CEZANNE FAST FORWARD. Baltimore Museum of Art, May 21, 2010. “Deerhorn Tapestry Installation”, Curators Incubator, 2009. MAP Maryland Art Place, September 15 – October 24, 2009. Curated by Shelly Blake-Pock, teachpaperless.blogspot.com “Deerhorn Micro-Cottage and Radionic Fish Drier”, Electro-Music Gathering, New Jersey, October 28-29, 2009.
    [Show full text]
  • Chuck: a Strongly Timed Computer Music Language
    Ge Wang,∗ Perry R. Cook,† ChucK: A Strongly Timed and Spencer Salazar∗ ∗Center for Computer Research in Music Computer Music Language and Acoustics (CCRMA) Stanford University 660 Lomita Drive, Stanford, California 94306, USA {ge, spencer}@ccrma.stanford.edu †Department of Computer Science Princeton University 35 Olden Street, Princeton, New Jersey 08540, USA [email protected] Abstract: ChucK is a programming language designed for computer music. It aims to be expressive and straightforward to read and write with respect to time and concurrency, and to provide a platform for precise audio synthesis and analysis and for rapid experimentation in computer music. In particular, ChucK defines the notion of a strongly timed audio programming language, comprising a versatile time-based programming model that allows programmers to flexibly and precisely control the flow of time in code and use the keyword now as a time-aware control construct, and gives programmers the ability to use the timing mechanism to realize sample-accurate concurrent programming. Several case studies are presented that illustrate the workings, properties, and personality of the language. We also discuss applications of ChucK in laptop orchestras, computer music pedagogy, and mobile music instruments. Properties and affordances of the language and its future directions are outlined. What Is ChucK? form the notion of a strongly timed computer music programming language. ChucK (Wang 2008) is a computer music program- ming language. First released in 2003, it is designed to support a wide array of real-time and interactive Two Observations about Audio Programming tasks such as sound synthesis, physical modeling, gesture mapping, algorithmic composition, sonifi- Time is intimately connected with sound and is cation, audio analysis, and live performance.
    [Show full text]
  • Implementing Stochastic Synthesis for Supercollider and Iphone
    Implementing stochastic synthesis for SuperCollider and iPhone Nick Collins Department of Informatics, University of Sussex, UK N [dot] Collins ]at[ sussex [dot] ac [dot] uk - http://www.cogs.susx.ac.uk/users/nc81/index.html Proceedings of the Xenakis International Symposium Southbank Centre, London, 1-3 April 2011 - www.gold.ac.uk/ccmc/xenakis-international-symposium This article reflects on Xenakis' contribution to sound synthesis, and explores practical tools for music making touched by his ideas on stochastic waveform generation. Implementations of the GENDYN algorithm for the SuperCollider audio programming language and in an iPhone app will be discussed. Some technical specifics will be reported without overburdening the exposition, including original directions in computer music research inspired by his ideas. The mass exposure of the iGendyn iPhone app in particular has provided a chance to reach a wider audience. Stochastic construction in music can apply at many timescales, and Xenakis was intrigued by the possibility of compositional unification through simultaneous engagement at multiple levels. In General Dynamic Stochastic Synthesis Xenakis found a potent way to extend stochastic music to the sample level in digital sound synthesis (Xenakis 1992, Serra 1993, Roads 1996, Hoffmann 2000, Harley 2004, Brown 2005, Luque 2006, Collins 2008, Luque 2009). In the central algorithm, samples are specified as a result of breakpoint interpolation synthesis (Roads 1996), where breakpoint positions in time and amplitude are subject to probabilistic perturbation. Random walks (up to second order) are followed with respect to various probability distributions for perturbation size. Figure 1 illustrates this for a single breakpoint; a full GENDYN implementation would allow a set of breakpoints, with each breakpoint in the set updated by individual perturbations each cycle.
    [Show full text]
  • Isupercolliderkit: a Toolkit for Ios Using an Internal Supercollider Server As a Sound Engine
    ICMC 2015 – Sept. 25 - Oct. 1, 2015 – CEMI, University of North Texas iSuperColliderKit: A Toolkit for iOS Using an Internal SuperCollider Server as a Sound Engine Akinori Ito Kengo Watanabe Genki Kuroda Ken’ichiro Ito Tokyo University of Tech- Watanabe-DENKI Inc. Tokyo University of Tech- Tokyo University of Tech- nology [email protected] nology nology [email protected]. [email protected]. [email protected]. ac.jp ac.jp ac.jp The editor client sends the OSC code-fragments to its server. ABSTRACT Due to adopting the model, SuperCollider has feature that a iSuperColliderKit is a toolkit for iOS using an internal programmer can dynamically change some musical ele- SuperCollider Server as a sound engine. Through this re- ments, phrases, rhythms, scales and so on. The real-time search, we have adapted the exiting SuperCollider source interactivity is effectively utilized mainly in the live-coding code for iOS to the latest environment. Further we attempt- field. If the iOS developers would make their application ed to detach the UI from the sound engine so that the native adopting the “sound-server” model, using SuperCollider iOS visual objects built by objective-C or Swift, send to the seems to be a reasonable choice. However, the porting situa- internal SuperCollider server with any user interaction tion is not so good. SonicPi[5] is the one of a musical pro- events. As a result, iSuperColliderKit makes it possible to gramming environment that has SuperCollider server inter- utilize the vast resources of dynamic real-time changing nally. However, it is only for Raspberry Pi, Windows and musical elements or algorithmic composition on SuperCol- OSX.
    [Show full text]
  • The Viability of the Web Browser As a Computer Music Platform
    Lonce Wyse and Srikumar Subramanian The Viability of the Web Communications and New Media Department National University of Singapore Blk AS6, #03-41 Browser as a Computer 11 Computing Drive Singapore 117416 Music Platform [email protected] [email protected] Abstract: The computer music community has historically pushed the boundaries of technologies for music-making, using and developing cutting-edge computing, communication, and interfaces in a wide variety of creative practices to meet exacting standards of quality. Several separate systems and protocols have been developed to serve this community, such as Max/MSP and Pd for synthesis and teaching, JackTrip for networked audio, MIDI/OSC for communication, as well as Max/MSP and TouchOSC for interface design, to name a few. With the still-nascent Web Audio API standard and related technologies, we are now, more than ever, seeing an increase in these capabilities and their integration in a single ubiquitous platform: the Web browser. In this article, we examine the suitability of the Web browser as a computer music platform in critical aspects of audio synthesis, timing, I/O, and communication. We focus on the new Web Audio API and situate it in the context of associated technologies to understand how well they together can be expected to meet the musical, computational, and development needs of the computer music community. We identify timing and extensibility as two key areas that still need work in order to meet those needs. To date, despite the work of a few intrepid musical Why would musicians care about working in explorers, the Web browser platform has not been the browser, a platform not specifically designed widely considered as a viable platform for the de- for computer music? Max/MSP is an example of a velopment of computer music.
    [Show full text]
  • Rock Around Sonic Pi Sam Aaron, Il Live Coding E L’Educazione Musicale
    Rock around Sonic Pi Sam Aaron, il live coding e l’educazione musicale Roberto Agostini IC9 Bologna, Servizio Marconi TSI (USR-ER) 1. Formazione “Hands-On” con Sam Aaron “Imagine if the only allowed use of reading and writing was to make legal documents. Would that be a nice world? Now, today’s programmers are all like that”1. In questa immagine enigmatica e un po’ provocatoria proposta da Sam Aaron nelle prime fasi di una sua recente conferenza è racchiusa un’originale visione della programmazione ricca di implicazioni, e non solo per l’educazione musicale. Ma andiamo con ordine: il 14 febbraio 2020, all’Opificio Golinelli di Bologna, Sam Aaron, ​ ​ creatore del software per live coding musicale Sonic Pi, è stato protagonista di un denso ​ ​ pomeriggio dedicato al pensiero computazionale nella musica intitolato “Rock around Sonic Pi”. L’iniziativa rientrava nell’ambito della “Formazione Hands-On” promossa dal Future Lab dell’Istituto Comprensivo di Ozzano dell’Emilia in collaborazione con il Servizio Marconi TSI ​ dell’USR-ER. Oltre alla menzionata conferenza, aperta a tutti, Sam Aaron ha tenuto un laboratorio di tre ore a numero chiuso per i docenti delle scuole2. ● Presentazione e programma dettagliato della giornata “Rock Around Sonic Pi” (presentazione a cura ​ di Rosa Maria Caffio). ● Ripresa integrale della conferenza di Sam Aaron (20.2.2020) (registrazione a cura dello staff ​ dell’Opificio Golinelli). 1 “Immaginate che l’unico modo consentito di usare la lettura e la scrittura fosse quello di produrre documenti legali. Sarebbe un bel mondo? Ora, i programmatori di oggi sono nella stessa situazione”.
    [Show full text]
  • A Supercollider Environment for Synthesis-Oriented Live Coding
    Colliding: a SuperCollider environment for synthesis-oriented live coding Gerard Roma CVSSP, University of Surrey Guildford, United Kingdom [email protected] Abstract. One of the motivations for live coding is the freedom and flexibility that a programming language puts in the hands of the performer. At the same time, systems with explicit constraints facilitate learning and often boost creativity in unexpected ways. Some simplified languages and environments for music live coding have been developed during the last few years, most often focusing on musical events, patterns and sequences. This paper describes a constrained environment aimed at exploring the creation and modification of sound synthesis and processing networks in real time, using a subset of the SuperCollider programming language. The system has been used in educational and concert settings, two common applications of live coding that benefit from the lower cognitive load. Keywords: Live coding, sound synthesis, live interfaces Introduction The world of specialized music creation programming languages has been generally dominated by the Music-N paradigm pioneered by Max Mathews (Mathews 1963). Programming languages like CSound or SuperCollider embrace the division of the music production task in two separate levels: a signal processing level, which is used to define instruments as networks of unit generators, and a compositional level that is used to assemble and control the instruments. An exception to this is Faust, which is exclusively concerned with signal processing. Max and Pure Data use a different type of connection for signals and events, although under a similar interaction paradigm. Similarly, Chuck has specific features for connecting unit generators and controlling them along time.
    [Show full text]
  • Final Presentation
    MBET Senior Project: Final Presentation Jonah Pfluger What was the project? And how did I spend my time? ● The core of this project centralized around two main areas of focus: ○ The designing and building of custom audio software in Max/MSP and SuperCollider ○ The organization, promotion, and performance of a concert event that utilized these custom audio tools in a free improvised setting alongside other instruments ● Regarding “MBET”: ○ The former part of the project addresses “Technology” ○ The latter part (most directly) addresses “Business” ■ Also addresses “Technology” as I undertook various technical tasks in the setup process such as: setting up a Quadraphonic speaker system for synthesizer playback, setting up a separate stereo system for vocal playback/monitoring, and other tasks standard to “live event production” Max/MSP vs SuperCollider ● To develop the various audio tools/software instruments I heavily utilized Max/MSP and SuperCollider. ● Max is a visual programming language whereas SuperCollider uses a language derivative of C++ called “sclang” ● All Max projects eventually were built out into graphic user interfaces, 1/2 of SC projects were (with the other ½ having a “live code” style workflow) ● Ultimately, both were extremely useful but are simply different and, therefore, better at different tasks The instruments… (part 1) ● Max instrument: Generative Ambient Console ● Expanded class project based on generative ambient "drone", good for Eno-esque textures, or a ghostly electronic Tanpura-esque sound. The instruments…
    [Show full text]
  • Applications in Heart Rate Variability
    Data Analysis through Auditory Display: Applications in Heart Rate Variability Mark Ballora Faculty of Music McGill University, Montréal May, 2000 A thesis submitted to the Faculty of Graduate Studies and Research in partial fulfillment of the requirements of the degree of Doctor of Philosophy in Music © Mark Ballora, May 2000 Table of Contents Abstract......................................................................................... v Résumé ........................................................................................ vi Acknowledgements ..........................................................................vii 1. Introduction 1.1 Purpose of Study.................................................................... 1 1.2 Auditory Display.................................................................... 2 1.3 Types of Auditory Display ........................................................ 3 1.4 Heart Rate Variability.............................................................. 4 1.5 Design of the Thesis................................................................ 6 2. Survey of Related Literature 2.1 Data in Music 2.1.1 Data Music—Making Art from Information............................ 8 2.1.2 Biofeedback Music........................................................14 2.1.3 Nonlinear Dynamics in Music ...........................................16 2.1.3.1 Fractal Music...................................................16 2.1.3.2 Mapping Chaotic (and other) Data ..........................18 2.1.4 Concluding Thoughts
    [Show full text]
  • A Tabletop Waveform Editor for Live Performance
    Proceedings of the 2008 Conference on New Interfaces for Musical Expression (NIME08), Genova, Italy A tabletop waveform editor for live performance Gerard Roma Anna Xambo´ Music Technology Group Music Technology Group Universitat Pompeu Fabra Universitat Pompeu Fabra [email protected] [email protected] ABSTRACT We present an audio waveform editor that can be oper- ated in real time through a tabletop interface. The system combines multi-touch and tangible interaction techniques in order to implement the metaphor of a toolkit that allows di- rect manipulation of a sound sample. The resulting instru- ment is well suited for live performance based on evolving loops. Keywords tangible interface, tabletop interface, musical performance, interaction techniques 1. INTRODUCTION The user interface of audio editors has changed relatively little over time. The standard interaction model is centered on the waveform display, allowing the user to select portions Figure 1: Close view of the waveTable prototype. of the waveform along the horizontal axis and execute com- mands that operate on those selections. This model is not very different to that of the word processor, and its basics Barcelona 2005) which inspired this project. The use of a are usually understood by computer users even with little standard audio editor on a laptop computer as a sophisti- or no experience in specialized audio tools. As a graphical cated looper served the performers’ minimalist glitch aes- representation of sound, the waveform is already familiar thetics. Perhaps more importantly, the projected waveform for many people approaching computers for audio and mu- provided a visual cue that helped the audience follow the sic composition.
    [Show full text]
  • Table of Contents Pure Data
    Table of Contents Pure Data............................................................................................................................................................1 Real Time Graphical Programming..................................................................................................................2 Graphical Programming...........................................................................................................................2 Real Time.................................................................................................................................................3 What is digital audio? ........................................................................................................................................4 Frequency and Gain.................................................................................................................................4 Sampling Rate and Bit Depth..................................................................................................................4 Speed and Pitch Control..........................................................................................................................5 Volume Control, Mixing and Clipping....................................................................................................6 The Nyquist Number and Foldover/Aliasing...........................................................................................6 DC Offset.................................................................................................................................................7
    [Show full text]