Global

Methods

convert(input)

Converts input from JSON to abc notation and saves to output file
Parameters:
Name Type Description
input input The parsed input from input file
Source:

convert2Abc(data) → {string}

Returns a string in abc notation from given data
Parameters:
Name Type Description
data object The JSON data that should be transformed to abc
Source:
Returns:
Type
string

getAbcKey(fifths, mode)

Returns the key for abc notation from given fifths
Parameters:
Name Type Description
fifths number The position inside the circle of fifths
mode string | undefined The mode (major / minor)
Source:

getAbcNote(note) → {string}

Returns a note in abc notation from given note object (JSON)
Parameters:
Name Type Description
note object The note that should be transformed to abc
Source:
Returns:
Type
string

getAbcString(input)

Returns the abc notation string from given input
Parameters:
Name Type Description
input object The parsed input from input file
Source:

readInput(file)

Reads the JSON eoncoded data from the specified input file
Parameters:
Name Type Description
file string The path to the specified input file
Source:

writeOutput(file, data)

Writes the abc notated string to the specified output file
Parameters:
Name Type Description
file string The path to the specified output file
data string The data that should be written to the file
Source: