Class: TrackMetaData

TrackMetaData()

Encapsulates each TrackMetaData in the music composed of an array of tunings and staffs

Constructor

new TrackMetaData()

Constructs a new TrackMetaData
Source:

Methods

addStaff(staff)

Add staff to array
Parameters:
Name Type Description
staff Staff Staff object to add to array of staffs
Source:

addTuning(newTuning)

Adds tuning to array of tunings
Parameters:
Name Type Description
newTuning string Tuning to add
Source:

copy(source)

Copies tunings and staffs from object
Parameters:
Name Type Description
source object Source must have tuning, staffs
Properties:
Name Type Description
source.tuning Array.<string> String array of tunings
source.staffs Array.<Staff> Array of Staff objects
Source:

toString() → {string}

Converts TrackMetaData to a pretty string
Source:
Returns:
The pretty string representation of the TrackMetaData
Type
string