Multipoint envelope with rate and level per point, same as the DX7 5-point envelopes.
The constructor should ideally take an array to hold the state and the size e.g.
MultipointEnvelope(float* points, int size) where points is 2 x size.
Define a static MultipointEnvelope::create(int points) which allocates the array.
Define functions that set the points with a point index, e.g. setRate(int point, float value).
Multipoint envelope with rate and level per point, same as the DX7 5-point envelopes.
The constructor should ideally take an array to hold the state and the size e.g.
MultipointEnvelope(float* points, int size)where points is 2 x size.Define a
static MultipointEnvelope::create(int points)which allocates the array.Define functions that set the points with a point index, e.g.
setRate(int point, float value).