[Stk] fm synthesis with stk
gary at ccrma.Stanford.EDU
Mon Apr 5 17:17:29 PDT 2010
You are using an old version of STK (4.3.1), which is out-of-date with respect to the online tutorial. All STK classes were embedded in a namespace in version 4.4. You might be able to get rid of the error message by commenting out the line:
using namespace stk;
I suggest downloading the STK distribution, rather than use an old RPM distribution.
Yes, you can do the sort of FM you referred to with STK.
On 2010-04-04, at 10:55 PM, francis keyes wrote:
> Hey All,
> I'm trying to get my head around stk by reading through the documentation but I'm having some problems. In trying to compile an example from https://ccrma.stanford.edu/software/stk/compile.html, I get the following error:
> $ g++ -Wall -D__LITTLE_ENDIAN__ -I/usr/include/stk -o sineosc sineosc.cpp -lstk
> sineosc.cpp:3:22: error: FileLoop.h: No such file or directory
> sineosc.cpp:7: error: ‘stk’ is not a namespace-name
> sineosc.cpp:7: error: expected namespace-name before ‘;’ token
> I didn't get the FileLoop.h file with my installation of stk (I'm running Fedora 12 and I have stk, stk-demo, and stk-devel installed, all 4.3.1-10).
> I don't know why I get "error: ‘stk’ is not a namespace-name".
> Is the documentation on the stk website out of date?
> Any help is greatly appreciated.
> Also, I'm looking at stk because I want to experiment with Double Frequency Modulation for sound synthesis, creating instruments that try to match a specific sound as detailed in the attached image. Can I do this with STK?
> Stk mailing list
> Stk at ccrma.stanford.edu
More information about the Stk