mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55:06 +00:00
2022.07.22
This commit is contained in:
11
doc/CHANGES
11
doc/CHANGES
@@ -14835,5 +14835,16 @@ In genmidi.c introduced function check_wordextend()
|
||||
In drawtune.c added the case WORDEXTEND in functions sizevoice()
|
||||
and printvoiceline().
|
||||
|
||||
July 31 2022
|
||||
|
||||
The abcmidi package creates a new voice when it sees
|
||||
V: T clef=tab
|
||||
where tab indicates tablature. As a result abc2midi
|
||||
creates a separate track for this voice which can cause some
|
||||
problems.
|
||||
|
||||
Fix: parseabc.c and music_utils.c was modified to ignore
|
||||
the clef=tab indication.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
abcMIDI : abc <-> MIDI conversion utilities
|
||||
|
||||
midi2abc version 3.54 April 28 2022
|
||||
abc2midi version 4.74 June 14 2022
|
||||
abc2midi version 4.75 July 31 2022
|
||||
abc2abc version 2.18 June 14 2022
|
||||
yaps version 1.90 June 14 2022
|
||||
abcmatch version 1.82 June 14 2022
|
||||
|
||||
@@ -39,6 +39,7 @@ static const clef_item_t clef_conversion_table[] = {
|
||||
{"mezzosoprano", basic_clef_alto, 2, 0},
|
||||
{"tenor", basic_clef_alto, 4, 0},
|
||||
{"baritone", basic_clef_bass, 0, 0},
|
||||
{"tab", tablature_not_implemented, 0, 0}, /* [SS] 2022.07.31 */
|
||||
};
|
||||
#define NUM_CLEFS (sizeof(clef_conversion_table)/sizeof(clef_item_t))
|
||||
|
||||
|
||||
@@ -49,7 +49,8 @@ typedef enum basic_cleftype {
|
||||
basic_clef_undefined, /* for when we didn't find a clef */
|
||||
basic_clef_auto, /* drawing program has free choice of clef */
|
||||
basic_clef_perc, /* percussion */
|
||||
basic_clef_none /* from abc standard 2.2 what does this mean ? */
|
||||
basic_clef_none, /* from abc standard 2.2 what does this mean ? */
|
||||
tablature_not_implemented /* [SS] 2022.07.31 */
|
||||
} basic_cleftype_t;
|
||||
|
||||
typedef struct new_cleftype {
|
||||
|
||||
@@ -1643,6 +1643,9 @@ parsevoice (s)
|
||||
parsed =
|
||||
parseclef (&s, word, &vparams.gotclef, vparams.clefname,
|
||||
&vparams.new_clef, &cgotoctave, &coctave);
|
||||
/* printf("vparams.clefname =%s\n",vparams.clefname); */
|
||||
/* do not create a tablature voice [SS] 2022.07.31 */
|
||||
if (strcmp(vparams.clefname,"tab") == 0) return;
|
||||
if (vparams.gotclef) {
|
||||
/* make clef an attribute of current voice */
|
||||
copy_clef (&voicecode[num - 1].clef, &vparams.new_clef);
|
||||
|
||||
Reference in New Issue
Block a user