We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some features of WebAudio API are missing. E.g. https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop This is important for the use cases like fading audio.
To do this using Three.js Audio API I have to duplicate underlying Audio.stop()
three.js/src/audio/Audio.js
Lines 172 to 179 in bac758d
const { currentTime } = listener.context; if (audio.source) { audio.source.stop(currentTime + 1); audio.source.onended = null; audio.isPlaying = false; }
I would like to achieve the same result using
audio.stop(1);
as if it was using AudioScheduledSourceNode interface
None
No response
The text was updated successfully, but these errors were encountered:
delay
stop()
Successfully merging a pull request may close this issue.
Description
Some features of WebAudio API are missing.
E.g. https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop
This is important for the use cases like fading audio.
To do this using Three.js Audio API I have to duplicate underlying Audio.stop()
three.js/src/audio/Audio.js
Lines 172 to 179 in bac758d
Solution
I would like to achieve the same result using
as if it was using AudioScheduledSourceNode interface
Alternatives
None
Additional context
No response
The text was updated successfully, but these errors were encountered: