How to use the music-gamut.select function in music-gamut

To help you get started, we’ve selected a few music-gamut examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tonaljs / tonal / packages / music-scale / lib / chord.js View on Github external
module.exports = function (notes) {
  var chord = G.select('1 3 5 7', build(notes, null))
  var t = type(chord)
  return t ? chord[0] + t : null
}