Toggling AVMusicTrack isMuted

Hi! I have an AVAudioSequencer with some AVMusicTracks that are filled with AVParameterEvents.

If I toggle the isMuted property of a track, it will instantly mute when changed to true. However, after turning the muting to false, the events will only triggers on the next round of a loop and not instantly. Is this intended behaviour, and is there some way to get the events to trigger immediately after toggling the isMuted to be false?

Update on the issue: isMuted seems to function properly on first play of a track. In case I have isLoopingEnabled set to true and the track has reached and started a second loop isMuted does not work correctly anymore. I will continue to investigate if there are some loop/track settings that will help avoid the issue.

Toggling AVMusicTrack isMuted
 
 
Q