|
@@ -1185,7 +1185,7 @@ export const verifyCanRepeat = (startNum: number, endNum: number) => {
|
|
* 打谱软件可能会自动处理移调,这类型的xml就不用通过程序移调了
|
|
* 打谱软件可能会自动处理移调,这类型的xml就不用通过程序移调了
|
|
* 没有通过软件处理的移调xml,才需要通过程序处理
|
|
* 没有通过软件处理的移调xml,才需要通过程序处理
|
|
* 判读规则:只处理独奏的,不处理合奏的,
|
|
* 判读规则:只处理独奏的,不处理合奏的,
|
|
- * <instrument-name></instrument-name>标签的值为:Tenor Recorder(竖笛)、Panpipes(排箫)、Ocarina(陶笛)、空的和solo,需要程序处理移调
|
|
|
|
|
|
+ * <instrument-name></instrument-name>标签的值为:Tenor Recorder(竖笛)、Panpipes(排箫)、Ocarina(陶笛)、Woodwind(葫芦丝)、空的和solo,需要程序处理移调
|
|
*/
|
|
*/
|
|
export const compatibleXmlPitchVoice = (xmlParse: any) => {
|
|
export const compatibleXmlPitchVoice = (xmlParse: any) => {
|
|
const partNames = Array.from(xmlParse.getElementsByTagName('part-name'));
|
|
const partNames = Array.from(xmlParse.getElementsByTagName('part-name'));
|
|
@@ -1208,6 +1208,9 @@ export const compatibleXmlPitchVoice = (xmlParse: any) => {
|
|
case 34:
|
|
case 34:
|
|
xmlNeedAdjustVoice = !instrumentName || instrumentName.includes('solo') || instrumentName.includes('ocarina') ? true : false
|
|
xmlNeedAdjustVoice = !instrumentName || instrumentName.includes('solo') || instrumentName.includes('ocarina') ? true : false
|
|
break;
|
|
break;
|
|
|
|
+ case 35:
|
|
|
|
+ xmlNeedAdjustVoice = !instrumentName || instrumentName.includes('solo') || instrumentName.includes('woodwind') ? true : false
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
xmlNeedAdjustVoice = !instrumentName || instrumentName.includes('solo') ? true : false
|
|
xmlNeedAdjustVoice = !instrumentName || instrumentName.includes('solo') ? true : false
|
|
break;
|
|
break;
|