Skip to content

Commit

Permalink
Bara ett ackord
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanberglund authored Jan 9, 2024
1 parent d86b7f7 commit 72cd04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function visaAckord() {
await ackord();
}

document.getElementById('visaAckord').innerHTML = await '<br>' + Chord.detect([bastonNote].concat(ack),{assumePerfectFifth: true}).join(', ');
document.getElementById('visaAckord').innerHTML = await '<br>' + Chord.detect([bastonNote].concat(ack),{assumePerfectFifth: true})[0];
document.getElementById('visaSkala').innerHTML = await '(slumpad skala: ' + bastonNote + ' ' + skalaVar + ')';
if (renderedBool == 0) {
visaNoter();
Expand Down

0 comments on commit 72cd04d

Please sign in to comment.