MCPcopy Create free account
hub / github.com/bspaans/python-mingus / add_note

Method add_note

mingus/containers/composition.py:71–77  ·  view source on GitHub ↗

Add a note to the selected tracks. Everything container.Track supports in __add__ is accepted.

(self, note)

Source from the content-addressed store, hash-verified

69 self.selected_tracks = [len(self.tracks) - 1]
70
71 def add_note(self, note):
72 """Add a note to the selected tracks.
73
74 Everything container.Track supports in __add__ is accepted.
75 """
76 for n in self.selected_tracks:
77 self.tracks[n] + note
78
79 def set_title(self, title="Untitled", subtitle=""):
80 """Set the title and subtitle of the piece."""

Callers 3

from_NoteFunction · 0.95
__add__Method · 0.95
test_add_noteMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_add_noteMethod · 0.36