make_piano_score_from_leaves

scoretools.make_piano_score_from_leaves(leaves, lowest_treble_pitch=None)

Make piano score from leaves:

>>> notes = [Note(x, (1, 4)) for x in [-12, 37, -10, 2, 4, 17]]
>>> score, treble_staff, bass_staff = scoretools.make_piano_score_from_leaves(notes)
>>> show(score) 

When lowest_treble_pitch=None set to B3.

Returns score, treble staff, bass staff.