negative-harmony

0.0.1 • Public • Published

negative-harmony

Super small library to find the "🌘 negative side" of notes and chords according to a given key.

For the related music theory check here.

Install

$ npm install negative-harmony --save

Usage

const {negativeHarmony} = require ('negative-harmony');
 
// or with ES6
import {negativeHarmony} from 'negative-harmony';
 
// Want to find the relative of Gm7b5 ??
console.log(negativeHarmony('C', ["G", "Bb", "Db", "F"]));
/* 
    Result is:
    {
        result: [ 'C', 'A', 'F#', 'D' ],
        chord: [ 'D7/C' ] 
    }
*/

Development

$ npm run dev
 
# for testing 
$ npm test
# for testing while watching file changes 
$ npm run watch:test
 

License

This project is licensed under the MIT License.

Built With

Dependents (0)

Package Sidebar

Install

npm i negative-harmony

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

5.7 kB

Total Files

5

Last publish

Collaborators

  • lorenzocorbella74