Class Midi.ABCReader

Reads ABC notation

Constructors

ABCReader()

Methods

Midi.Tune readTune(string abc)

Read a string of ABC notation and parse into a Midi.Tune

Midi.Pattern read(string abc)

Read a string of raw ABC notation and parse into a Midi.Pattern

Midi.Pattern read(string abc, string key)

Read a string of raw ABC notation and parse into a Midi.Pattern

Midi.Pattern read(string abc, string key, string noteLength)

Read a string of raw ABC notation and parse into a Midi.Pattern

Midi.Pattern read(string abc, string key, string noteLength, string meter)

Read a string of raw ABC notation and parse into a Midi.Pattern

Midi.Pattern read(string abc, string key, string noteLength, string meter, string rhythm)

Read a string of raw ABC notation and parse into a Midi.Pattern

Method Documentation

Midi.Tune readTune(string abc)

Read a string of ABC notation and parse into a Midi.Tune. The ABC should include proper headers, including at least "X:" and "K:"

Parameters

Returns

Midi.Pattern read(string abc)

Read a string of raw ABC notation and parse into a Midi.Pattern. The given ABC should not include headers. Unless overridden the standard note length is one eighth note (aka quaver). The default time signature is taken from the jack transport if there is a valid timebase master, otherwise it is common time 4/4.

Parameters

Returns

Midi.Pattern read(string abc, string key)

Read a string of raw ABC notation and parse into a Midi.Pattern. The given ABC should not include headers. Unless overridden the standard note length is one eighth note (aka quaver). The default time signature is taken from the jack transport if there is a valid timebase master, otherwise it is common time 4/4.

Parameters

Returns

Midi.Pattern read(string abc, string key, string noteLength)

Read a string of raw ABC notation and parse into a Midi.Pattern. The given ABC should not include headers. Unless overridden the standard note length is one eighth note (aka quaver). The default time signature is taken from the jack transport if there is a valid timebase master, otherwise it is common time 4/4.

Parameters

Returns

Midi.Pattern read(string abc, string key, string noteLength, string meter)

Read a string of raw ABC notation and parse into a Midi.Pattern. The given ABC should not include headers. Unless overridden the standard note length is one eighth note (aka quaver). The default time signature is taken from the jack transport if there is a valid timebase master, otherwise it is common time 4/4.

Parameters

Returns

Midi.Pattern read(string abc, string key, string noteLength, string meter, string rhythm)

Read a string of raw ABC notation and parse into a Midi.Pattern. The given ABC should not include headers. Unless overridden the standard note length is one eighth note (aka quaver). The default time signature is taken from the jack transport if there is a valid timebase master, otherwise it is common time 4/4.

Parameters

Returns



Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.