[PlanetCCRMA] Re: common music on fc8?

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Fri Nov 23 10:48:01 2007


On Thu, 2007-11-22 at 20:45 -0800, Fernando Lopez-Lezcano wrote:
> On Thu, 2007-11-22 at 20:03 -0800, Fernando Lopez-Lezcano wrote:
> > On Thu, 2007-11-22 at 00:22 +0100, joakim@verona.se wrote:
> > > Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> writes:
> > > 
> > > > On Sun, 2007-11-18 at 19:15 +0100, joakim@verona.se wrote:
> > > >> Hello,
> > > >> 
> > > >> I've so far been running fc7 rpm:s on an fc8 install.
> > > >> However, it seems this is not possible with common music, due to a
> > > >> newer sbcl in fc8. Furthermore, the fc8 rebuild of ccrma hasnt
> > > >> progressed to cm yet.
> > > >> 
> > > >> Is this correct? Or can I make cm somehow work anyway?
> > > >
> > > > Not really. The version of sbcl on f8 is higher than in f7 and cm needs
> > > > to be rebuilt. I have pretty much everything compiled including cm, but
> > > > I have to do some testing which will happen tomorrow. Be patient for one
> > > > more day...
> > > 
> > > Thanks for the new fc8 packages!
> > > 
> > > I'm having trouble to get this simple example working though:
> > > 
> > > (pm:terminate)
> > > (pm:initialize)
> > > (pprint (pm:getdeviceinfo))
> > > 
> > > (defparameter *pm-vkeybd* (portmidi-open :input "Virtual Keyboard"
> > > :output "VirMIDI 1-0" :latency 0))
> > > 
> > > (defun midireceiver (mm ms)
> > >   (pprint mm))
> > > 
> > >   (set-receiver! #'midireceiver *pm-vkeybd*)
> > > 
> > > 
> > > I get:
> > > 
> > > set-receiver!: #<portmidi-stream "midi-port.pm"> does not support
> > > :receive-type :PERIODIC.
> > > 
> > > Google reports similar problems here:
> > > 
> > > http://www.nabble.com/Receiving-from-portmidi-t3666956.html
> > > 
> > > So I guess my basic question is if anybody got this working at all?
> > 
> > Strange, I could have sworn this was working a while ago. I'm getting
> > the same error on tests I'm doing in fc7. It does not look like
> > *receive-methods* is being initialized at all (in io.lisp or io.scm), if
> > that is not initialized all attempts to set a receiver will fail. 
> 
> rts is working for midi output, however input does not (in my tests). I
> would not be surprised if we learn it has never worked :-) Probably a
> question for the cmdist list (current svn does not seem to be different
> with regards to io.lisp). 

I reignited an old thread in the cmdist mailing list that was about this
same issue. Rick will take a look when he gets a chance (I tested
yesterday with current cm svn and the latest portmidi and rts
tarballs). 

-- Fernando