64 StkFloat
lastOut(
void )
const {
return lastFrame_[0]; };
67 StkFloat
tick(
void );
81 void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
92 if ( target_ > value_ ) {
94 if ( value_ >= target_ ) {
101 if ( value_ <= target_ ) {
106 lastFrame_[0] = value_;
114 #if defined(_STK_DEBUG_)
115 if ( channel >= frames.
channels() ) {
116 oStream_ <<
"Envelope::tick(): channel and StkFrames arguments are incompatible!";
121 StkFloat *samples = &frames[channel];
122 unsigned int hop = frames.
channels();
123 for (
unsigned int i=0; i<frames.
frames(); i++, samples += hop )