58 void noteOn( StkFloat frequency, StkFloat amplitude );
61 void noteOff( StkFloat amplitude );
67 StkFloat
tick(
unsigned int channel = 0 );
79 void setBlowPressure( StkFloat val );
80 void setVibratoGain( StkFloat val );
81 void setVibratoFrequency( StkFloat val );
82 void setNoiseGain( StkFloat val );
83 void setBreathCutoff( StkFloat val );
84 void setSoftness( StkFloat val );
90 Iir radiation_filter_;
92 Iir visco_out_filter_;
103 StkFloat vibratoGain_;
105 StkFloat breathCutoff_;
106 StkFloat outputGain_;
140 unsigned int nChannels = lastFrame_.
channels();
141 #if defined(_STK_DEBUG_)
142 if ( channel > frames.
channels() - nChannels ) {
143 oStream_ <<
"Recorder::tick(): channel and StkFrames arguments are incompatible!";
148 StkFloat *samples = &frames[channel];
149 unsigned int j, hop = frames.
channels() - nChannels;
150 if ( nChannels == 1 ) {
151 for (
unsigned int i=0; i<frames.
frames(); i++, samples += hop )
155 for (
unsigned int i=0; i<frames.
frames(); i++, samples += hop ) {
157 for ( j=1; j<nChannels; j++ )
158 *samples++ = lastFrame_[j];