1.0.9 • Published 7 years ago

musie v1.0.9

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

musie.js build status

A super-simple javascript music utility. By referencing a note name and (optionally) a scale or chord, this library will return one or a series of note objects. Check it out in action at:

Install

npm install musie

Examples

var musie = require('musie');

musie.get('A4');
/*
Returns A4:
[{
    name: A4,
    number: 69,
    frequency: 440
}]
*/

musie.get('A3', 'major');
/*
Returns major scale starting from A3:
[
    {
        name: A3,
        number: 57,
        frequency: 220.00
    },
    {
        name: 'B3',
        number: 59,
        frequency: 246.94
    },
    {
        name: 'C#4',
        number: 61,
        frequency: 277.18
    },
    and so on....
]
*/

Available chords

ChordReference
Minorm
MajorM
Minor 7m7
Major 7maj7
Dominant 7dom7
Diminished 7dim7

Available scales

ScaleReference
Chromaticchromatic
Majormajor
Natural Minornatural_minor
Harmonic Minorharmonic_minor
Melodic_minormelodic_minor
Phrygian modephrygian
Lydian modelydian
Mixolydian modemixolydian
Locrian modelocrian
Whole tonewhole_tone
Blues scaleblues
Major blues scalemajor_blues
Minor pentatonicminor_pentatonic
Major pentatonicmajor_pentatonic
Diminished scalediminished
Whole half diminished scalewhole_half
Dorian b2dorian_b2
Lydian augmentedlydian_augmented
Lydian dominantlydian_dominant
Mixolydian b6mixolydian_b6
Half diminishedhalf_diminished
Altered scalealtered
Augmented scaleaugmented
Bebop dominantbebop_dominant
Bebop majorbebop_major
Bebop minorbebop_minor
Bebop dorianbebop_dorian
1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago