Bug#1004987: abcmidi: abc2midi (4.66 January 27 2022): "no default gchord string for this meter"
Package: abcmidi
Version: 20220128-1
Severity: important
Dear Maintainer,
This abc file results in bad midi, if converted by abcmidi as delvered by Debian:
---------------------------
%abc-2.2
X:1
T:Test
M:C|
L:1/4
Q:1/4=135
%________________________________________________
% %MIDI gchordoff
V:S clef=treble octave=0
% %MIDI gchordoff
V:C clef=treble octave=0
% %MIDI gchordoff
K:C
%________________________________________________
%%score (C S)
%%MIDI gchordoff
%
[V:S] z3/ C/ C<D | E2 cc | cBAG | EEE>D | E z/ G/ GA | G D3 | FFF G/ E/ |
[V:C] "C" x4 | "C" x4 | "am" x4 | "em" x4 | x4 | "G" x4 | "G7" x3 x/ "C" x/ |
--------------------------------------
The same abc2midi version downloaded from here gives the expected midi result:
http://abcplus.sourceforge.net/#abcmidi
Using '-g' instead of '-O2' in the Makefile seems to make the difference:
> diff Makefile Makefile.debian
41c41
< CFLAGS = -DANSILIBS -g
---
> CFLAGS = -DANSILIBS -O2
Original source code is here: https://github.com/sshlien/abcmidi
Issue has been discussed in https://groups.io/g/abcusers/,
subject 'abc2midi (4.66 January 27 2022): "no default gchord string for this meter"'
Earlier versions in Debian (from 2019) also seem to produce correct output.
-- System Information:
Debian Release: bookworm/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages abcmidi depends on:
ii libc6 2.33-5
abcmidi recommends no packages.
Versions of packages abcmidi suggests:
ii abcm2ps 8.14.12-7
ii evince [postscript-viewer] 41.3-1
ii ghostscript [postscript-viewer] 9.55.0~dfsg-3
ii gv [postscript-viewer] 1:3.7.4-2+b1
ii okular [postscript-viewer] 4:21.08.3-1
ii timidity 2.14.0-8+b1
-- no debconf information
Reply to: