Year: 1999
Type: conference-paper
Abstract: We describe a system for generating sounds in real-time. The input to the system is a flow of parameter values. These values control the frequency and amplitude of a bank of oscillators. The time between two sets of parameter values in the flow is much larger than the time between two samples of the resulting sound. The sound generation system must compute the instantaneous value of each oscillator and then sum the results. The main problem is then to get sufficient performance out of the computation of each instantaneous oscillator value. Sine tables were ruled out because they either require interpolation (which is slow) or massive amounts of memory (essentially one table for each frequency). A well-known formula exists for incrementally computing the samples of an oscillator, given any frequency and any amplitude, with only one floating-point multiplication and one floating-point addition per sample. This formula has two major problems. The first is that the parameters are fixed, whereas they need to vary, and the second is that numeric imprecisions may cause the values to drift. Other formulae exist that handle both these problems, but they are more expensive to compute. The solution presented in this paper is able to adapt the fast formula so that the parameters may evolve and that drift is avoided. With this method, we are able to generate roughly 2 oscillators per MHz of clock speed on a Pentium II processor. In other words, we obtain the simultaneous generation of around 800 oscillators on a 400 MHz machine. 1.
Source: HAL
Authors: Robert Strandh, Sylvain Marchand, Université Bordeaux I
Institution: Laboratoire Bordelais de Recherche en Informatique
Language: English
Subfield: Music
Field: Arts and Humanities
Domain: Social Sciences
Open Access status: green
OpenAlex ID: W157333014
