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

Reproduce mono buffers in all channels if a stereo buffer is present #108

Open
Alynva opened this issue Apr 15, 2024 · 0 comments
Open

Reproduce mono buffers in all channels if a stereo buffer is present #108

Alynva opened this issue Apr 15, 2024 · 0 comments

Comments

@Alynva
Copy link
Collaborator

Alynva commented Apr 15, 2024

Currently, mergeAudio and concatAudio takes the maximum number of channels as the number of channels in the output buffer but for each input buffer it only gets its own channels and apply them to the corresponding channel in the output buffer. Its somewhat like this:

in: [[M], [L, R]]
out: [M+L, R]

The first buffer (which was mono) isn't reproduced in the right channel in the output buffer.

Mono buffers should be reproduced in all output channels.

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

No branches or pull requests

1 participant