Michal Seta:
Kjetil, I see you took a different approach than I did,
What I liked in Larry's extern was that I could send arbitrary scheme expressions to it... But I don't know if this is a real advantage, certainly helps trying out things...
Yes, thats nice. Will add.
For running something like Common Music (Michal, have you tried it yet?)
I didn't really have time to play with it so much. Not to mention that I'm only slowly learning scheme/lisp/CM. I did manage to load CM and call some functions but I haven't actually done anything useful yet.
One thing I noticed, though, is that when you load the whole CM system into a script and then make changes in the script and reload (even completely destroying the object and creating a new one) it in pd, pd segfaults reliably
I'll look at it.
(would there be a way to load CM once and then access it from other .scm scripts?).
Yes, put (load "/path/cm.scm") in the top of "global.scm" and rebuild k_guile.
By the way, perhaps it would be a good idea if global.scm did something like " (load-if-exists "/etc/.k_guile.scm") (load-if-exists "$HOME/.k_guile.scm") " as one of its first operation?