[CM] Re: I'd like to report an error on portmidi.tar.gr

Rick Taube taube@uiuc.edu
Fri, 13 Jan 2006 14:14:57 -0600


>  I've followed the
> instructions but there was an error message "Can't open 
> "/usr/lib/libporttime.so " " Undefined
> Symbol ....Thread....."
> so I put this line ---  (cffi:load-foreign-library 
> "/usr/lib/libpthread.so")  ---  to portmidi.lisp after the
> comments
> ;;; linux: guess i need to load porttime.so first (?) osx doesnt seem
> ;;; to need this lib at all...
> and works fine.

i dont understand - do you have libporttime.so installed in 
/usr/local/lib or not?
im not sure how/why loading libpthread fixes anything.


> I'm new on this area with cm,clm,cmn,portmidi so i'd like to ask you 
> if it is better to use portmidi or
> midishare for real-time midi i/o and will i need rts for real-time 
> interaction?

"better" is in the eyes of the beholder. portmidi is bascially a 
lightweight connection to the host midi system. midishare is a larger, 
more "monolithic" system for doing midi. midishare api is probaly 
better for sending lots of data since you use typeNote and avoid having 
to schedule/send noteOffs.


rts lets you shedule musical processes to run in real time. if you dont 
need processes you can just send data over using (pm:output ) for 
portmidi and (ms:output ) for midishare.

i hope this answers your questions.
best,
rick