mirror of
https://github.com/thestk/stk
synced 2026-01-17 06:41:51 +00:00
Version 3.0
This commit is contained in:
committed by
Stephen Sinclair
parent
7c0ee03d60
commit
868787a5f9
@@ -13,8 +13,12 @@ TwoOsc :: TwoOsc()
|
||||
|
||||
envelope = new Envelope; /* Envelope to avoid clicks */
|
||||
|
||||
// Concatenate the STK RAWWAVE_PATH to the rawwave file
|
||||
char file[128];
|
||||
strcpy(file, RAWWAVE_PATH);
|
||||
for (i=0; i<2; i++) {
|
||||
osc[i] = new RawLoop("../rawwaves/sinewave.raw");
|
||||
osc[i] = new RawWvIn(strcat(file,"rawwaves/sinewave.raw"),"looping");
|
||||
strcpy(file, RAWWAVE_PATH);
|
||||
osc[i]->normalize();
|
||||
osc[i]->setFreq((MY_FLOAT) 200.0);
|
||||
amps[i] = 0.2;
|
||||
|
||||
Reference in New Issue
Block a user