[CM] where I'm at now with the CLM/CMN/CM image (+ Snd)
Dave Phillips
dlphilp@bright.net
Tue, 03 Dec 2002 09:03:09 -0500
Greetings:
I think I'm making progress. Using a cm.core image I can compile and
load CLM instruments, and I can create MIDI files and CMN scores
simultaneously (Thank you, Anders!), but I'm stuck at two important
points.
1. The CLM/Snd connection is broken. start-snd doesn't work, nor do
any of the other Snd calls. This is weird, because I swear it was
working two days ago. I'm losing it...
2. (with-sound) doesn't work either.
Here are the error messages:
dlphilp@localhost:~/CCRMA$ lisp -core
/home/dlphilp/CCRMA/cm-2.4.0/bin/cm.core -init /home/dlphilp/CCR
; Loading #p"/home/dlphilp/CCRMA/cm-2.4.0/bin/cminit.lisp".
* (list-all-packages)
(#<The MI_D package, 10/22 internal, 77/80 external>
#<The CLOS-MOP package, 0/16 internal, 79/80 external>
#<The CLM package, 1713/2386 internal, 770/1184 external>
#<The ITERATE package, 46/95 internal, 19/35 external>
#<The WALKER package, 82/95 internal, 10/17 external>
#<The SLOT-ACCESSOR-NAME package, 1183/1574 internal, 0/9 external>
#<The PCL package, 2868/4007 internal, 134/167 external>
#<The CMN package, 3175/6314 internal, 0/2 external>
#<The NEW-ASSEM package, 189/192 internal, 31/44 external>
#<The PROFILE package, 64/95 internal, 6/9 external>
#<The ALIEN-INTERNALS package, 0/4 internal, 91/95 external>
#<The LOOP package, 0/9 internal, 0/9 external>
#<The DISASSEM package, 418/786 internal, 96/192 external>
#<The INSPECT package, 22/44 internal, 4/9 external>
#<The COMMON-LISP-USER package, 58/95 internal, 0/9 external>
#<The HEMLOCK package, 4/5 internal, 0/2 external>
#<The WIRE package, 96/187 internal, 33/44 external>
#<The XLIB package, 1/2 internal, 1/2 external>
#<The FORMAT package, 205/462 internal, 0/2 external>
#<The ANSI-LOOP package, 271/390 internal, 0/2 external>
#<The MULTIPROCESSING package, 123/279 internal, 47/59 external>
#<The HEMLOCK-INTERNALS package, 5/8 internal, 1/2 external>
#<The DEBUG package, 147/398 internal, 23/27 external>
#<The PRETTY-PRINT package, 192/405 internal, 2/2 external>
#<The BIGNUM package, 49/230 internal, 47/59 external>
#<The C-CALL package, 17/33 internal, 12/17 external>
#<The ALIEN package, 372/578 internal, 34/44 external>
#<The CONDITIONS package, 98/252 internal, 0/2 external>
#<The EVAL package, 66/142 internal, 15/21 external>
#<The SYSTEM package, 15/33 internal, 134/167 external>
#<The C package, 3416/6136 internal, 301/377 external>
#<The KEYWORD package, 0/2 internal, 2364/4077 external>
#<The CM package, 2126/3150 internal, 0/2 external>
#<The UNIX package, 463/694 internal, 533/680 external>
#<The X86 package, 1679/2642 internal, 324/405 external>
#<The DEBUG-INTERNALS package, 338/670 internal, 91/113 external>
#<The KERNEL package, 760/1459 internal, 620/774 external>
#<The EXTENSIONS package, 185/417 internal, 359/449 external>
#<The COMMON-LISP package, 1577/4057 internal, 980/1227 external>)
* (in-package :clm)
#<The CLM package, 1713/2386 internal, 770/1184 external>
* (start-snd)
Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at
#x402C4250.
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(UNIX::SIGSEGV-HANDLER #<unused-arg>
#<unused-arg>
#.(SYSTEM:INT-SAP #x3FFFEAE0))
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer
exists:
target:code/signal.lisp.
0] 0
* (compile-file "/home/dlphilp/CCRMA/clm-2/v.ins")
Python version 1.0, VM version Intel x86 on 03 DEC 02 08:48:25 am.
Compiling: /home/dlphilp/CCRMA/clm-2/v.ins 02 DEC 02 06:49:57 am
Converted BIT20.
Compiling DEFUN BIT20:
Converted MAKE-FROBBER-FUNCTION.
Compiling DEFUN MAKE-FROBBER-FUNCTION:
; Writing "/home/dlphilp/CCRMA/clm-2/clm_lnxcmu_FM-VIOLIN.c"
; Compiling "/home/dlphilp/CCRMA/clm-2/clm_lnxcmu_FM-VIOLIN.c"
; Creating shared object file
"/home/dlphilp/CCRMA/clm-2/clm_lnxcmu_FM-VIOLIN_0.so"
Converted |clm_lnxcmu_fm_violin3|.
Compiling DEFINSTRUMENT FM-VIOLIN:
Converted |clm_lnxcmu_fm_violin2|.
Compiling DEFINSTRUMENT FM-VIOLIN:
Converted FM-VIOLIN.
Compiling DEFINSTRUMENT FM-VIOLIN:
Converted FM-VIOLIN1.
Compiling DEFINSTRUMENT FM-VIOLIN:
Byte Compiling Top-Level Form:
/home/dlphilp/CCRMA/clm-2/v.x86f written.
Compilation finished in 0:00:10.
#p"/home/dlphilp/CCRMA/clm-2/v.x86f"
NIL
NIL
* (load "/home/dlphilp/CCRMA/clm-2/v.cmucl")
; Loading #p"/home/dlphilp/CCRMA/clm-2/v.cmucl".
;;; Running /usr/bin/ld...
;;; Done.
;; Loading #p"/home/dlphilp/CCRMA/clm-2/v.x86f".
T
* (with-sound () (fm-violin 0 3 440 .3))
Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at
#x402BE7E4.
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(UNIX::SIGSEGV-HANDLER #<unused-arg>
#<unused-arg>
#.(SYSTEM:INT-SAP #x3FFFE960))
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer
exists:
target:code/signal.lisp.
0] 0
* (with-sound (:output "fm-test.snd") (fm-violin 0 3 440 .3))
Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at
#x402BE7E4.
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(UNIX::SIGSEGV-HANDLER #<unused-arg>
#<unused-arg>
#.(SYSTEM:INT-SAP #x3FFFE960))
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer
exists:
target:code/signal.lisp.
0] 0
*
Btw, my build of cm.core was made by following Rick's advice
explicitly.
There you have it... Let me know if there's any particular quick fix.
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
The Linux Soundapps Site at http://linux-sound.org