[CM] Running CLM in realtime.

Kjetil Svalastog Matheussen k.s.matheussen@notam02.no
Wed, 16 Mar 2005 00:39:31 +0100 (CET)

This is a small announcement.

For the last three/four months I have,
with support from Notam (http://www.notam02.no), been working on
the files rt-compiler.scm, rt-engine.scm, eval-c.scm and oo.scm
in the SND distribution.

rt-engine.scm is a realtime engine, a little bit like the supercollider3
program "scsynth".

rt-compiler.scm is a compiler that compiles scheme-look-alike blocks
of code into machine-code that can be sent to rt-engine. Almost
all of CLM is supported.

I'm kind-of announcing this now, since its actually working very
well now. The performance is awesome, and it seems to be stable, in
the sence that it doesn't crash, I think.

However, I haven't stabelized the API yet, so things will change,
and using the system for making large interactive installation
or something might be a bit risky in the current state. However
(again), I want people to check this out, if it seems interesting,
and give me comments about the API or other things that look

Check out the top of rt-compiler.scm for documentation about the
system, and the top of rt-engine.scm for a couple of examples.

I have made a realtime-version of Bil's bird.scm called rt-bird.scm
which I have put here:
(including my latest versions of rt-compiler.scm, rt-engine.scm
and eval-c.scm)


To run it do the following:

1. Start Jack.
2. Start SND.
3. Cut and paste into SND:
(load-from-path "rt-compiler.scm")
(load "rt-bird.scm")
(-> rt-engine start)

You can also add additional birds by
calling (make-birds) again and again and again.