mirror of
https://github.com/sshlien/abcmidi.git
synced 2026-02-04 12:48:11 +00:00
2020.07.28
This commit is contained in:
@@ -13779,6 +13779,11 @@ July 24 2020
|
|||||||
store.c Hudson Lacerda corrected the algorithm in compute_fifth_size()
|
store.c Hudson Lacerda corrected the algorithm in compute_fifth_size()
|
||||||
and fixed a bug that I had introduced.
|
and fixed a bug that I had introduced.
|
||||||
|
|
||||||
|
July 28 2020
|
||||||
|
|
||||||
|
store.c Minor correction in store.c when the microtone denominator is
|
||||||
|
equal to 100 (in pitchof_b()).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1092
doc/readme.txt
1092
doc/readme.txt
File diff suppressed because it is too large
Load Diff
6
store.c
6
store.c
@@ -185,7 +185,7 @@ int main()
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define VERSION "4.39 July 19 2020 abc2midi"
|
#define VERSION "4.40 July 28 2020 abc2midi"
|
||||||
|
|
||||||
/* enables reading V: indication in header */
|
/* enables reading V: indication in header */
|
||||||
#define XTEN1 1
|
#define XTEN1 1
|
||||||
@@ -3762,7 +3762,7 @@ int *pitchbend;
|
|||||||
/* [HL] 2015-05-15 */
|
/* [HL] 2015-05-15 */
|
||||||
if (microtone) {
|
if (microtone) {
|
||||||
if (setmicrotone.denom == 100) /* microtone in cents */
|
if (setmicrotone.denom == 100) /* microtone in cents */
|
||||||
pitchvalue+= setmicrotone.num / setmicrotone.denom;
|
pitchvalue+= setmicrotone.num / 100.0; /* [HL] 2020-07-28 */
|
||||||
else if (setmicrotone.denom == 0) { /* [HL] 2020-06-20 / 2020-06-27 */
|
else if (setmicrotone.denom == 0) { /* [HL] 2020-06-20 / 2020-06-27 */
|
||||||
/* microstep_size is accidental_size for temperamentlinear,
|
/* microstep_size is accidental_size for temperamentlinear,
|
||||||
* or
|
* or
|
||||||
@@ -3772,7 +3772,7 @@ int *pitchbend;
|
|||||||
}
|
}
|
||||||
|
|
||||||
else /* microtone relative to sharp step in the current temperament */
|
else /* microtone relative to sharp step in the current temperament */
|
||||||
pitchvalue += ((1.0 * setmicrotone.num) / setmicrotone.denom) * accidental_size;
|
pitchvalue += (((float)setmicrotone.num) / ((float)setmicrotone.denom)) * accidental_size; /* [HL] 2020-07-28 */
|
||||||
|
|
||||||
/* needed? */
|
/* needed? */
|
||||||
microtone = 0;
|
microtone = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user