Abstract

The direct-form, second-order recursive oscillator is a widely applied digital frequency synthesis technique. Its computational simplicity and ability to generate low-distortion sinusoidal signals make it an attractive computer-music tone generator, albeit one exhibiting a nonlinear frequency-control characteristic. The control complexity incurred by the arccosine frequency-control characteristic is offset by the minimal arithmetic overhead required in the direct-form oscillator compared to other recursive forms (Smith and Cook 1992). The underlying principles and properties of the direct-form recursive oscillator are extensively reported in the literature (Abu-El-Haija and AlIbrahim 1986; Orfanidis 1996). In essence, the oscillator is a second-order recursive (IIR) filter whose poles lie on the unit circle in the complex zplane. This condition is unstable and under ideal conditions produces a pure discrete-time (DT) sinusoidal oscillation sequence y(n) when initiated. Figure 1 illustrates the computational signal flow with initial conditions (ICs) y(1) and y(2) contained in the two unit-delay elements (z-1) to initiate the oscillation. The algorithm requires only one addition, two multiplications (of which one is by 1 and therefore trivial), and two unit-delay elements. The ICs are a function of the required amplitude, frequency, and phase of the sinusoid oscillation. The literature typically considers IC values from a cold start where y(n)= 0 for all n < 0 in the context of replacing a forcing function as the initiation mechanism. Computer-music applications (and many others) require a constant-amplitude, phasecontinuous frequency change at some arbitrary point in the signal. We define a phase-continuous transition as one in which the underlying phasetime characteristic shows only a change in slope at the transition point with no instantaneous jump in phase. The corresponding amplitude signal will therefore contain no step changes at the transition point, in an analogous manner to analog voltage control oscillator (VCO) behavior in the continuous time (CT) domain. Phase discontinuities generally lead to corresponding amplitude discontinuities and cause objectionable clicks in the audio signal, especially when playing a rapid sequence of notes (Lane et al. 1997). Computing ICs associated with a frequency change must take into account the oscillation phase at the last sample before the transition to the new frequency. We therefore need a method to determine the phase of the oscillation sequence given only the oscillator state variables. This article presents a precise method for determining the instantaneous phase of a DT sinusoid at any sample point and develops IC functions supporting constant-amplitude, phase-continuous frequency changes. These results are particularly applicable to the control of improved direct-form architectures (Hodes et al. 1999), which provide greatly enhanced frequency resolution on fixedpoint hardware. Independent control of amplitude, frequency, and phase of oscillation is now possible. A change in amplitude alone (while maintaining oscillation frequency) can be effected by reinitializing with appropriate ICs. However, a single multiplication of the output sequence by the amplitude variable is computationally more efficient than computing two IC values and is preferred in practice. The article begins by presenting a summary derivation of the relationship between the ICs and the amplitude, frequency, and phase of the synthesized sinusoid. Computer Music Journal, 28:4, pp. 40-48, Winter 2004 ? 2004 Massachusetts Institute of Technology

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.