The Tutorial Getting Started 03 - Amplitude_Envelope explains how to give a Break Point Function (BPF) as an amplitude envelope to a OMChroma synthesis class. The amplitude is, however, a magnitude expressed in an exponential scale, the decibel scale. The BPF class, however, gathers the values in a linear way. This chapter displays many strategies to use a BPF with an exponential scale.
Only the GEN05 function generated a perfectly exponential curve whose steepness depends on the interval between the first and the last value (see the Csound documentation for further information). On the other hand, the segment between the points of the curve in the BPF is always linear. Hence, these examples give approximate curves, but listen to them to find the difference!
To summarize, the envelopes can built in two ways :
With the first method you can change the GEN's type (so if an OMChroma's slot has been initialized with a GEN07 you can give a GEN05)
With the second method the data of the BPF will be usually converted to a GEN07.
All the OMChroma slots that are connected to envelopes (Csound GEN functions) end with "env". However, this does not include slots that read audio files into tables (GEN01).
OMChroma also has classes that allow to specify f-tables directly (ex. GEN07, GEN-07, GEN05, etc.). Their usage will be explained in the next chapter.