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

Method empty

mingus/containers/note_container.py:46–48  ·  view source on GitHub ↗

Empty the container.

(self)

Source from the content-addressed store, hash-verified

44 self.add_notes(notes)
45
46 def empty(self):
47 """Empty the container."""
48 self.notes = []
49
50 def add_note(self, note, octave=None, dynamics=None):
51 """Add a note to the container and sorts the notes from low to high.

Callers 4

__init__Method · 0.95
from_chord_shorthandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected