[PlanetCCRMA] Re: common music on fc8?

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Sat Dec 1 18:00:02 2007


On Sat, 2007-12-01 at 23:02 +0100, joakim@verona.se wrote:
> Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> writes:
> 
> >
> > Looks like an old bug:
> >
> > http://ccrma-mail.stanford.edu/pipermail/cmdist/2007-May/004084.html
> >
> > I did a quick build including osc and seems to work (includes a
> > workaround for the package locking bug)
> >
> > http://www.sbcl.org/manual/Package-Lock-Dictionary.html
> >
> > I used "without-package-locks" when compiling and loading osc. 
> >
> > Tested only to the extent that it loads in a chroot. 
> > Hope it works for you. 
> 
> Thanks Fernando!
> 
> Now I get a small step further:
> 
> (use-system :osc)
> (defvar *osc-stream* (new osc-stream :remote-host "127.0.0.1"
> :remote-port 5400))
> (open-io *osc-stream* t)
> 
> open-io complains that make-udp-socket is undefined.
> 
> It is declared in sockets.lisp in the osc dir, but its not immediately
> obvious how open-io is supposed to know that.

I'll see if I can test drive this tomorrow (and see if I can fix it). 

-- Fernando


> >> > Hopefully Rick will get to the midi part this weekend. 
> >> >
> >> > -- Fernando
> >> >
> >> >> > 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
> >> >> 
> >> 
> >> -- 
> >> Joakim Verona
> >> 
> >> _______________________________________________
> >> PlanetCCRMA mailing list
> >> PlanetCCRMA@ccrma.stanford.edu
> >> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>