%0 Conference Paper %B International Computer Music Conference %D 2007 %T Combining Analysis and Synthesis in the ChucK Programming Language %A Ge Wang %A Rebecca Fiebrink %A Cook, Perry %C Copenhagen %K analysis %K audio %K ChucK %K synthesis %K uana %U http://soundlab.cs.princeton.edu/publications/uana_icmc2007.pdf %X
In this paper, we present a new programming model for performing audio analysis, spectral processing, and feature extraction in the ChucK programming language. The solution unifies analysis and synthesis in the same high-level, strongly-timed, and concurrent environment, extending and fully integrating with the existing language framework. In particular, we introduce the notion of a Unit Analyzer (UAna) and new constructs for dataflow, data types and semantics for operations in analysis domains, and mechanisms for seamlessly combining analysis and synthesis tasks in a precisem, sample-synchronous manner. We present the motivation of our system, and describe new language-level syntaxes, semantics, and the underlying implementation. We provide code examples and discuss potential uses and benefits of the system for audio researchers, performers, and teachers.