play

topleveltools.play(expr)

Plays expr.

>>> note = Note("c'4")
>>> topleveltools.play(note) 

This input creates and opens a one-note MIDI file.

Abjad outputs MIDI files of the format file_name.mid under Windows.

Abjad outputs MIDI files of the format file_name.midi under other operating systems.

Returns none.