-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
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
Add audio engine v2 #15839
base: master
Are you sure you want to change the base?
Add audio engine v2 #15839
Conversation
This change adds the initial audio engine v2 implementation and introduces the API for sound and streaming sound creation and playback.
This change gets the CI's `Test UMD build` step to pass.
Am I remembering correctly from previous conversations that the new audio engine will implement the existing interfaces, or no? |
Snapshot stored with reference name: Test environment: To test a playground add it to the URL, for example: https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15839/merge/index.html#WGZLGJ#4600 Links to test babylon tools with this snapshot: https://playground.babylonjs.com/?snapshot=refs/pull/15839/merge To test the snapshot in the playground with a playground ID add it after the snapshot query string: https://playground.babylonjs.com/?snapshot=refs/pull/15839/merge#BCU1XR#0 |
Yes, this is something we discussed as a possibility. |
If not given, the `engine` defaults to the last created engine.
A document body is required for the underlying HTMLMediaElement used in `WebAudioStreaminSoundInstance`.
When a streaming instance is paused before it transitions from `Starting` to `Started`, the start offset is being set incorrectly when resumed. This change fixes the issue by setting the related timing variables correctly and initializing the start time to `Infinity` to indicate that the instance has not actually started, yet.
This change makes the playground intellisense list the valid types instead of hiding them behind a single custom type.
c558cd4
to
a8e734a
Compare
... instead of returning `null`.
…bNodePromises` resolves
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
WebGL2 visualization test reporter: |
Visualization tests for WebGPU |
This change adds the initial audio engine v2 implementation and introduces the API for sound and streaming sound creation and playback, in addition to audio buses (formerly known as SoundTracks).