binary-set
is a collection of javascript functions to manipulate binary sets. Binary sets are binary representations of pitch sets and are very useful to compare them (among other things).
var binarySet = binarySet // => '101011010101'binarySet // => ['C', 'D', 'E', 'F', 'G', 'A', 'B']
This is part of tonal:
var tonal = tonalbinarySet
Install
Only via npm: npm i --save binary-set
License
MIT License