[CM] portmidi
Rick Taube
taube@uiuc.edu
Mon, 2 Jan 2006 12:27:13 -0600
Do you actually have devices available?
try doing:
(pm:GetDeviceInfo)
and see if portmidi thinks you have active devices. For example on
my machine I get:
? (pprint (pm:getDeviceInfo))
((:ID 0 :NAME "IAC Driver: Bus 1" :TYPE :INPUT :OPEN NIL)
(:ID 1 :NAME "828mk2: Midi Port" :TYPE :INPUT :OPEN NIL)
(:ID 2 :NAME "IAC Driver: Bus 1" :TYPE :OUTPUT :OPEN NIL)
(:ID 3 :NAME "828mk2: Midi Port" :TYPE :OUTPUT :OPEN NIL))
If getdeviceinfo returns nothing, then use /Applications/Utilities/
Audio MIDI Setup.app and add them (quit lisp first). Sorry im not
sure what to do on linux...
If getdeviceinfo returns a list of devices then its a bug in CM,
please send me your list of devices.
On Jan 2, 2006, at 11:56 AM, Johannes Quint wrote:
> i have problems with portmidi.
> after installing and trying out
>
> (portmidi-open :output 3 :input #f)
>
> i get:
>
> ? > Error in process listener(1): open-io: no portmidi devices
> available.
> > While executing: #<STANDARD-METHOD OPEN-IO (PORTMIDI-STREAM T)>
> > Type :POP to abort.
> Type :? for other options.
> 1 >
>
> (i have installed "libportmidi.dylib" as "libportmidi.dylib" as
> described...)
> thanks for help,
> johannes