[CM] FYI: MidiShare MacOSX 1.87 available

Rick Taube taube@uiuc.edu
Mon, 23 Feb 2004 12:07:28 -0600


Thought the list might be interested in this Midshare announcement. Its 
followed by some CM specfic info.

Begin forwarded message:

> From: Stéphane Letz <letz@grame.fr>
> Date: February 23, 2004 9:33:33 AM CST
> To: MidiShare List <midishare-dev@rd.grame.fr>
> Subject: [midishare-dev] MidiShare MacOSX 1.87 available
>
> The MidiShare MacOSX 1.87 installer is available at :
>
> http://www.grame.fr/MidiShare/Install/Download.html
>
> or
>
> ftp://ftp.grame.fr/pub/MidiShare/MacOSX/Install/MidiShare-1.87.dmg
>
> The 1.87 version:
>
> - runs on Panther
>
> - use a timer mode to trigger the MidiShare interrupt (the old audio 
> system can still be used, by configurating the midishare.ini  
> correctly)
>
> - solve the QuickTime 6.4 problem : the msQTDriver.so driver was not 
> correctly working after QuickTime 6.4 update. By using MidiShare in 
> timer mode, the problem does not occur anymore.
>
> - install all MidiShare configuration files (.ini files) in a 
> MidiShare folder that will be created in the  user account 
> /Library/Preference folder. This folder willl be created when the 
> *first* MidiShare client is launched after installation.
>
> - setup a midishare.ini file that will activate the msQTDriver.so  to 
> access internal sounds and the msMidiDriver.do to drive external MIDI 
> devices.
>
> A unique installer now contains  the "User kit" and the "Developer 
> kit" altogether. It is possible to install the User kit or the 
> Developer kit alone. For MidiShare re-distribution purpose, the "User 
> kit"  can be distributed alone.
>
>
> Stephane Letz
>

Once you have installed Midishre you should verify that you can 
actually send MIDI to your device ports using their msController 
application before you use it with CM. Then to send midi to midishare 
from CM on OSX/openMCL you need to download the midishare ffi headers 
from

   ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/openmcl-midishare.tar.gz

and untar it in your ccl/darwin-headers folder  (If you use  CM.app 
these are already installed for you>) :

   cd ccl/darwin-headers
   tar -zxf openmcl-midishare.tar.gz

then start cm and do

   (load "/path/to/cm-2.4.2/src/midishare/midishare-interface.lisp")

then:

   (midi-open )
   (define (testms chan)
     (process for k from 60 to 72
              output (new midi :time (now)
                          :keynum k
                          :duration .5
                          :amplitude .9
                          :channel chan)
              wait .25))

  (events (testms 0) "midi.port")


see the last test in cm/etc/test.cm for another example.