mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-08 10:41:02 +00:00
Compare commits
1 Commits
2022.02.07
...
2022.02.13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57a5ae2ba7 |
@@ -14590,3 +14590,12 @@ G2 B2 |\
|
||||
%%MIDI pitchbendrange 7
|
||||
!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.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
abcMIDI : abc <-> MIDI conversion utilities
|
||||
|
||||
midi2abc version 3.48 June 27 2021
|
||||
abc2midi version 4.66 January 27 2022
|
||||
midi2abc version 3.50 February 12 2022
|
||||
abc2midi version 4.67 February 13 2022
|
||||
abc2abc version 2.15 May 25 2021
|
||||
yaps version 1.87 May 25 2021
|
||||
abcmatch version 1.80 November 25 2021
|
||||
|
||||
@@ -2074,14 +2074,17 @@ int noteson;
|
||||
skipspace(&p);
|
||||
val = readsnump(&p);
|
||||
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 */
|
||||
bendnvals = 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;
|
||||
bendvelocity = bendvelocity + bendacceleration;
|
||||
}
|
||||
bendnvals = 8;
|
||||
}
|
||||
/*bendtype = 1; [SS] 2015-08-11 */
|
||||
if (bendnvals == 1) bendtype = 3; /* [SS] 2014-09-22 */
|
||||
|
||||
Reference in New Issue
Block a user