Real-time Granular Sampling Using the IRCAM Signal Processing Workstation. Cort Lippe IRCAM, 31 rue St-Merri, Paris, 75004, France

Similar documents
A Composition for Clarinet and Real-Time Signal Processing: Using Max on the IRCAM Signal Processing Workstation

Implementation of an 8-Channel Real-Time Spontaneous-Input Time Expander/Compressor

An integrated granular approach to algorithmic composition for instruments and electronics

Music for Alto Saxophone & Computer

Analysis, Synthesis, and Perception of Musical Sounds

Chapter 12. Meeting 12, History: Iannis Xenakis

AN ARTISTIC TECHNIQUE FOR AUDIO-TO-VIDEO TRANSLATION ON A MUSIC PERCEPTION STUDY

S I N E V I B E S ROBOTIZER RHYTHMIC AUDIO GRANULATOR

Computer Coordination With Popular Music: A New Research Agenda 1

Stochastic synthesis: An overview

Music Segmentation Using Markov Chain Methods

2. AN INTROSPECTION OF THE MORPHING PROCESS

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION

Music composition through Spectral Modeling Synthesis and Pure Data

Acoustic Instrument Message Specification

A Need for Universal Audio Terminologies and Improved Knowledge Transfer to the Consumer

SYNTHESIS FROM MUSICAL INSTRUMENT CHARACTER MAPS

On the Music of Emergent Behaviour What can Evolutionary Computation bring to the Musician?

Pitch correction on the human voice

A FUNCTIONAL CLASSIFICATION OF ONE INSTRUMENT S TIMBRES

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1)

AURAFX: A SIMPLE AND FLEXIBLE APPROACH TO INTERACTIVE AUDIO EFFECT-BASED COMPOSITION AND PERFORMANCE

Part I Of An Exclusive Interview With The Father Of Digital FM Synthesis. By Tom Darter.

Fraction by Sinevibes audio slicing workstation

Spectral toolkit: practical music technology for spectralism-curious composers MICHAEL NORRIS

Combining Instrument and Performance Models for High-Quality Music Synthesis

Experiments on musical instrument separation using multiplecause

A prototype system for rule-based expressive modifications of audio recordings

Chapter 1. Introduction to Digital Signal Processing

Sound and Music Computing Research: Historical References

ONLINE ACTIVITIES FOR MUSIC INFORMATION AND ACOUSTICS EDUCATION AND PSYCHOACOUSTIC DATA COLLECTION

Musical Hit Detection

Digital audio and computer music. COS 116, Spring 2012 Guest lecture: Rebecca Fiebrink

The Tone Height of Multiharmonic Sounds. Introduction

Extending Interactive Aural Analysis: Acousmatic Music

StepSequencer64 J74 Page 1. J74 StepSequencer64. A tool for creative sequence programming in Ableton Live. User Manual

POST-PROCESSING FIDDLE : A REAL-TIME MULTI-PITCH TRACKING TECHNIQUE USING HARMONIC PARTIAL SUBTRACTION FOR USE WITHIN LIVE PERFORMANCE SYSTEMS

Analysis of local and global timing and pitch change in ordinary

Corpus-Based Transcription as an Approach to the Compositional Control of Timbre

Automatic Construction of Synthetic Musical Instruments and Performers

Oasis Rose the Composition Real-time DSP with AudioMulch

Robert Alexandru Dobre, Cristian Negrescu

ANALYSIS-ASSISTED SOUND PROCESSING WITH AUDIOSCULPT

However, in studies of expressive timing, the aim is to investigate production rather than perception of timing, that is, independently of the listene

Ben Neill and Bill Jones - Posthorn

A HIGHLY INTERACTIVE SYSTEM FOR PROCESSING LARGE VOLUMES OF ULTRASONIC TESTING DATA. H. L. Grothues, R. H. Peterson, D. R. Hamlin, K. s.

Pitch. The perceptual correlate of frequency: the perceptual dimension along which sounds can be ordered from low to high.

Music Radar: A Web-based Query by Humming System

Music Representations

The Research of Controlling Loudness in the Timbre Subjective Perception Experiment of Sheng

Supervised Learning in Genre Classification

Laboratory Assignment 3. Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB

Virtual Piano. Proposal By: Lisa Liu Sheldon Trotman. November 5, ~ 1 ~ Project Proposal

SMS Composer and SMS Conductor: Applications for Spectral Modeling Synthesis Composition and Performance

PS User Guide Series Seismic-Data Display

WAVES Cobalt Saphira. User Guide

A New "Duration-Adapted TR" Waveform Capture Method Eliminates Severe Limitations

