
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
41 virtual void noteOff( StkFloat amplitude );
47 virtual StkFloat
tick(
unsigned int channel = 0 ) = 0;
62 std::vector<FileWvIn *> attacks_;
63 std::vector<FileLoop *> loops_;
65 StkFloat baseFrequency_;
66 std::vector<StkFloat> attackRatios_;
67 std::vector<StkFloat> loopRatios_;
STK one-pole filter class.
Definition: OnePole.h:21
STK ADSR envelope class.
Definition: ADSR.h:25
virtual void noteOff(StkFloat amplitude)
Stop a note with the given amplitude (speed of decay).
virtual void setFrequency(StkFloat frequency)=0
Set instrument parameters for a particular frequency.
virtual StkFrames & tick(StkFrames &frames, unsigned int channel=0)=0
Fill a channel of the StkFrames object with computed outputs.
An STK class to handle vectorized audio data.
Definition: Stk.h:276
virtual StkFloat tick(unsigned int channel=0)=0
Compute and return one output sample.
void keyOff(void)
Signal a key-off event to the envelopes.
void keyOn(void)
Initiate the envelopes with a key-on event and reset the attack waves.
virtual void controlChange(int number, StkFloat value)=0
Perform the control change specified by number and value (0.0 - 128.0).
virtual ~Sampler(void)
Class destructor.
Sampler(void)
Default constructor.
The STK namespace.
Definition: ADSR.h:6
STK instrument abstract base class.
Definition: Instrmnt.h:20
STK sampling synthesis abstract base class.
Definition: Sampler.h:23