[CM] CM + MidiShare + Linux

Rick Taube taube@uiuc.edu
Sat, 26 Mar 2005 13:59:19 -0600


I cant debug the problem until I am able to compile Midishare on my 
debian/demudi box.  make currently dies when it tries to compile the 
kernel., Ive sent a message to the midishare list but so far no answer.
-rick

On Mar 26, 2005, at 9:03 AM, dlphillips@woh.rr.com wrote:

> Greetings:
>
>   I'm having some luck with MidiShare with Common Music under Linux 
> and CMUCL 19. Here's what I can reliably make happen:
>
>     * (midi-open)
>     * (output (ms:new typeNote :port 1 :pitch (between 50 80) :dur 
> (pick 1000 2000 3000)))
>     * (midi-close)
>
>   The output note will sound on a MidiShare-connected instance of 
> fluidsynth. Apparently this will work only if fluidsynth is launched 
> *after* CM has been opened with a MidiShare port (i.e., as shown 
> above).
>
>   If I try (midi-open) again after (midi-close) then Lisp will lose 
> its mind and requires an explicit kill -9.
>
>   Often (quit) will also cause Lisp to lose its mind and I have to 
> explicitly kill Lisp too.
>
>   The cmio GUI also works if I enter the output statement above in the 
> Events entry box. However, this code will not work (no sound):
>
> (define (ms-test )
> (process repeat 100
>   output (ms:new typeNote :port 1
>                           :pitch (between 50 80)
>                           :dur (pick 1000 2000 3000))
>          wait .015))
>
>   Am I missing something ?
>
> Best,
>
> dp
>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist