[alsa-devel] [PATCH 1/2] amidi: ignore not only Active Sensing but all System Real-Time messages

Martin Tarenskeen m.tarenskeen at zonnet.nl
Mon Apr 11 13:17:54 CEST 2016



On Mon, 11 Apr 2016, Ricard Wanderlof wrote:

>
> On Sun, 10 Apr 2016, Clemens Ladisch wrote:
>
>> By default, amidi ignores Active Sensing messages because they are sent
>> by many devices in the background and would only interfere with the
>> actual messages that amidi is supposed to capture.  However, there are
>> also devices that send Clock messages with the same problem, so it is
>> a better idea to filter out all System Real-Time messages.
>
> I would argue that it would be better to have both options, somehow. I.e.
> active sensing is mostly a nuisance, but I can imagine occasions
> (analyzing the output from a sequencer perhaps) where one would want to
> keep the rest of the real time messages.

Hi,

I can see your point. I have been thinking about that but my coding skills 
are somewhat limited. I can image keeping the -a (--allow-realtime) option 
the way it is and adding a new option -c (--allow-clock) to allow 
receiving of 0xf8 midiclock messages. At the same time 0xf8 should be 
filtered by default, just like 0xfe. The other realtime messages are much 
less a problem because they are not sent continuously (e.g. start and 
stop)

What do you think Clemens Ladich, is this doable?

-- 

Martin Tarenskeen


More information about the Alsa-devel mailing list