Expected behavior:
Music starts playing at 60bpm
Music will speed up to 240bpm for 4 seconds when a melody message is received
It will stay at 240 as long as a melody message comes again during that time.
Otherwise it will slow back down to 60bpm
Observed behavior:
Music starts playing at 60bpm
Music speeds up to 240bpm when a melody message is received.
But the music never slows back down.
The attached program doesn't do what it should.
Expected behavior: Music starts playing at 60bpm Music will speed up to 240bpm for 4 seconds when a melody message is received It will stay at 240 as long as a melody message comes again during that time. Otherwise it will slow back down to 60bpm
Observed behavior: Music starts playing at 60bpm Music speeds up to 240bpm when a melody message is received. But the music never slows back down.