2025.02.15

This commit is contained in:
sshlien
2025-02-15 20:12:53 -05:00
parent 5054b25701
commit 907c8fa19f
6 changed files with 59 additions and 19 deletions

View File

@@ -15614,3 +15614,33 @@ for
(clef->octave_offset and v->octaveshift are both -1. We want to apply
only one of those.)
February 15 2025
abc2midi ignores accidentals when converting to a temperamentequal scale.
In the following example:
X:1
T: temperamentequal 19
M: 4/4
L: 1/4
%%MIDI temperamentequal 19
K: none
C ^C _D D | ^D _E E F | ^F _G G ^G| _A A ^A _B| B c z z|
the accidentals were ignored when creating the midi file.
Fix:
Changed
/* respect accidentals when they do not occur in a microtone */
if (acc == '^' && !microtone) pitchvalue = pitchvalue + (float) mul; /* [SS] 2025-01-12 */
if (acc == '_' && !microtone) pitchvalue = pitchvalue - (float) mul;
To
/* respect accidentals when they do not occur in a microtone */
if (acc == '^' && !microtone) pitchvalue = pitchvalue + (float) (mul*accidental_size); /* [SS] 2025-02-15 */
if (acc == '_' && !microtone) pitchvalue = pitchvalue - (float) (mul*accidental_size);

View File

@@ -1,7 +1,7 @@
abcMIDI : abc <-> MIDI conversion utilities
midi2abc version 3.62 February 06 2025
abc2midi version 5.00 February 12 2025
midi2abc version 3.63 February 13 2025
abc2midi version 5.01 February 15 2025
abc2abc version 2.22 April 30 2024
yaps version 1.94 April 30 2024
abcmatch version 1.83 February 19 2024