In [1]:
import abjad


NOTE: The Pärt demo requires abjad-ext-tonality

In [2]:
%load_ext abjadext.ipython

In [3]:
staff = abjad.Staff("c'4 d'4 e'4 f'4")

In [4]:
abjad.show(staff)



In [5]:
abjad.graph(staff)


G Staff_0 Staff Note_0 Note c'4 Staff_0->Note_0 Note_1 Note d'4 Staff_0->Note_1 Note_2 Note e'4 Staff_0->Note_2 Note_3 Note f'4 Staff_0->Note_3

In [6]:
abjad.play(staff)