From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: [PATCH 1/2] amidi: ignore not only Active Sensing but all System Real-Time messages Date: Mon, 11 Apr 2016 15:29:21 +0200 Message-ID: <570BA6B1.8060101@ladisch.de> References: <570AA980.3070802@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from dehamd003.servertools24.de (dehamd003.servertools24.de [31.47.254.18]) by alsa0.perex.cz (Postfix) with ESMTP id 9479E26527F for ; Mon, 11 Apr 2016 15:29:24 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Ricard Wanderlof Cc: Takashi Iwai , alsa-devel@alsa-project.org, Martin Tarenskeen List-Id: alsa-devel@alsa-project.org 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. I can imagine this too, and even more complex filters. But the amidi tool is designed to be simple, and works on the lowest level, with raw MIDI bytes. This makes it appropriate to handle SysEx stuff and to debug low-level hardware problems, but when you care about the semantics of the messages, you should use a higher-level tool, such as aseqdump. Filtering out clock messages serves an actual need. But I am not willing to add complexity for a problem that is, at the moment, nothing but a figment of our imaginations. Regards, Clemens