Homepage: https://repo.or.cz/ob-sclang.git
Author: stardiviner
Updated:
SCLang support for Org Mode Babel
`ob-sclang' requires `sclang' from SuperCollider. Usually SuperCollider dependencies for Emacs are at /usr/share/emacs/site-lisp/SuperCollider/ You can install SuperCollider following this article: https://github.com/supercollider/supercollider#building-the-source-code Usage: Support to evaluate sclang Org-mode src block with function `sclang-eval-string'. For example: #+BEGIN_SRC sclang :results none "Hello World".postln; #+END_SRC *NOTE* Temporary output to org-babel result output is not supported. Because `sclang-eval-string' will send output to Sclang Post Buffer. And command line `sclang' execute will not automatically stop after finished execution. #+BEGIN_SRC sclang :results none // modulate a sine frequency and a noise amplitude with another sine // whose frequency depends on the horizontal mouse pointer position { var x = SinOsc.ar(MouseX.kr(1, 100)); SinOsc.ar(300 * x + 800, 0, 0.1) + PinkNoise.ar(0.1 * x + 0.1) }.play; #+END_SRC