alsa-utils/seq
Takashi Iwai 7e9bebad0b aseqdump: Add options to switch view mode
This patch adds to switch the operation mode of aseqdump to specify
how the values are shown.  Namely, it allows to show the MIDI 2.0
values in two more different ways: compatible "normalized" view and
percentage view, in addition to the default "raw" view.

The "raw" view mode just shows the value found in the event almost as
is.  The MIDI 2.0 values are shown in 16 or 32bit hex numbers.
The channel and UMP group numbers are 0-based, taking from 0 to 15.

OTOH, in the normalized view, the 16bit or 32bit velocity and data
values of MIDI 2.0 are normalized to the value fit in MIDI 1.0,
i.e. from 0 to 127, but with decimal points.  Similarly, the pitch
wheel values are normalized between -8192 to 8191.
Also, the channel numbers and UMP group numbers are 1-based, taking
from 1 to 16.

In the percentage view, the velocity and data values are normalized
and shown in percentage, from 0% to 100%.  The pitch wheel is
normalized from -100% to 100%.  The channel and UMP groups are 1-based
as well as in normalized view mode.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-08-28 16:44:45 +02:00
..
aconnect aconnect: Add UMP support 2023-06-06 15:44:57 +02:00
aplaymidi aplaymidi: Add UMP support 2023-06-06 15:44:58 +02:00
aseqdump aseqdump: Add options to switch view mode 2023-08-28 16:44:45 +02:00
aseqnet aseqnet: add ipv6 support 2021-08-09 20:24:44 +02:00
Makefile.am move event dumping from arecordmidi to aseqdump 2005-02-21 08:30:12 +00:00