synced rendering to end when music ends