mirror of
https://github.com/thestk/stk
synced 2026-01-13 13:01:52 +00:00
Version 4.2.1
This commit is contained in:
committed by
Stephen Sinclair
parent
a6381b9d38
commit
2cbce2d8bd
14
src/ADSR.cpp
14
src/ADSR.cpp
@@ -11,7 +11,7 @@
|
||||
envelope value reaches 0.0 in the
|
||||
ADSR::RELEASE state.
|
||||
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2004.
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
|
||||
*/
|
||||
/***************************************************/
|
||||
|
||||
@@ -153,7 +153,7 @@ int ADSR :: getState(void) const
|
||||
return state_;
|
||||
}
|
||||
|
||||
StkFloat ADSR :: tick()
|
||||
StkFloat ADSR :: computeSample()
|
||||
{
|
||||
switch (state_) {
|
||||
|
||||
@@ -187,13 +187,3 @@ StkFloat ADSR :: tick()
|
||||
lastOutput_ = value_;
|
||||
return value_;
|
||||
}
|
||||
|
||||
StkFloat *ADSR :: tick(StkFloat *vector, unsigned int vectorSize)
|
||||
{
|
||||
return Generator::tick( vector, vectorSize );
|
||||
}
|
||||
|
||||
StkFrames& ADSR :: tick( StkFrames& frames, unsigned int channel )
|
||||
{
|
||||
return Generator::tick( frames, channel );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user