mutwo.convertersΒΆ

Several subpackages to convert data from and to mutwo.

The subpackages differentiate in their conversion mapping:
  • backends: external data -> mutwo or generic Python objects

  • frontends: mutwo or generic Python objects -> external data

  • symmetrical: mutwo or generic Python objects -> mutwo or generic Python objects

External data can be a file, a Python object from a third-party library or a Stream object (that can be started to play for triggering events in real-time).


Submodules are:

mutwo.converters.abc

Defining the public api for any converter class.

mutwo.converters.symmetrical

Convert mutwo or generic Python objects to other mutwo or generic Python objects.

mutwo.converters.frontends

Convert mutwo objects to external data.

mutwo.converters.backends

Routines that convert external data to mutwo objects.