AE16 DIGITAL AUDIO WORKSTATIONS

Instrument Recognition in Polyphonic Mixtures Using Spectral Envelopes

Topic 10. Multi-pitch Analysis

ALGORHYTHM. User Manual. Version 1.0

Understanding Compression Technologies for HD and Megapixel Surveillance

Query By Humming: Finding Songs in a Polyphonic Database

Score following using the sung voice. Miller Puckette. Department of Music, UCSD. La Jolla, Ca

About Giovanni De Poli. What is Model. Introduction. di Poli: Methodologies for Expressive Modeling of/for Music Performance

Practice makes less imperfect: the effects of experience and practice on the kinetics and coordination of flutists' fingers

A STATISTICAL VIEW ON THE EXPRESSIVE TIMING OF PIANO ROLLED CHORDS

Musical Tapestry: Re-composing Natural Sounds {

Physical Modelling of Musical Instruments Using Digital Waveguides: History, Theory, Practice

A FORM THAT OCCURS IN MANY PLACES CLOUDS AND ARBORESCENCE IN MYCENAE ALPHA

Kenaxis & Kenaxis VBAP the manual

HEAD. HEAD VISOR (Code 7500ff) Overview. Features. System for online localization of sound sources in real time

Timbre blending of wind instruments: acoustics and perception

DIGITAL COMMUNICATION

DAT335 Music Perception and Cognition Cogswell Polytechnical College Spring Week 6 Class Notes

LOUDNESS EFFECT OF THE DIFFERENT TONES ON THE TIMBRE SUBJECTIVE PERCEPTION EXPERIMENT OF ERHU

LabView Exercises: Part II

From Technological Investigation and Software Emulation to Music Analysis: An integrated approach to Barry Truax s Riverrun

A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

USING A SOFTWARE SYNTH: THE KORG M1 (SOFTWARE) SYNTH

Motion Video Compression

Introduction To LabVIEW and the DSP Board

Open Research Online The Open University s repository of research publications and other research outputs

Administrative issues. Sequential logic

FLEXIBLE SWITCHING AND EDITING OF MPEG-2 VIDEO BITSTREAMS

Sound visualization through a swarm of fireflies

Topic 1. Auditory Scene Analysis

Toward a Computationally-Enhanced Acoustic Grand Piano

ADSR AMP. ENVELOPE. Moog Music s Guide To Analog Synthesized Percussion. The First Step COMMON VOLUME ENVELOPES

Retiming Sequential Circuits for Low Power

EFFECT OF REPETITION OF STANDARD AND COMPARISON TONES ON RECOGNITION MEMORY FOR PITCH '

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

y POWER USER MUSIC PRODUCTION and PERFORMANCE With the MOTIF ES Mastering the Sample SLICE function

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Extension 5: Sound Text by R. Luke DuBois Excerpt from Processing: a programming handbook for visual designers and artists Casey Reas and Ben Fry

System Of Shadows, an Interactive Performance Environment for Trumpet/Flugelhorn and Kyma

VISUALIZING AND CONTROLLING SOUND WITH GRAPHICAL INTERFACES

JASON FREEMAN THE LOCUST TREE IN FLOWER AN INTERACTIVE, MULTIMEDIA INSTALLATION BASED ON A TEXT BY WILLIAM CARLOS WILLIAMS

Musical Signal Processing with LabVIEW Introduction to Audio and Musical Signals. By: Ed Doering

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

Transcription:

Cort Lippe 1 Real-time Granular Sampling Using the IRCAM Signal Processing Workstation Cort Lippe IRCAM, 31 rue St-Merri, Paris, 75004, France Running Title: Real-time Granular Sampling [This copy of this paper is only a sample. Please do not reproduce. The original was published in the Contemporary Music Reveiw, published by Harwood Academic Publishers, 1994]

Cort Lippe 2 Abstract This paper describes research into granular sampling, including "time-stretching" techniques, and presents a musical application using the IRCAM Signal Processing Workstation in which granular sampling is controlled via turbulence algorithms and stochastic processes in a realtime compositional environment. Additionally, an important aspect of this work involves the control of granular techniques via the real-time detection and tracking of musical parameters of live instruments. Key words granular synthesis, granular sampling, Max, real-time processing, time-stretching, turbulence

Cort Lippe 3 Introduction Techniques for producing granular synthesis, and compositional approaches for exploring these techniques, have been presented by various composers [Xenakis 1971; Roads 1978]. More recently, important compositional and technical results have been presented in the domain of real-time granular sampling [Truax 1987], which has proven to be a powerful technique for timbral transformation in real time. This paper gives a brief explanation of granular techniques, including earlier work by the author using "time-stretching" techniques [Jones & Parks 1988], and presents a musical application using the IRCAM Signal Processing Workstation (ISPW) [Lindemann, Starkier & Dechelle 1990] in which granular sampling is controlled via turbulence algorithms and stochastic processes in a real-time compositional environment [Truax 1988; Washka & Kurepa 1989; Di Scipio 1993]. Recent compositions by the author for instruments and live ISPW are referenced. An important aspect of these pieces involves the "expressive" control of granular techniques via the detection and tracking of musical parameters of live instruments in real time [Lippe & Puckette 1992; Wessel, Bristow & Settel 1992]. A user interface has been developed by the author using the program Max [Puckette 1988, 1991] running on the ISPW. Description of Granular Techniques Briefly described, the technique of granular synthesis involves the production of a multitude of short sounds (grains) consisting of a waveform, to which an amplitude envelope has been applied, at a specified frequency and amplitude. These grains of sound, produced at a high rate of speed, are usually overlapped with neighboring grains in order to produce a certain density and continuity of sound. A simple, standard description of a granular synthesis model includes the following constants: a sinusoidal waveform, a bell-shaped amplitude envelope with a duration of 20 milliseconds, and an overlap-time of 5 milliseconds between successive grains. In this model, the pitch and maximum amplitudes of individual grains may be considered as compositional variables. (See figure 1.)

Cort Lippe 4 The technique of granular sampling involves the application of the above-described technique to a stored sampled sound in which the waveform used in granular synthesis is replaced by a small chunk of sampled sound. Thus, for each grain, the onset time into the sampled sound becomes a compositional variable, along with the pitch and maximum amplitude. Furthermore, in a more detailed model of granular sound production, the waveform (or sampled sound), envelope description, grain duration, rate of grain production, overlap of grains, spatial location of each grain, etc., may all be considered as compositional variables. With this large palette of parameters, it is clear that an immense quantity of data is required in choosing individual values for each grain of sound. Historically, compositional algorithms have often been employed to automate these choices. The practicality and necessity of automating control of granular techniques was obvious to Xenakis, who, prior to working with granular techniques in electronic music had already explored similar problems in the instrumental domain during the 1950s with works such as Pithoprakta, in which he employed techniques akin to a kind of "granular" conception of instrumental music. Granular Sampling as Musique Concrète While granular synthesis and granular sampling are variants of the same technique, their musical essences lie at opposite poles of the electronic music paradigm. One is immediately confronted, historically speaking, with the two main categories of electronic music: granular synthesis is Elektronische Musik, making use of purely synthetic sounds, while granular sampling is part of the world of musique concrète in which recorded sounds are manipulated and transformed. As the Canadian composer, Jean Piché, has suggested, granular sampling is an "input dependent" technique. Thus, using granular techniques on sampled sounds offers a level of musical implication which does not exist in granular synthesis: one is acting on and transforming a pre-existing sound object. As mentioned above, in granular synthesis the parameters most often controlled algorithmically are the pitch and amplitude of grains. The ordering of grains in a coordinate space is calculated, giving some sort of density distribution, but the concept of grains in an ordinal sense remains somewhat abstract. The result of arbitrarily different orderings gives sounding variants which,

Cort Lippe 5 although possibly very different in nature, remain abstract synthetic sounds. Since the synthetic waveform used in granular synthesis is replaced by a small portion of a stored sampled sound in granular sampling, an additional parameter exists: onset time into the stored sound. This additional parameter can be of primary importance in granular sampling. No longer a kind of "commutative" or arbitrary parameter, grain order may have important consequences, thus creating a hierarchy of parameters. In fact, this hierarchy may be considered implicit in the very nature of granular sampling. Using a piano note as the stored sound, if onset times descend in an ordinal fashion from high to low, while density distributions of all other parameters are randomly calculated, the sounding result will always be recognized as a piano note played backwards even though variants may sound quite different. Furthermore, the ability to "deconstruct" sounds via the manipulation of onset times in granular sampling, moving between the boundaries of recognizability and non-recognizability on a continuum, is one of the principle, musically interesting characteristics of granular sampling. An ISPW User Interface for Granular Sampling Using Max on the ISPW, I have constructed an interface for controlling granular sampling in real time. All the parameters mentioned above, including: onset time into the sampled sound, pitch, envelope description, maximum amplitude, grain duration, rate of grain production, overlap of grains, and spatial location of each grain are all controllable in real time for each grain that is calculated. Max also allows for real time switching from one sampled sound to another; either by reading elsewhere in memory, loading soundfiles from disk, or sampling anew (all of which can be done while the granular reading continues to take place). A control panel allows for the setting of parameter values via sliders and number boxes, and parameters can be independently changed over time via automation. Independent granular sampling tasks can run at the same time. Since the point of departure for this work in granular sampling grew out of experimentation with "time-stretching" of sampled sounds, each task originally produced a single stream of grains. Multiple, simultaneous grain attacks were a later development. (The number of tasks and the number of overlapping grains within a task are limited by real-time constraints.) A recent addition to the system allows for real-time mixing and sampling of the granular output of simultaneous tasks, which then may be reused as sample tables for other granular sampling tasks. This "recursive" approach offers exponential increases in densities,

Cort Lippe 6 and a musically reflexive dimension (the ability to recall earlier musical material) which can be pertinent. Time-Stretching of Sampled Sounds Time-stretching of sampled sounds has been studied for altering speech signals for quite some time. Compositionally, this technique offers the possibility to separately control pitch and time in sample playback. Slowing down a sound without changing its pitch, or changing pitch without changing playback speed, have interested composers since the early days of electronic music. In the late 1940s, D. Gabor developed a type of time-stretching which is essentially a form of granular sampling. His technique was commercialized as the Springer tape-recorder, which gave composers an analog tool for experimentation [Roads 1991]. A simple digital model for granular time-stretching makes use of a small number of "sampler voices" which read a stored sound in the following way: each voice produces a grain with a duration of 50 milliseconds, with a 15 millisecond overlap between successive voices. This is repeated cyclically on a continuous basis, while a pitch is specified for each grain and a "precession" rate is defined. The precession rate is a sliding window which moves or advances a group of sampler voices while they read through a sampled sound from beginning to end at a certain speed. Since the precession rate does not transpose the original sound, a slow precession rate can give a sloweddown playback at the original pitch, or the precession speed can be kept at the original playback speed while the pitch can be altered. With this technique, one can freeze the reading process in a single region by giving a precession time of zero, freely move forwards or backwards in a linear fashion, repeat short sections of the stored sound, and constantly vary the playback time and/or pitch independently. (Note that, essentially, this technique does not change the sequential order of onset times into the sampled sound.) After exploring the above-mentioned possibilities of time-stretching in my compositions Music for Harp and Tape, Music for Guitar and Tape, and the tape piece Paraptra; in which stored samples of harp and guitar sounds were transformed, it was a simple step to produce granular sampling by modifying time-stretching techniques in order to control the onset times into sample tables in a non-sequential fashion.

Cort Lippe 7 Initial Experiments in Granular Sampling My initial experiments with granular sampling were extremely simple and employed a single stream of grains. The auditory result of randomly choosing onset times into a stored sound, while producing grains at the original pitch of the sound, is fairly statistical. Using phrases of clarinet music, one has the impression with certain phrases that, for example, an entire 10- second phrase is sounding simultaneously. This is not surprising, since any onset is just as possible as any other, and, since, in using 20 millisecond grain durations with overlaps of 5 milliseconds between successive grains, more than 60 grains are produced each second. (Increasing the overlap time between grains will greatly increase the density of grains per second.) One sampled clarinet phrase, in particular, made up of approximately 5 seconds of rapid short notes, and then a 5-second held note was noteworthy because of the omnipresence of the long note in this statistical sound mass. It was immediately obvious that the musical content of the stored sounds being operated on was not a trivial aspect of the procedure, and that mapping algorithmic calculations onto the stored sound might produce more successful results if the musical content of the sound was taken into account. Statistical and Nonlinear Algorithmic Mapping to Control Parameters The next attempt at controlling granular sampling was simply to choose grains within defined "tendency masks" (constantly moving windows with varying sizes). For instance, a window with the size of a single grain which expands to the size of a full 10 second sample table over a specified time produces a sound which begins untransformed and, over time, becomes a statistical sound mass. These tendency masks of constantly moving window sizes and window locations can be used to read through sounds quite freely in a kind of statistical "scrubbing" fashion, creating more or less recognizable playback of the original sounds with a rich amount of timbral variation. Random walks through the sound can be calculated and combined with control over the numerous other parameters available: pitch, amplitude, sample table, envelope description, grain duration, rate of grain production, overlap of grains, and spatial location of each grain, giving one a vast amount of transformational flexibility. My composition Music for Clarinet and ISPW employs variants of time-stretching and granular sampling, making use of

Cort Lippe 8 tendency masks to control virtually all the parameters of granular sampling. In a composition in progress, numerous algorithms have been tried for controlling different parameters using chaotic equations. The fact that these algorithms can be predictively and easily controlled, enabling smooth transitions from the seemingly random towards stability, makes them quite attractive. Mapping Performer Expression to Control Parameters Due to the large number of parameters and the much larger number of values needed for each parameter in granular techniques, it is obvious that algorithmic mappings can be extremely useful, if not necessary. Several of the pieces mentioned above involve the use of live performers. Since the ISPW offers tools for real-time audio signal analysis of acoustic instruments for the extraction of musical parameters, another level of control over the granular sampling comes directly from the performers, giving musicians a degree of expressive control over the electronic transformations. In Music for Clarinet and ISPW the sampled sounds used for granular sampling are taken directly from the performed score, either sampled on-the-fly during performance, or prerecorded and loaded into memory during performance. Continuous pitch and amplitude tracking of a performance offers musically relevant data which can be used to control aspects of an electronic score, and perceptually create coherence between the instrument and electronics. In the clarinet piece, continuous pitch data taken from the clarinet is often used to control the pitch of grains, and continuous amplitude data controls the windowing of the tendency masks of certain parameters. In an ensemble piece in progress, additional control of parameters is being attempted via spectral analysis, thus allowing for timbral control of the sampling by way of instrumental color changes. (See figure 2.) Conclusion Granular sampling is a powerful tool for transforming sampled sounds. Control of granular sampling via non-linear processes in a real-time compositional context, and via continuous control signals made available by the detection and tracking of musical parameters of live instruments in real time, offer composers and performers a rich palette of possibilities. In

Cort Lippe 9 addition, sampling of the output of a performer in a real time environment, while allowing the performer a certain degree of control over the granular sampling of this same material, can ultimately provide an instrumentalist with a high degree of intimate expressive control over an electronic score. Acknowledgements I would like to thank Miller Puckette, Jean Piché, and Agostino Di Scipio for their invaluable technical and musical insights. References Di Scipio, A. 1990. "Composing with Granular Synthesis of Sound in the Interactive Computer Music System." In Proceedings of the Fourth Biennial Arts & Technology Symposium. New London: Center for Arts & Technology at Connecticut College. Jones, D. and Parks, T. 1988. "Generation and Combination of Grains for Music Synthesis." Computer Music Journal 12(2), 27-34. Lindemann, E., Starkier, M., and Dechelle, F. 1990. "The IRCAM Musical Workstation: Hardware Overview and Signal Processing Features." In Proceedings of the 1990 International Computer Music Conference. San Francisco: International Computer Music Association. Lippe, C. and Puckette, M. 1991. "Musical Performance Using the IRCAM Workstation." In Proceedings of the 1991 International Computer Music Conference. San Francisco: International Computer Music Association. Puckette, M. 1988. "The Patcher." In Proceedings of the 1988 International Computer Music Conference. San Francisco: International Computer Music Association. Puckette, M. 1991. "Combining Event and Signal Processing in the Max Graphical Programming Environment." Computer Music Journal 15(3), 68-77. Roads, C. 1978. "Automated Granular Synthesis of Sound." Computer Music Journal 2(2), 61-62.

Cort Lippe 10 Roads, C. 1991. "Asynchronous Granular Synthesis" In G. De Poli, A. Piccialli, and C. Roads, eds. Representations of Musical Signals. Cambridge, Mass: MIT Press. Truax, B. 1987. "Real-Time Granulation of Sampled Sound with the DMX-1000." In Proceedings of the 1987 International Computer Music Conference. San Francisco: International Computer Music Association. Truax, B. 1988. "Real-Time Granular Synthesis with a Digital Signal Processor." Computer Music Journal 12(2), 14-26. Waschka, R. and Kurepa, A. 1989. "Using Fractals in Timbre Construction: An Exploratory Study." In Proceedings of the 1989 International Computer Music Conference. San Francisco: International Computer Music Association. Wessel, D., Bristow, D. and Settel, Z. 1987. "Control of Phrasing and Articulation in Synthesis."In Proceedings of the 1987 International Computer Music Conference. San Francisco: International Computer Music Association. Xenakis, I. 1971. Formalized Music. Bloomington: Indiana University Press. (New edition: Stuyvesant, Pendragon, 1992)

Cort Lippe 11 20 msec. pitch 5 msec. time figure 1. Granular synthesis model

Cort Lippe 12 audio signal from instrument pitch follower band-limited envelope followers FFT based spectral analysis High level event detector derives discrete and continuous control signals, such as: articulation, note density, center of spectral mass, pitch stability, etc. Granular Synthesis Module figure 2. Mapping performer expression