semeios

Semeios manages all forms of musical representation including visualization, notation, plotting, animation, and multimedia output.

Visualization

klotho.semeios.visualization.plot(obj, **kwargs)[source]

Universal plot dispatcher for Klotho objects.

Returns a KlothoPlot for types that support animation (Lattice, CPS, RhythmTree, TemporalUnit, CompositionalUnit). Jupyter renders the static figure automatically via _repr_html_. Call .play() on the result to trigger animated playback with audio.

For types without animation support, the figure is displayed immediately via IPython.display.display and None is returned.

Parameters:
  • obj (object) – Object to plot. Supported types include Tree, RhythmTree, CombinationSet, CombinationProductSet, DynamicRange, Envelope, Lattice, Scale, Chord, Voicing, and graph-like objects.

  • **kwargs – Keyword arguments forwarded to the type-specific plotting function.

Returns:

A KlothoPlot wrapper for animatable types, otherwise None.

Return type:

KlothoPlot or None

Raises:

TypeError – If the object type is not supported for plotting.

Notelists

SuperCollider