EXTRA: Extending MUS with Repeats

Add the ability to repeat sections of a song multiple times. A repeat section has a section to repeat and a count of how many times to repeat it. Here's a repeat of a single note.

Extend your compile function to work with MUS songs with repeats.

Modifying the endTime helper function shouldn't be hard. But the code in compileT takes more work. I would use a for loop.

Prev Next