[CM] Plnet CM Problems
Rick Taube
taube at uiuc.edu
Fri Oct 17 09:52:36 PDT 2003
hi -- sounds like a package problem, ie the definstrument is not
getting compiled in the common music package. what lisp are you using
and what package are you in when you compile v.ins?
As you can see from the following trace it works fine here with the
latest tarfiles:
? *package*
#<Package "CM">
? (compile-file "/Lisp/clm-2/v.ins")
; Writing "/Lisp/clm-2/clm_fm_violin.c"
; Compiling "/Lisp/clm-2/clm_fm_violin.c"
#P"/Lisp/clm-2/v.dfsl"
NIL
NIL
? (load "/Lisp/clm-2/v.dfsl")
#P"/Lisp/clm-2/v.dfsl"
? (new fm-violin)
#i(fm-violin)
? (define (testit )
(process for i below 10
output
(new fm-violin :frequency (between 220 440)
:startime i :dur 1
:amplitude .2)))
(events (testit) "test.clm")
"test.clm"
? (shell "cat test.clm")
;;; Common Music 2.4.0 output on 17 Oct 2003, 11:44:42
(FM-VIOLIN 0 1 313 0.2)
(FM-VIOLIN 1 1 272 0.2)
(FM-VIOLIN 2 1 417 0.2)
(FM-VIOLIN 3 1 358 0.2)
(FM-VIOLIN 4 1 336 0.2)
(FM-VIOLIN 5 1 220 0.2)
(FM-VIOLIN 6 1 424 0.2)
(FM-VIOLIN 7 1 373 0.2)
(FM-VIOLIN 8 1 373 0.2)
(FM-VIOLIN 9 1 410 0.2)
? (events (testit) "test.aiff")
; File: "test.aiff"
; Channels: 1
; Srate: 22050
; Reverb: None
sndplay: Command not found.
"test.aiff"
? *package*
#<Package "CM">
the only problem I have is that sndplay is not defined for some reason.
More information about the Cmdist
mailing list