Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

126
Visualizações
Tonal JS. How do you convert roman numeral notation to chord alias?

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.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda