v1.2 posted
I have new version that resets the instance count when the transport is stopped. This means that when an instance is bypassed or removed, the calculations will correct themselves after playback has stopped instead of only when the session is reloaded. This might alleviate the bug that @EpicSounds described.
Hopefully there's an even better way to handle keeping track of the number of instances. I haven't found one yet though.
The one main bug that's present is pausing the playback then starting again throws the calculation way off. This wouldn't be the case except I think there's a bug in the JSFX play_state system variable that never switches to Pause.
I updated the code on the first post in this thread while waiting for the ReaTeam admins to approve my pull request on Github that will get this change into ReaPack.
|