Skip to content
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

Fix audio spatialization and expose panner properties #100

Conversation

netpro2k
Copy link
Contributor

Audio spatialization was screwed up because in addition to hearing the spatialized audio you could also hear audio coming from the Audio element used to fix the MediaStreamAduioSourceNode in Chrome. This mutes the secondary audio playback. (Ideally we can figure out a different workaround for fixing Chrome altogether).

Also, since aframevr/aframe#3042 got closed, I just went ahead and exposed the rest of the PannerNode properties that THREE.PositionalAudio exposes.

For full positional audio support the properties related to orientation ( coneInnerAngle, coneOuterAngle, and coneOuterGain) should also be exposed, but this requires an update to THREE.PositionalAudio to expose these properties and update the PannerNode's orientation, so I will leave that as an additional exercise.

@haydenjameslee haydenjameslee changed the base branch from master to 0.5.2-dev March 18, 2018 10:28
@haydenjameslee haydenjameslee merged commit 1c0a1cc into networked-aframe:0.5.2-dev Mar 18, 2018
@haydenjameslee haydenjameslee mentioned this pull request Mar 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants