binary-set

    0.1.1 • Public • Published

    binary-set npm

    tonal

    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 = require('binary-set')
    binarySet.toBinary('C D E F G A B') // => '101011010101'
    binarySet.fromBinary('101011010101', 'C') // => ['C', 'D', 'E', 'F', 'G', 'A', 'B']

    This is part of tonal:

    var tonal = require('tonal')
    tonal.binarySet.toBinary('C D E')

    Install

    Only via npm: npm i --save binary-set

    License

    MIT License

    Install

    npm i binary-set

    DownloadsWeekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • avatar