Play

class ipythontools.Play

IPython replacement callable for topleveltools.show().

Integrates audio rendering of Abjad MIDI files into IPython notebooks using timidity.

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_ipythontools { graph [label=ipythontools]; "abjad.tools.ipythontools.Play.Play" [color=black, fontcolor=white, group=1, label=<<B>Play</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } "builtins.object" -> "abjad.tools.ipythontools.Play.Play"; }

Bases

  • builtins.object

Attribute summary

__call__(expr) Render expr as audio and display it in the IPython notebook as an <audio> tag.

Special methods

Play.__call__(expr)

Render expr as audio and display it in the IPython notebook as an <audio> tag.