I need to parse for whether the tag is present, and if so, increase the length of the note by 0.5.
Ties are similarly ignored. To handle them, I'll need an on/off boolean for whether the note is part of a tie. If so, keep adding note lengths together. Once off, finish the previous note and reset for a new one.
These situations are NOT mutually exclusive, so the code should be able to handle infinitely many dotted notes tied together (even if a song is comprised entirely of one note). I'll need to check some corner cases to ensure that this eventually works as intended.
I need to parse for whether the tag is present, and if so, increase the length of the note by 0.5.
Ties are similarly ignored. To handle them, I'll need an on/off boolean for whether the note is part of a tie. If so, keep adding note lengths together. Once off, finish the previous note and reset for a new one.
These situations are NOT mutually exclusive, so the code should be able to handle infinitely many dotted notes tied together (even if a song is comprised entirely of one note). I'll need to check some corner cases to ensure that this eventually works as intended.