[PlanetCCRMA] Re: common music on fc8?

joakim@verona.se joakim at verona.se
Fri Nov 30 06:56:38 2007


Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> writes:


> On Thu, 2007-11-29 at 20:50 +0100, joakim@verona.se wrote:
>> Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> writes:
>> 
>> Since midi didnt work very well, I tried looking at using OSC, but it
>> doesn seem to work either, at least in sbcl.
>
> Nope, it is all part of the cm package, I think. Come to think about it
> I don't really know, I would have to take a look to see if it needs some
> special compile time option to be active (I suppose not).

Looking at the cm installation instructions, one needs this file to
activate osc:

http://internap.dl.sourceforge.net/sourceforge/commonmusic/osc-1.0.1.tar.gz

The files in this tgz doesnt seem to be inside the ccrma cm rpms.

I tried installing this manually in the same place as the other cm
packages. I then tried (use-system :osc)

First I get a permission error about fasl files. I then chmod the dir,
an I proceed beyond that. Then i get:

Lock on package SB-ALIEN violated when defining SB-ALIEN::UDP-SOCKET
as a class

which I dont really understand.


>
> 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