Compare commits

..

1 Commits

Author SHA1 Message Date
Seymour Shlien
57a5ae2ba7 2022.02.13 2022-02-13 14:33:57 -05:00
5 changed files with 19 additions and 7 deletions

View File

@@ -1,2 +1,2 @@
2022 January 27 2022 2022 February 13 2022

View File

@@ -14590,3 +14590,12 @@ G2 B2 |\
%%MIDI pitchbendrange 7 %%MIDI pitchbendrange 7
!bend! G4 | !bend! G4 |
February 12 2022
Midi2abc -mftext: adjusted the pitchbend sensitivity bend2cents when
a RPN control command is received (in function mftxt_parameter).
February 13 2022
abc2midi: added an optional third parameter to %%MIDI bendvelocity
which specifies the number of MIDI pitchbend messages to create.
If this parameter is missing, the default is 8 as before.

View File

@@ -1,7 +1,7 @@
abcMIDI : abc <-> MIDI conversion utilities abcMIDI : abc <-> MIDI conversion utilities
midi2abc version 3.48 June 27 2021 midi2abc version 3.50 February 12 2022
abc2midi version 4.66 January 27 2022 abc2midi version 4.67 February 13 2022
abc2abc version 2.15 May 25 2021 abc2abc version 2.15 May 25 2021
yaps version 1.87 May 25 2021 yaps version 1.87 May 25 2021
abcmatch version 1.80 November 25 2021 abcmatch version 1.80 November 25 2021

View File

@@ -2074,14 +2074,17 @@ int noteson;
skipspace(&p); skipspace(&p);
val = readsnump(&p); val = readsnump(&p);
bendacceleration = val; bendacceleration = val;
skipspace(&p); /* [SS] 2022-02-13 */
val = readsnump(&p);
if (val > 0 && val < 100) bendnvals = val;
else bendnvals = 8;
/* [SS] 2015-08-11 */ /* [SS] 2015-08-11 */
bendnvals = 0;
if (bendvelocity != 0 || bendacceleration != 0) { if (bendvelocity != 0 || bendacceleration != 0) {
for (i = 0; i<8; i++) { for (i = 0; i<bendnvals; i++) { /* [SS] 2022-02-13 */
benddata[i] = bendvelocity; benddata[i] = bendvelocity;
bendvelocity = bendvelocity + bendacceleration; bendvelocity = bendvelocity + bendacceleration;
} }
bendnvals = 8;
} }
/*bendtype = 1; [SS] 2015-08-11 */ /*bendtype = 1; [SS] 2015-08-11 */
if (bendnvals == 1) bendtype = 3; /* [SS] 2014-09-22 */ if (bendnvals == 1) bendtype = 3; /* [SS] 2014-09-22 */

View File

@@ -186,7 +186,7 @@ int main()
*/ */
#define VERSION "4.66 January 27 2022 abc2midi" #define VERSION "4.67 February 13 2022 abc2midi"
/* enables reading V: indication in header */ /* enables reading V: indication in header */
#define XTEN1 1 #define XTEN1 1