Csound Csound-dev Csound-tekno Search About

[Csnd] hard coding instruments?

Date2009-09-19 05:43
FromAaron Johnson
Subject[Csnd] hard coding instruments?
Is there a way to use Csound instruments so that they might be compiled into efficient C code, and thus be faster? I'm thinking that for a particular application domain, using the exisiting Csound library code would be nice instead of re-inventing the wheel, and instead of an 'interpreted' GUI orchestra instrument in FLTK, it would be nice to build hard-coded applications that leverage Csound code/libraries....

For instance, there's a Linux app called RTsynth which is a Karplus-Strong string synth (also has physical modeling of flute like instruments.) Instead of writing an FLTK orchestra, and dealing with Csound as an interpreter overhead, could we make a library using wgpluck for instance, much like STK is used, and create an app. I imagine libcsound is used for this, but if so, it would be nice to see documentation of how to do this.

The other angle of this would be to make a plug-n-play fun beginner's app that hid Csound underneath a basic workhorse daily use, preset synth....something that had a bunch of presets and could be played instantly, had Csound as an engine, but no-one would know or have to know....

Best,
Aaron.

--

Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org