Skip to content
View zheminivan's full-sized avatar
Block or Report

Block or report zheminivan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
zheminivan/README.md

zheminivan

zheminivan is a Node.js module that provides helpful functions for working with musical harmony, such as retrieving chord notes, scale notes, and chord progressions.

Installation

You can install zheminivan via npm: npm install zheminivan

Usage

const harmonyUtils = require('harmony-utils');

// Get the notes of a chord
const chordNotes = harmonyUtils.getChordNotes('Cmaj7');
console.log(chordNotes); // Output: ['C', 'E', 'G', 'B']

// Get the notes of a scale
const scaleNotes = harmonyUtils.getScaleNotes('C major');
console.log(scaleNotes); // Output: ['C', 'D', 'E', 'F', 'G', 'A', 'B']

// Get chord progressions in a specific key
const progression = ['I', 'IV', 'V'];
const chordProgression = harmonyUtils.getChordProgression('C', progression);
console.log(chordProgression); // Output: [['C', 'E', 'G'], ['F', 'A', 'C'], ['G', 'B', 'D']]

Popular repositories

  1. zheminivan zheminivan Public

    JavaScript

  2. md-zheminivan md-zheminivan Public

    JavaScript