GuitarFret

new GuitarFret(Guitar guitar, integer pos)

GuitarFret - describes a guitar fret
Parameters:
Name Type Description
guitar Guitar the guitar this fret belongs to
pos integer the position on the fretboard (0-x, 0 being the lowest string, x is usually 6)
Properties:
Name Type Description
barre boolean if it's played barre the fret automatically calculates a number of useful variables
Source:

Members

barre

if it's played barre
Source:

Methods

className() → string

Source:
Returns:
-
Type
string

notes() → array

get all notes on this particular fret. Because we can reference to the guitar we can determine all the notes
Source:
Returns:
- Array of GuitarNote objects
Type
array