mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55:06 +00:00
2025.02.15
This commit is contained in:
30
doc/CHANGES
30
doc/CHANGES
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user