Nicolas Sceaux <[email protected]> writes:
> Le 19 juin 2010 à 16:15, David Kastrup a écrit :
>
>> Nicolas Sceaux <[email protected]> writes:
>>
>>> Le 19 juin 2010 à 14:23, David Kastrup a écrit :
>>>
>>>> It would appear that you work on MacOSX or so. Can you check whether
>>>> some variation of the Midi test code using make-serial-process I posted
>>>> recently could be made to work on your setup? If it did, this would be
>>>> much preferable to having to use external applications like rumor.
>>>
>>> My machine does not have a serial port,
>>
>> Neither has mine. I just use make-serial-process's ability to actually
>> work with any character device for attaching it to a midi port. The
>> actual Midi connection happens to be a USB Midi converter.
>
> Ah OK, good to know.
> I'm trying to use a virtual midi keyboard and the make-serial-process
> function.
Well, here is what works for me (":speed nil" is necessary to trick
make-serial-process into not trying to set a speed on the "serial" port)
for letting Emacs display data arriving on the Midi interface. On
GNU/Linux. But it is not unlikely that a character device like that
would be available under OS/X as well.
(make-serial-process :port "/dev/midi1" :speed nil
:buffer "*lily-midi*"
:coding 'binary
:noquery t
:filter (lambda (process string)
(message (mapconcat (lambda(x) (format "%02x" x)) string " "))))
--
David Kastrup
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel