[CM] CM 3 / Emacs

Heinrich Taube taube at uiuc.edu
Thu Mar 19 10:32:21 PDT 2009

hi yes  i forgot to add this to the docs, it'll be there in the next  
release. in the meantime this is what you do:

1. use the ports funciont to find out what is avaiable:


   (("midi.port" (0 -> "IAC Driver Bus 1" #f) (0 <- "IAC Driver Bus 1"  

note that the -> means output and <- means input. t

2. use the mp:open function to open the port you want. for example  
this will output the midi output device 0 and

(mp:open 0)

this will open the output device 0 and the input device 0:

(mp:open 0 0)

NB:  the name (ports) is not a good name and will probably change when  
the upcoming release happens, maybe it'll become (describe-audio) or  
something. ill be certain to point that out in the changelog.

On Mar 19, 2009, at 11:30 AM, Neil Baylis wrote:

> Hi Rick,
> I'm attempting to use CM with Emacs, instead of via Grace. It seems  
> there might be some items that only work via Grace. For example, in  
> the REPL, how would I select the MIDI Out port? I've been searching  
> the documentation for this, but haven't found it ... it just says to  
> use the menu item. Do all the menu items have scheme equivalents?
> (I'm using the Leopard/Intel version of CM)
> Thanks,
> Neil Baylis
> -- 
> http://www.pixpopuli.com

More information about the Cmdist mailing list