|
@@ -34,7 +34,7 @@ const calcCeilFrequency = (frequency: number) => {
|
|
/** 需要处理频率的乐器
|
|
/** 需要处理频率的乐器
|
|
*/
|
|
*/
|
|
const resetFrequency = (list: any[]) => {
|
|
const resetFrequency = (list: any[]) => {
|
|
- const instrumentNames = ["ocarina", "pan-flute", "piccolo"];
|
|
|
|
|
|
+ const instrumentNames = ["ocarina", "pan-flute", "piccolo", "hulusi-flute"];
|
|
if (!state.fingeringInfo?.name || !instrumentNames.includes(state.fingeringInfo.name)) return list;
|
|
if (!state.fingeringInfo?.name || !instrumentNames.includes(state.fingeringInfo.name)) return list;
|
|
console.log(state.subjectId, state.fingeringInfo.name, instrumentNames)
|
|
console.log(state.subjectId, state.fingeringInfo.name, instrumentNames)
|
|
for (let i = 0; i < list.length; i++) {
|
|
for (let i = 0; i < list.length; i++) {
|