mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-08 19:01:02 +00:00
Compare commits
2 Commits
2022.04.06
...
2022.04.28
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df48d39dc7 | ||
|
|
181f2022f3 |
32
doc/CHANGES
32
doc/CHANGES
@@ -14701,6 +14701,36 @@ The problem was identified to me by Jakob Englhauser. Jakob verified
|
|||||||
that this fix works.
|
that this fix works.
|
||||||
|
|
||||||
|
|
||||||
April 06 midi2abc: removal of spaces in text strings for control
|
April 06 2022 midi2abc: removal of spaces in text strings for control
|
||||||
messages.
|
messages.
|
||||||
|
|
||||||
|
|
||||||
|
April 27 2022 abc2midi: Recanting change from February 18 2022.
|
||||||
|
The swap was incorrect.
|
||||||
|
Fix: swapped p2 and p1 in
|
||||||
|
*transpose = p2 - p1;
|
||||||
|
in parsesound() in parseabc.c
|
||||||
|
abc2midi now transposes this file correctly.
|
||||||
|
|
||||||
|
|
||||||
|
X:1
|
||||||
|
T: transposition
|
||||||
|
M: 4/4
|
||||||
|
L: 1/4
|
||||||
|
K:Cm
|
||||||
|
V:1 shift=cF
|
||||||
|
cdef|gabc'|
|
||||||
|
V:2 sound=cF
|
||||||
|
cdef|gabc'|
|
||||||
|
V:3 score=cF
|
||||||
|
cdef|gabc'|
|
||||||
|
V:4 instrument=cF
|
||||||
|
cdef|gabc'|
|
||||||
|
|
||||||
|
Note that the command instrument=cF is not part of the abc standard
|
||||||
|
and abc2svg does not recognize it.
|
||||||
|
|
||||||
|
|
||||||
|
April 28 2022
|
||||||
|
|
||||||
|
midi2abc: minor change for -stats function
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
abcMIDI : abc <-> MIDI conversion utilities
|
abcMIDI : abc <-> MIDI conversion utilities
|
||||||
|
|
||||||
midi2abc version 3.53 April 06 2022
|
midi2abc version 3.54 April 28 2022
|
||||||
abc2midi version 4.70 March 20 2022
|
abc2midi version 4.72 April 27 2022
|
||||||
abc2abc version 2.16 February 22 2022
|
abc2abc version 2.16 February 22 2022
|
||||||
yaps version 1.88 February 22 2022
|
yaps version 1.88 February 22 2022
|
||||||
abcmatch version 1.80 November 25 2021
|
abcmatch version 1.80 November 25 2021
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
* based on public domain 'midifilelib' package.
|
* based on public domain 'midifilelib' package.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define VERSION "3.53 April 06 2022 midi2abc"
|
#define VERSION "3.54 April 28 2022 midi2abc"
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
/* Microsoft Visual C++ Version 6.0 or higher */
|
/* Microsoft Visual C++ Version 6.0 or higher */
|
||||||
@@ -732,6 +732,7 @@ void stats_pressure(chan,press)
|
|||||||
int chan, press;
|
int chan, press;
|
||||||
{
|
{
|
||||||
trkdata.pressure[0]++;
|
trkdata.pressure[0]++;
|
||||||
|
trkdata.pressure[chan+1]++; /* [SS] 2022.04.28 */
|
||||||
}
|
}
|
||||||
|
|
||||||
void txt_parameter(chan,control,value)
|
void txt_parameter(chan,control,value)
|
||||||
@@ -1341,7 +1342,7 @@ void stats_trackend()
|
|||||||
{
|
{
|
||||||
trkdata.npulses[tracknum] = Mf_currtime;
|
trkdata.npulses[tracknum] = Mf_currtime;
|
||||||
if (trkdata.npulses[0] < Mf_currtime) trkdata.npulses[0] = Mf_currtime;
|
if (trkdata.npulses[0] < Mf_currtime) trkdata.npulses[0] = Mf_currtime;
|
||||||
output_track_summary();
|
output_track_summary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1426,7 +1427,7 @@ int chan, pitch, press;
|
|||||||
char *key;
|
char *key;
|
||||||
if (prtime(timeunits)) return;
|
if (prtime(timeunits)) return;
|
||||||
key = pitch2key(pitch);
|
key = pitch2key(pitch);
|
||||||
printf("Channel Pressure %2d %3s %3d\n",chan+1,key,press);
|
printf("Pressure %2d %3s %3d\n",chan+1,key,press); /* [SS] 2022.04.28 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1056,7 +1056,7 @@ parsesound (s, word, gottranspose, transpose)
|
|||||||
*transpose = 0;
|
*transpose = 0;
|
||||||
} else {
|
} else {
|
||||||
/* printf("midi note = %d\n",p2); */
|
/* printf("midi note = %d\n",p2); */
|
||||||
*transpose = p1 - p2; /* [SS] 2022.02.18 */
|
*transpose = p2 - p1; /* [SS] 2022.02.18 2022.04.27 */
|
||||||
/* printf("transpose = %d\n",*transpose); */
|
/* printf("transpose = %d\n",*transpose); */
|
||||||
*gottranspose = 1;
|
*gottranspose = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user