[cfe-dev] Kling Clang
daniel at zuster.org
Fri Oct 1 12:35:38 CDT 2010
That is awesome, I love it! Is this software going to be released somewhere?
On Thu, Sep 30, 2010 at 2:42 AM, Click Nilson <clicksonnil at gmail.com> wrote:
> A little light relief? Many thanks for Clang, which makes this possible...
> Live coding of audio DSP in C. Watch out for your ears at the introduction of 'tanh'
> SuperCollider is used as the host platform, and an LLVM jit compiler is built into a unit generator. You can see the UGen in the graph ring modulated with the SinOsc, and taking input from audio in. The text document of C code is compiled on command (I press F1), the file written out to disk, clang run on it to get IR, which is then passed over to the UGen via Open Sound Control as a long string. The ClangUGen then interprets the IR, and substitutes the dsp function when it is safe to do so (ie not during the middle of an audio callback). This is a rough cut; there are all sorts of refinements to make including double buffering with dsp function crossfades, but hope you enjoy!
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev