You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue came up for me because I wanted a fraction-of-a-second dialogue box sound to loop using play(-1) and then stop at the appropriate time, but the only way to stop it is to call stop() or fadeout(). If I could make it finish just the final loop it was doing then it would sound smoother and consistent, because it wouldn't be cutting off a sound.
This might be called Sound.set_loops(loops)
I don't know much about the lower level stuff of how this would work so maybe it's harder than it looks, but it'd be really useful for me in this situation!