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 support in tracks #16

Open
jonikorpi opened this issue Sep 29, 2024 · 1 comment
Open

Add panning support in tracks #16

jonikorpi opened this issue Sep 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jonikorpi
Copy link
Contributor

Currently it’s possible to pan new instruments however you like, inside the connectInstrument function. But it’d be nice to be able to pan notes from tracks: [[0, { pan: -0.5 }], [0, { pan: 0.5 }]]. Adding support for that using StereoPannerNode would be easy and (apparently) performant.

However, some use cases will require using the much more expensive and complicated 3D panning nodes.

Do I add support for both, just one, or neither?

@jonikorpi jonikorpi added the enhancement New feature or request label Sep 29, 2024
@jonikorpi
Copy link
Contributor Author

A custom playNote function could deal with panning data extracted from the tracks, leaving it a userland problem.

@jonikorpi jonikorpi changed the title Consider adding panning support Add panning support in tracks Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant