[CM] fun with CM + Linux

Rick Taube taube@uiuc.edu
Fri, 6 Dec 2002 11:01:07 -0600

I think your Timidity hook is what I should use as the default on linux.
but before i take your example, look at  sco.lisp for a hook that tobias wrote called play-sco-file. his hook  allows options etc to get passed to the hook. if you want you do a simlar function for midi/timidiity you can adapt his csound example and  ill use it. 

>  I do have one question: rather than changing this line each time I
>compile CM, is there a way to override the default, perhaps via the
>cminit.lisp ? Sorry if that's a simple question, I'm a simple man... ;)

yes for now just put your definition:

(define (linux-play-midi-file ...) ...)

in your cmiinit.lisp  file. but ill make yours the default.