Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

127
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda