mirror of
https://github.com/thestk/stk
synced 2026-01-14 21:41:53 +00:00
Version 4.1.2
This commit is contained in:
committed by
Stephen Sinclair
parent
6e0d1955a8
commit
586b0add5f
@@ -21,7 +21,7 @@ Instrmnt :: ~Instrmnt()
|
||||
|
||||
void Instrmnt :: setFrequency(MY_FLOAT frequency)
|
||||
{
|
||||
cerr << "Instrmnt: virtual setFrequency function call!" << endl;
|
||||
std::cerr << "Instrmnt: virtual setFrequency function call!" << std::endl;
|
||||
}
|
||||
|
||||
MY_FLOAT Instrmnt :: lastOut() const
|
||||
@@ -29,6 +29,17 @@ MY_FLOAT Instrmnt :: lastOut() const
|
||||
return lastOutput;
|
||||
}
|
||||
|
||||
// Support for stereo output:
|
||||
MY_FLOAT Instrmnt :: lastOutLeft(void) const
|
||||
{
|
||||
return 0.5 * lastOutput;
|
||||
}
|
||||
|
||||
MY_FLOAT Instrmnt :: lastOutRight(void) const
|
||||
{
|
||||
return 0.5 * lastOutput;
|
||||
}
|
||||
|
||||
MY_FLOAT *Instrmnt :: tick(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
{
|
||||
for (unsigned int i=0; i<vectorSize; i++)
|
||||
|
||||
Reference in New Issue
Block a user