How to use the tonal-distances.tr function in tonal-distances

To help you get started, we’ve selected a few tonal-distances 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 / tonal-collections / dist / index.js View on Github external
  return listFn((list) => list.map(tonalDistances.tr(pitch || 'P1')).filter(tonalPitches.id))(list)
}
github tonaljs / tonal / packages / tonal-arrays / dist / index.js View on Github external
return listFn(function (list) {
      return list.map(tonalDistances.tr(pitch || 'P1')).filter(tonalPitches.id);
    })(list);
  };
github tonaljs / tonal / packages / tonal-arrays / lib / index.js View on Github external
  return listFn((list) => list.map(tr(pitch || 'P1')).filter(id))(list)
}

tonal-distances

Transpose and find distance between notes

MIT
Latest version published 9 years ago

Package Health Score

66 / 100
Full package analysis