Skip to content

Commit

Permalink
Merge pull request #21 from allenzhong/main
Browse files Browse the repository at this point in the history
修复五度圈大调选择和弦的错误显示
  • Loading branch information
Barba828 authored Jul 26, 2024
2 parents c8c72e1 + 199d3c7 commit 896257b
Show file tree
Hide file tree
Showing 2 changed files with 5,210 additions and 4,378 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const DegreeChordController: FC<ControllerListProps<any>> = () => {

useEffect(() => {
const soundList = chords.map((item) => {
return transChordTaps(item.chord.map((pitch) => guitarBoardOption.notes![pitch % 12]), guitarBoardOption)[0].chordTaps
return transChordTaps(item.chord.map((pitch) => guitarBoardOption.notesOnC![pitch % 12]), guitarBoardOption)[0].chordTaps
})
setSoundList(soundList)
}, [guitarBoardOption.chords])
Expand Down
Loading

0 comments on commit 896257b

Please sign in to comment.