Skip to content

danigb/music.note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music.note

Build Status js-standard-style npm version license music.kit

music.note is a group of functions to manipulate notes:

var note = require('music.note')
note.midi('A4') // => 69
note.freq(440, 'C2') // => 65.40639132514966
note.transpose('C4', '3m') // => 'Eb4'

This is part of music.kit

## Features

  • Parse notes in scientific notation
  • Convert from and to midi numbers
  • Convert from and to frequencies with (optional) custom tunings
  • Note transposition

Installation

Install via npm: npm install --save music.note and require it.

Documentation

Generated documentation here

License

MIT License

About

Tiny library to convert from midi and frequency to note names

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published