Return False if there is room in this Bar for another NoteContainer, True otherwise.
(self)
| 125 | return self.current_beat |
| 126 | |
| 127 | def is_full(self): |
| 128 | """Return False if there is room in this Bar for another |
| 129 | NoteContainer, True otherwise.""" |
| 130 | if self.length == 0.0: |
| 131 | return False |
| 132 | if len(self.bar) == 0: |
| 133 | return False |
| 134 | if self.current_beat >= self.length - 0.001: |
| 135 | return True |
| 136 | return False |
| 137 | |
| 138 | def change_note_duration(self, at, to): |
| 139 | """Change the note duration at the given index to the given |
no outgoing calls