|
@@ -210,7 +210,11 @@ export const renderMeasures = (abc: IAbc, option?: IRenderMeasuresOption) => {
|
|
|
text += "%%barnumbers 1" + "\n";
|
|
|
}
|
|
|
|
|
|
- abc.celf && (text += abc.celf + "\n");
|
|
|
+ if (abc.isrhythm === 'rhythm') {
|
|
|
+ text += "K:perc" + "\n";
|
|
|
+ } else {
|
|
|
+ abc.celf && (text += abc.celf + "\n");
|
|
|
+ }
|
|
|
abc.meter && (text += abc.meter + "\n");
|
|
|
abc.minUnit && (text += abc.minUnit + "\n");
|
|
|
abc.speed && (text += abc.speed + "\n");
|
|
@@ -250,7 +254,9 @@ export const renderMeasures = (abc: IAbc, option?: IRenderMeasuresOption) => {
|
|
|
}
|
|
|
text += playStr ?? ""; // 演奏技法
|
|
|
text += note.dynamics ?? ""; // 力度符号
|
|
|
- text += note.accidental ?? ""; // 临时升降记号
|
|
|
+ if (abc.isrhythm !== 'rhythm') {
|
|
|
+ text += note.accidental ?? ""; // 临时升降记号
|
|
|
+ }
|
|
|
if (!note.content.includes('z') && abc.isrhythm === 'rhythm'){
|
|
|
text += "B";
|
|
|
} else {
|