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

Method place_rest

mingus/containers/bar.py:114–119  ·  view source on GitHub ↗

Place a rest of given duration on the current_beat. The same as place_notes(None, duration).

(self, duration)

Source from the content-addressed store, hash-verified

112 x[0][2] += notes
113
114 def place_rest(self, duration):
115 """Place a rest of given duration on the current_beat.
116
117 The same as place_notes(None, duration).
118 """
119 return self.place_notes(None, duration)
120
121 def remove_last_entry(self):
122 """Remove the last NoteContainer in the Bar."""

Callers

nothing calls this directly

Calls 1

place_notesMethod · 0.95

Tested by

no test coverage detected