mirror of
https://github.com/thestk/stk
synced 2026-02-05 08:56:16 +00:00
Merge pull request #54 from arielelkin/setRawWavePathForDemoProject
set raw wave path for demo project
This commit is contained in:
@@ -44,7 +44,13 @@
|
|||||||
float sample = brass->tick();
|
float sample = brass->tick();
|
||||||
NSLog(@"Brass sample: %f", sample);
|
NSLog(@"Brass sample: %f", sample);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//We're going to be making use of a class that needs
|
||||||
|
//raw wave files, we need to tell the STK where
|
||||||
|
//the files are:
|
||||||
|
stk::Stk::setRawwavePath([[[NSBundle mainBundle] pathForResource:@"rawwaves" ofType:@"bundle"] UTF8String]);
|
||||||
|
|
||||||
|
|
||||||
//Test Mandolin:
|
//Test Mandolin:
|
||||||
stk::Mandolin *mandolin = new stk::Mandolin(400);
|
stk::Mandolin *mandolin = new stk::Mandolin(400);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user