[CM] CMN in CM 2.3.4?
Thu, 14 Nov 2002 22:47:50 -0500
It seems as if David Phillips is not the only one experimenting with CMN
in CM lately.
I am trying to make some CMN output in CM 2.3.4 and get this:
Can't determine container for #e(22-ins :pan 0.8 :fn 76 :hz 68.29566
:amp 7000 :dur 0.4 :time 0.016110051 :ins 22).
That is with the following write-event method:
(defmethod write-event ((object 22-ins) (io essential-cmn-file)
(let ((staff (funcall (slot-value io 'staffer) io object)))
(error "~S didn't return a staff when called with ~S and ~S."
(slot-value io 'staffer) io object))
(cmn::add-note-to-staff (io-open io) staff scoretime
(sv object dur)
(sv object hz)))))
Is there some minimum amount of work that needs to be done to get this
to work, apart from simply specifying an .eps file as the output
destination? Do staff definitions need to somehow be made, for example?
Is there some example code available?