mirror of
https://github.com/sshlien/abcmidi.git
synced 2026-02-04 04:38:10 +00:00
2025.02.16
This commit is contained in:
24
doc/CHANGES
24
doc/CHANGES
@@ -15644,3 +15644,27 @@ To
|
|||||||
if (acc == '_' && !microtone) pitchvalue = pitchvalue - (float) (mul*accidental_size);
|
if (acc == '_' && !microtone) pitchvalue = pitchvalue - (float) (mul*accidental_size);
|
||||||
|
|
||||||
|
|
||||||
|
February 16 2025
|
||||||
|
|
||||||
|
abc2midi produced the wrong results for temperamentequal 31
|
||||||
|
|
||||||
|
X:5
|
||||||
|
T: temperamentequal 31
|
||||||
|
M:none
|
||||||
|
L:1/2
|
||||||
|
K:C
|
||||||
|
%
|
||||||
|
%%text \%\%MIDI temperamentequal 31
|
||||||
|
%%MIDI temperamentequal 31
|
||||||
|
"^Octave divided in 31 equal parts"\
|
||||||
|
=c ^/c ^c ^3/c ^^c =d _/d _d _3/d __d =c2 |
|
||||||
|
%
|
||||||
|
|
||||||
|
Fix:
|
||||||
|
In pitchof_b (store.c) it is necessary to scale the microtoneshift by the
|
||||||
|
accidental_size prior to adding it to the pitchvalue.
|
||||||
|
|
||||||
|
pitchvalue += microtoneshift*accidental_size; /* [SS] 2025.02.16 */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
abcMIDI : abc <-> MIDI conversion utilities
|
abcMIDI : abc <-> MIDI conversion utilities
|
||||||
|
|
||||||
midi2abc version 3.63 February 13 2025
|
midi2abc version 3.63 February 13 2025
|
||||||
abc2midi version 5.01 February 15 2025
|
abc2midi version 5.02 February 16 2025
|
||||||
abc2abc version 2.22 April 30 2024
|
abc2abc version 2.22 April 30 2024
|
||||||
yaps version 1.94 April 30 2024
|
yaps version 1.94 April 30 2024
|
||||||
abcmatch version 1.83 February 19 2024
|
abcmatch version 1.83 February 19 2024
|
||||||
|
|||||||
4
store.c
4
store.c
@@ -186,7 +186,7 @@ int main()
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define VERSION "5.01 February 15 2025 abc2midi"
|
#define VERSION "5.02 February 16 2025 abc2midi"
|
||||||
|
|
||||||
/* enables reading V: indication in header */
|
/* enables reading V: indication in header */
|
||||||
#define XTEN1 1
|
#define XTEN1 1
|
||||||
@@ -3796,7 +3796,7 @@ int *pitchbend;
|
|||||||
/* microtone fraction (eg _12/53B,) */
|
/* microtone fraction (eg _12/53B,) */
|
||||||
microtoneshift = (float) setmicrotone.num /(float) setmicrotone.denom;
|
microtoneshift = (float) setmicrotone.num /(float) setmicrotone.denom;
|
||||||
/* printf("microtoneshift = %f for setmicrotone %d %d\n",microtoneshift, setmicrotone.num,setmicrotone.denom); */
|
/* printf("microtoneshift = %f for setmicrotone %d %d\n",microtoneshift, setmicrotone.num,setmicrotone.denom); */
|
||||||
pitchvalue += microtoneshift;
|
pitchvalue += microtoneshift*accidental_size; /* [SS] 2025.02.16 */
|
||||||
}
|
}
|
||||||
|
|
||||||
microtone = 0;
|
microtone = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user