Remove the data in the instance.
(self)
| 143 | raise NoteFormatError("Invalid note representation: %r" % name) |
| 144 | |
| 145 | def empty(self): |
| 146 | """Remove the data in the instance.""" |
| 147 | # TODO: Review these two. This seems to leave the object in an invalid state |
| 148 | self.name = "" |
| 149 | self.octave = 0 |
| 150 | |
| 151 | self.channel = _DEFAULT_CHANNEL |
| 152 | self.velocity = _DEFAULT_VELOCITY |
| 153 | |
| 154 | def augment(self): |
| 155 | """Call notes.augment with this note as argument.""" |