Skip to content

Zero-duration Tweens are not actually instantaneous on buffer sizes > 1 #136

Description

@DaforLynx

I was trying to set track volume to a low value while simultaneously playing a new source from that track. I used a Tween with duration of 0.0. However, that resulted in a "pop" as the sound played for a split second before the volume leapt down. When I set the buffer size to 1, this doesn't happen. This leads me to believe Tweens only take effect on the next buffer frame, instead of starting on the current one. I don't know what the solution is, as I can see why Tweens might not be able to take effect instantaneously. Perhaps there should be a way to play() a source specifically on the next buffer frame.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions