next up previous contents index
Next: Two-cosine carrier signal Up: Examples Previous: Wavetable pulse train   Contents   Index

Simple formant generator

The next three patch examples demonstrate the sound of the varying pulse width, graph its spectrum, and contrast the waveshaping pulse generator. Skipping to patch example F05.ring.modulation.pd (Figure 6.14), we show the simplest way of combining the pulse generator with a ring modulating oscillator to make a formant. The pulse train from the previous example is contained in the pd pulse-train subpatch. It is multiplied by an oscillator whose frequency is controlled as a multiple of the fundamental frequency. If the multiple is an integer, a harmonic sound results. No attempt is made to control the relative phases of the components of the pulse train and of the carrier sinusoid.

Figure 6.14: Excerpts from patch example F05.ring.modulation.pd combining ring modulation with a stretched wavetable pulse generator
\begin{figure}\psfig{file=figs/fig06.14.ps}\end{figure}

The next patch example, F06.packets.pd(Figure 6.15), shows how to combine the stretched wavetable pulse train with a sampled sinusoid to realize movable formants, as described in section 6.3. The pulse generator is as before, but now the carrier signal is a broken sinusoid. Since its phase is the fundamental phase times the center frequency quotient, the sample-to-sample phase increment is the same as for a sinusoid at the center frequency. However, when the phase wraps around, the carrier phase jumps to a different place in the cycle, as was illustrated in Figure 6.7. Although the relative bandwidth must be at least one, the relative center frequency (the quotient between center frequency and fundamental) may be as low as zero if desired.

Figure 6.15: Using stretched wavetable synthesis to make a formant with movable center frequency.
\begin{figure}\psfig{file=figs/fig06.15.ps}\end{figure}


next up previous contents index
Next: Two-cosine carrier signal Up: Examples Previous: Wavetable pulse train   Contents   Index
Miller Puckette 2006-03-03