mirror of
https://github.com/thestk/stk
synced 2026-02-04 08:36:16 +00:00
Merge pull request #54 from arielelkin/setRawWavePathForDemoProject
set raw wave path for demo project
This commit is contained in:
@@ -45,6 +45,12 @@
|
|||||||
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