We are looking for a solution where we can pass in a roman numeral notation argument and get back a chord alias as a response.
Basically, we are looking for a way to do the code below.
let chordAlias = chordFromRoman("IVMaj9");
We have tried the following.
let romemenNumeral = 'VIIMaj3';
let chordFromRomenNumerals = RomanNumeral.get(romemenNumeral).chordType
let chrodDetails = Chord.get(chordFromRomenNumerals);
console.log(chordDetails);
//logs
//{
// aliases: []
// chroma: ""
// empty: true
// intervals: []
// name: ""
// normalized: ""
// notes: []
// quality: "Unknown"
// root: ""
// rootDegree: 0
// setNum: NaN
// symbol: ""
// tonic: null
// type: ""
///}
The problem is that we keep getting back empty chords from Chord.get(chordFromRomenNumerals)
The only time Chord.get(chordFromRomenNumerals) returns something other than an empty set is when let romemenNumeral = 'VIIMaj7';. It seems as if the only supported chord types are Maj7 chords. Is that true?
Are we trying to do something that is not supported by Tonal JS? Is there some sort of package in Tonal JS that we are missing?
Any help on this issue would be greatly supported.