Utilities for guitar fretboard and audio
var gUtils = ;var p = gUtils; // p will be 'A'var pn = gUtils; // pn will be 2var next_p = gUtils; // next_p will be 'D'var prev_p = gUtils; // prev_p will be 'F'var prev_p = gUtils; // prev_p will be 'E'
get_pitch_at and get_pitch_number take two arguments. First is the string (1-6), second is the fret (0-24). Fret 0 means open string :)
get_next_pitch and get_prev_pitch take two arguments. First is the pitch, second is the number of half steps (default is 2)
npm install guitar-utils