Thanks Gary,<br><br>Where do you suggest I start in order to impliment a relatively simple FM synthesis function such as that shown in the image attached? This seems like the kind of thing someone must have already implimented somewhere. I think I'm potentially in over my head but this strikes me as something an expert would find very simple.<br>
<br>Thanks so much,<br>Francis<br><br><br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 9:17 PM, Gary Scavone <span dir="ltr"><<a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Francis,<br>
<br>
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:<br>
<br>
using namespace stk;<br>
<br>
I suggest downloading the STK distribution, rather than use an old RPM distribution.<br>
<br>
Yes, you can do the sort of FM you referred to with STK.<br>
<br>
Regards,<br>
<br>
--gary<br>
<div><div></div><div class="h5"><br>
On 2010-04-04, at 10:55 PM, francis keyes wrote:<br>
<br>
> Hey All,<br>
><br>
> 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 <a href="https://ccrma.stanford.edu/software/stk/compile.html" target="_blank">https://ccrma.stanford.edu/software/stk/compile.html</a>, I get the following error:<br>
><br>
> $ g++ -Wall -D__LITTLE_ENDIAN__ -I/usr/include/stk -o sineosc sineosc.cpp -lstk<br>
><br>
> sineosc.cpp:3:22: error: FileLoop.h: No such file or directory<br>
> sineosc.cpp:7: error: ‘stk’ is not a namespace-name<br>
> sineosc.cpp:7: error: expected namespace-name before ‘;’ token<br>
><br>
> 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).<br>
> I don't know why I get "error: ‘stk’ is not a namespace-name".<br>
><br>
> Is the documentation on the stk website out of date?<br>
> Any help is greatly appreciated.<br>
><br>
> 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?<br>
><br>
><br>
><br>
><br>
</div></div>> <dfm-synth.jpg>_______________________________________________<br>
> Stk mailing list<br>
> <a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br>
> <a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a><br>
<br>
</blockquote></div><br>