GameOfLife / Unit-Lib

The Unit Library is a system that provides high level abstractions on top of the SuperCollider language.
25 stars 6 forks source link

sometimes stoping a score does not stop all chains #11

Closed miguel-negrao closed 11 years ago

miguel-negrao commented 11 years ago

hitting stop via the gui buttons sometimes does not stop all chains.

woutersnoei commented 11 years ago

when is that?

miguel-negrao commented 11 years ago

This happens in the score I'm currently working on, but I don't have a simple reproducer...

woutersnoei commented 11 years ago

is it related to releaseSelf == false?

miguel-negrao commented 11 years ago

With releaseSelf = false there is no problem, they all stop, but without it they don't seem to stop sometimes...

woutersnoei commented 11 years ago

ah yes, this is an old issue. We never got the non-releaseself working completely right. It is to do with latency and release messages arriving before the event has started etc. Perhaps a good moment to re-check the whole mechanism to see if we missed something somewhere..

miguel-negrao commented 11 years ago

No, in my case the problem appears to be happening with releaseSelf = true, but I'll keep investigating, might be something in the vbap panners

miguel-negrao commented 11 years ago

Ok, it was a bug in the VBAP panners, they weren't getting the startpos, so it would default to zero, which means with selfRelease = true they would keep going after the time where they should end. with selfRelease = false they sometimes don't stop, but that is already know and inpredictable.