Sorry, not being into Music I am finding that a little hard to picture .
I am sure we can work something out..
In the project there are couple of things that happen.
A grey Rect colour changes to another colour.
When the the timeout kicks in its colour is changed back to grey.
The timer gets it't time to kick in from the duration time of the time line.
Lets say 2s. This is done so the change of the colour back to grey coincides with the next rect changing colour.
Now if you want the change back to be longer or shorter you can put in the timeouts time argument a time in milliseconds.