Closed guyluz11 closed 1 year ago
The feature you'd like isPlaying function for the player which returns if the player is still in the process of playing the sound
isPlaying
Any alternatives you've considered I thought that seek or loopEnd will help but it doesn't seem so. I Found _onSourceEnd but it is private
loopEnd
_onSourceEnd
It sounds like something that I just missed and exists if not lets open _onSourceEnd and I will add an external bool var
check out the player.state property https://tonejs.github.io/docs/14.7.77/Player#state
player.state
I think this is the one Thanks :)
The feature you'd like
isPlaying
function for the player which returns if the player is still in the process of playing the soundAny alternatives you've considered I thought that seek or
loopEnd
will help but it doesn't seem so. I Found_onSourceEnd
but it is privateIt sounds like something that I just missed and exists if not lets open
_onSourceEnd
and I will add an external bool var