[CM] CLM stochastic synthesis instrument

Dave Phillips dlphilp@bright.net
Thu, 18 Dec 2003 08:31:44 -0500


Anders Vinjar wrote:

>>>>"BS" == Bill Sack <wsack@acsu.buffalo.edu> writes:
>>>>        
>>>>
>
>    BS> for all you fans of nonstandard synthesis: i humbly
>    BS> submit my homebrew and somewhat naive version of Xenakis'
>    BS> Stochastic Dynamic Synthesis
>
>How wonderful!  Thanks alot.
>
>  
>
Indeed, it's pretty cool stuff. Thanks, Bill !

However, I've run into some problems that might be of interest. First, I 
should state that I'm running a PlanetCCRMA RH9 system here. The current 
CMUCL image with CLM/CM/CMN fails to run stochastic.ins. However, the 
stochastic.ins does work with PlanetC's clisp-cm-clm-cmn image, so it 
looks like CLISP is needed unless there's a fix for running it in CMUCL. 
Fernando also reported that it runs under ACL. He didn't test the RT 
version.

Bill, what version of Lisp are you running ? Does anyone know the what & 
how for getting stochasticRT.ins running under Linux ?

I've appended the error messages from my attempt to use stochastic.ins 
under CMUCL, perhaps one of you gurus out there can see where things can 
be fixed.

Best regards,

Dave Phillips


[dlphilp@localhost dlphilp]$ cmucl-cm-clm-cmn
; Loading #p"/usr/lib/cmucl/cmclmcmninit.lisp".
;;;
;;; CM 2.4.0 (08/29/2003); CLM 2 (12/15/2003); CMN (10/15/2003)
;;;
;;; Running /usr/bin/ld...
;;; Done.
;; Loading #p"/usr/lib/cmucl/clm/ffi.x86f".
;;; Running /usr/bin/ld...
;;; Done.
;;; Running /usr/bin/ld...
;;; Done.
* (compile-file "stochastic.ins")

; Python version 1.1, VM version Intel x86 on 18 DEC 03 08:24:18 am.
; Compiling: /home/dlphilp/stochastic.ins 17 DEC 03 12:44:36 pm

; Writing "/home/dlphilp/clm_lnxcmu_STOCHASTIC.c"
; Compiling "/home/dlphilp/clm_lnxcmu_STOCHASTIC.c"
; Creating shared object file "/home/dlphilp/clm_lnxcmu_STOCHASTIC_0.so"
; Converted |clm_lnxcmu_stochastic3|.
; Compiling DEFINSTRUMENT STOCHASTIC:
; Converted |clm_lnxcmu_stochastic2|.
; Compiling DEFINSTRUMENT STOCHASTIC:
; Converted STOCHASTIC.
; Compiling DEFINSTRUMENT STOCHASTIC:
; Converted STOCHASTIC1.
; Compiling DEFINSTRUMENT STOCHASTIC:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Byte Compiling Top-Level Form:
; Compiling DEFINSTRUMENT STOCHASTIC:
; Compiling DEFINSTRUMENT STOCHASTIC:
; Byte Compiling Top-Level Form:
; Byte Compiling Creation Form for #<KERNEL::CLASS-CELL STOCHASTIC>:
; Compiling DEFINSTRUMENT STOCHASTIC:
; Compiling DEFINSTRUMENT STOCHASTIC:
; Compiling DEFINSTRUMENT STOCHASTIC:
; Byte Compiling Top-Level Form:

; stochastic.x86f written.
; Compilation finished in 0:00:11.
#p"/home/dlphilp/stochastic.x86f"
NIL
NIL
* (load "stochastic.cmucl")

; Loading #p"/home/dlphilp/stochastic.cmucl".
;;; Running /usr/bin/ld...
;;; Done.
;; Loading #p"/home/dlphilp/stochastic.x86f".
T
* (with-sound ()(stochastic 0 10 :xwig 1.0 :ywig 10.0))

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   -22938 is not of type (UNSIGNED-BYTE 32)

Restarts:
  0:         abort current note.
  1:         close files and return to top-level.
  2:         jump past remaining notes.
  3: [ABORT] Return to Top-Level.

Debug  (type H for help)

(KERNEL:DATA-VECTOR-SET #(0 0 0 0 0 ...) 187 -22938)
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer 
exists:
  target:code/array.lisp.
0] 3

*