You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, given a chord of ['C3', 'G3', 'B3'], I would expect Chord.detect to produce ['C5maj7'] as an output, however it gives me an empty array:
import{Chord}from'tonal'Chord.detect(['C3','G3'])// ['C5']Chord.detect(['C3','E3','G3','B3'])// ['Cmaj7']Chord.detect(['C3','G3','B3'])// [], but should be ['C5maj7']Chord.detect(['C3','G3','Bb3'])// [], but should be ['C5add7'], or possibly ['C5/7']
For the Chord.detect(['C3', 'G3', 'Bb3']) case you'd have to decide on some sort of notation to keep the numbers separate. I think either C5/7 or C5add7 would be fine.
The text was updated successfully, but these errors were encountered:
For example, given a chord of
['C3', 'G3', 'B3']
, I would expectChord.detect
to produce['C5maj7']
as an output, however it gives me an empty array:For the Chord.detect(['C3', 'G3', 'Bb3']) case you'd have to decide on some sort of notation to keep the numbers separate. I think either
C5/7
orC5add7
would be fine.The text was updated successfully, but these errors were encountered: