🎸 API for the tunings of string instruments
Standard and common tunings for:
The tunings are simply a JSON file that can be used anywhere.
$ npm install --save string-tunings
All instruments have a
standard key. Many have more. The tunings are
Strings on note letters, generally from low notes to high notes (ie. top to bottom string for guitar-like instruments, outermost to innermost for violin-like instruments).
var tunings = ;tuningsguitarstandard//=> "EADGBE"tuningsguitaropenG//=> "DGDGBD"tuningsbanjosawmill//=> "GDGBE"tunings//=> [ 'A', 'D', 'F#', 'B' ]
Contributions are welcome. Keep the instruments alphabetically ordered for easy reading. Stay practical.
Convert the strings in the JSON to an array of note names.
tunings//=> [ 'Db', 'Ab', 'Db', 'Gb', 'Bb', 'Eb' ]tunings//=> [ 'F', 'C', 'G', 'D' ]
MIT © 2016 Robert Pirtle