Browse Source

葫芦丝频率搞一个8度

liushengqiang 1 year ago
parent
commit
be59e684d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/page-instrument/view-detail/index.tsx

+ 1 - 1
src/page-instrument/view-detail/index.tsx

@@ -34,7 +34,7 @@ const calcCeilFrequency = (frequency: number) => {
 /** 需要处理频率的乐器
  */
 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;
   console.log(state.subjectId, state.fingeringInfo.name, instrumentNames)
   for (let i = 0; i < list.length; i++) {