Class: Converter

music21.fromPython. Converter

new Converter()

Properties:
Name Type Description
debug boolean
knownUnparsables Array.<string>

list of classes that cannot be parsed

handlers object

object mapping string names of classes to a set of function calls to perform when restoring or post-restoring. (too complicated to explain; read the code)

Source:

Methods

run(jss) → {music21.stream.Stream}

Run the main decoder

Parameters:
Name Type Description
jss string

stream encoded as JSON

Source:
Returns:
Type
music21.stream.Stream

streamPostRestore(s) → {music21.stream.Stream}

Fixes up some references that cannot be unpacked from jsonpickle.

Parameters:
Name Type Description
s music21.stream.Stream

stream after unpacking from jsonpickle

Source:
Returns:
Type
music21.stream.Stream
Music21j, Copyright © 2013-2018 Michael Scott Cuthbert and cuthbertLab.
Documentation generated by JSDoc 3.5.5 on Wed Jul 4th 2018 using the DocStrap template.