In the original repository that we started with this quarter, building and playing melodies using the melody GUI did not work correctly. We had the following behavior:
If we add a single note to the melody and try to play it back, we get a very short, truncated note
If we add a second note to the melody and then play it back, both the first note and second note would then play back correctly.
If we add N >= 2 notes, playback works correctly for all notes
If we add a single note to the melody and try to play it back, we get no sound output
If we add a second note to the melody and try to play it back, we get a short clip of sound, which is undiscernibly different in length from the original truncated sound we experienced above
If we add a third note to the melody and then play it back, all three notes play correctly in order
If we add N>=3 notes, playback works correctly for all notes
Investigate and fix this problem, providing a description of the cause of it in the pull request for the issue, as well as a description of the changes made to remedy it.
In the original repository that we started with this quarter, building and playing melodies using the melody GUI did not work correctly. We had the following behavior:
Now, after completing issues 18 and 19 (https://github.com/UCSB-CS56-Projects/cs56-music-basic-synthesis-demo/pull/23), we have a similar issue. When building a melody, we have the following problems:
Investigate and fix this problem, providing a description of the cause of it in the pull request for the issue, as well as a description of the changes made to remedy it.