[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to develop Emacs mode?
From: |
David Kastrup |
Subject: |
Re: How to develop Emacs mode? |
Date: |
Sat, 19 Jun 2010 18:33:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Nicolas Sceaux <address@hidden> writes:
> Le 19 juin 2010 à 16:15, David Kastrup a écrit :
>
>> Nicolas Sceaux <address@hidden> 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
- How to develop Emacs mode?, David Kastrup, 2010/06/17
- Re: How to develop Emacs mode?, Carl Sorensen, 2010/06/17
- Re: How to develop Emacs mode?, David Kastrup, 2010/06/17
- Re: How to develop Emacs mode?, Nicolas Sceaux, 2010/06/19
- Re: How to develop Emacs mode?, David Kastrup, 2010/06/19
- Re: How to develop Emacs mode?, Nicolas Sceaux, 2010/06/19
- Re: How to develop Emacs mode?, David Kastrup, 2010/06/19
- Re: How to develop Emacs mode?, Nicolas Sceaux, 2010/06/19
- Re: How to develop Emacs mode?,
David Kastrup <=
- Re: How to develop Emacs mode?, Laura Conrad, 2010/06/19
Re: How to develop Emacs mode?, Graham Percival, 2010/06/17