-
Notifications
You must be signed in to change notification settings - Fork 115
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
Better support for Three.js integration #90
Comments
Can you make it a smoother transition whenever a Listener/Source Position/Rotation is set? When I use a slider in Threejs to change the params, I always hear the clipping sounds, which is not so tolerable.
Maybe can change it like
|
Thanks for suggestion! There are two things to consider.
1 or 2 is not a big deal, but I want to make sure about 3. These values are not directly related to the position or angle. The linear interpolation on each value might not make sense (mathematically) in this context. @drewbitllama might have some ideas on this. Also if I have to add this feature, it'll be a new method tied to FOA/HOA rotator. |
I tried linear interpolation using JavaScript. It did improve the performance a lot. But still I can hear the clipping sound when I’m sliding very fast.
It would be great if I can use the built-in omnitone/resonance audio function to do more precise smooth transition.
… On Mar 15, 2019, at 09:10, Hongchan Choi ***@***.***> wrote:
Thanks for suggestion! There are two things to consider.
We don't want to break things that are already using this function.
Also there's performance implication of using AudioParam automation.
Does linear interpolation of each value in the matrix make sense here?
1 or 2 is not a big deal, but I want to make sure about 3. These values are not directly related to the position or angle. The linear interpolation on each value might not make sense (mathematically) in this context. @drewbitllama might have some ideas on this.
Also if I have to add this feature, it'll be a new method tied to FOA/HOA rotator.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Can you elaborate on "improve the performance a lot"? Does it use less CPU? Or you meant better audio quality (like less glitching)? |
Just less glitching compared to using it without interpolation. But still it has glitching.
… On Mar 15, 2019, at 12:32, Hongchan Choi ***@***.***> wrote:
Can you elaborate on "improve the performance a lot"? Does it use less CPU? Or you meant better audio quality (like less glitching)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks. On the other hand, But the question still remains: is this mathematically correct? I have to rely on @drewbitllama's opinion on this. If the answer is yes, I can fix this right away. |
Hi there, I am currently working on a project that uses Omnitone and Three.js and wondering if there's any update on the issues raised in this thread. I am also encountering some glitching - even when moving quite slowly around the scene. Thanks! |
@drewbitllama
What can be done to support the Three.js integration better? We can consider adding new APIs for this purpose.
FYI: This topic stemmed from this PR.
The text was updated successfully, but these errors were encountered: