mingus.containers.composition¶
-
class
mingus.containers.composition.Composition[source]¶ -
__add__(self, value)[source]¶ Enable the ‘+’ operator for Compositions.
Notes, note strings, NoteContainers, Bars and Tracks are accepted.
-
add_note(self, note)[source]¶ Add a note to the selected tracks.
Everything container.Track supports in __add__ is accepted.
-
add_track(self, track)[source]¶ Add a track to the composition.
Raise an UnexpectedObjectError if the argument is not a mingus.containers.Track object.
Attribute of type: str
''
-
description¶ Attribute of type: str
''
-
email¶ Attribute of type: str
''
-
reset(self)[source]¶ Reset the information in this class.
Remove the track and composer information.
-
selected_tracks¶ Attribute of type: list
[]
Set the title and author of the piece.
-
subtitle¶ Attribute of type: str
''
-
title¶ Attribute of type: str
'Untitled'
-
tracks¶ Attribute of type: list
[]
-