| Yes, using the CppSound class.
There are examples in the examples directory (not in Java, but in Python, but the API calls would be the same) that do it from embedded strings in the Python scripts. Take a look at koch.py for one example.
Hope this helps,
Mike
-----Original Message-----
>From: Jacob Joaquin
>Sent: May 10, 2008 4:05 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Csound API: Can I compile an orc from a String instead of a .csd?
>
>
>Hello all.
>
>I'm working on a Java app that uses the Csound API for the synth engine. Is
>it possible to compile Csound orchestra code stored in a String as opposed
>to specifying a .csd file? If yes, how? Every example I've come across
>compiles from a .csd file.
>
>Thanks,
>Jake
>--
>View this message in context: http://www.nabble.com/Csound-API%3A-Can-I-compile-an-orc-from-a-String-instead-of-a-.csd--tp17167042p17167042.html
>Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|