mirror of
https://github.com/thestk/stk
synced 2026-01-16 14:21:53 +00:00
Version 4.2.1
This commit is contained in:
committed by
Stephen Sinclair
parent
a6381b9d38
commit
2cbce2d8bd
@@ -17,13 +17,13 @@
|
||||
- String Sustain = 11
|
||||
- String Stretch = 1
|
||||
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2004.
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
|
||||
*/
|
||||
/***************************************************/
|
||||
|
||||
#include "StifKarp.h"
|
||||
#include "SKINI.msg"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
StifKarp :: StifKarp(StkFloat lowestFrequency)
|
||||
{
|
||||
@@ -180,7 +180,7 @@ void StifKarp :: noteOff(StkFloat amplitude)
|
||||
#endif
|
||||
}
|
||||
|
||||
StkFloat StifKarp :: tick()
|
||||
StkFloat StifKarp :: computeSample()
|
||||
{
|
||||
StkFloat temp = delayLine_.lastOut() * loopGain_;
|
||||
|
||||
@@ -196,16 +196,6 @@ StkFloat StifKarp :: tick()
|
||||
return lastOutput_;
|
||||
}
|
||||
|
||||
StkFloat *StifKarp :: tick(StkFloat *vector, unsigned int vectorSize)
|
||||
{
|
||||
return Instrmnt::tick( vector, vectorSize );
|
||||
}
|
||||
|
||||
StkFrames& StifKarp :: tick( StkFrames& frames, unsigned int channel )
|
||||
{
|
||||
return Instrmnt::tick( frames, channel );
|
||||
}
|
||||
|
||||
void StifKarp :: controlChange(int number, StkFloat value)
|
||||
{
|
||||
StkFloat norm = value * ONE_OVER_128;
|
||||
|
||||
Reference in New Issue
Block a user