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

Add Panning Extension for Stereo formats #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ericoporto
Copy link
Contributor

@ericoporto ericoporto commented Apr 29, 2022

Attempt to fix #12

This is probably wrong somewhere and incorrect. Probably the most useful thing is the example.

I copied the testposition example to create a testpanning example with a red rectangle, moving the red rectangle to right or left modifies the panning to either right or left.

Here's a cool song that is stereo: https://opengameart.org/content/love-song-instrumental

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Apr 30, 2022

Note that this solution does not do panning (positioning) in the sense of OpenAL, what it does is channel balance. I think this would be a completely separate effect and property.

I have been in doubts myself for a while, but the difference is also explained in this comment in #12:
#12 (comment)

@ericoporto ericoporto force-pushed the tentative-1-extension-balance branch from 9efc1f1 to 9b2ce30 Compare March 28, 2023 22:28
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.

Panning Stereo sounds using MojoAL (Extension?)
2 participants