63 StkFloat
lastOut(
void )
const {
return lastFrame_[0]; };
66 StkFloat
tick(
void );
80 void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
91 if ( target_ > value_ ) {
93 if ( value_ >= target_ ) {
100 if ( value_ <= target_ ) {
105 lastFrame_[0] = value_;
113 #if defined(_STK_DEBUG_)
114 if ( channel >= frames.
channels() ) {
115 oStream_ <<
"Envelope::tick(): channel and StkFrames arguments are incompatible!";
120 StkFloat *samples = &frames[channel];
121 unsigned int hop = frames.
channels();
122 for (
unsigned int i=0; i<frames.
frames(); i++, samples += hop )