Namespace: fromPython

fromPython

music21j -- Javascript reimplementation of Core music21p features.
music21/fromPython -- Conversion from music21p jsonpickle streams

Copyright (c) 2013-16, Michael Scott Cuthbert and cuthbertLab
Based on music21 (=music21p), Copyright (c) 2006–16, Michael Scott Cuthbert and cuthbertLab

fromPython module -- see music21.fromPython

Converter for taking a Python-encoded jsonpickle music21p stream
and loading it into music21j

Very very alpha. See music21(p).vexflow modules to see how it works.

Requires Cuthbert's jsonpickle.js port.

Source:

Example

in python:

s = corpus.parse('bwv66.6')
stringRepresentingM21JsonPickle = s.freezeStream('jsonpickle')

in js:

pyConv = new music21.fromPython.Converter();
s = pyConv.run(stringRepresentingM21JsonPickle);

Extends

  • music21

Requires

  • module:jsonpickle

Classes

Converter
Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.