Chorale: Spaces instead of tabs.
Function `end` that returns the end time of a `Note`.
Chorale: `collectBeats` translated.