Skip to content

Add support for audio source velocity to OvAudio #457

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

Open
adriengivry opened this issue Apr 15, 2025 · 1 comment
Open

Add support for audio source velocity to OvAudio #457

adriengivry opened this issue Apr 15, 2025 · 1 comment

Comments

@adriengivry
Copy link
Member

Problem this feature should fix
Velocity isn't used at all in our audio engine, therefore, effects like doppler cannot be applied.

Expected solution
We should update OvAudio to allow an AudioSource to update its velocity. This information could be computed from the audio source's previous frame position. AudioEngine::Update() could be used to request audio sources to store a copy of their position, for the velocity calculation in the next's frame.

@adriengivry adriengivry added Feature New feature to the engine and removed Feature New feature to the engine labels Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant