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

Sampler + Player combined functionality #1320

Open
imvahn opened this issue Feb 20, 2025 · 1 comment
Open

Sampler + Player combined functionality #1320

imvahn opened this issue Feb 20, 2025 · 1 comment

Comments

@imvahn
Copy link

imvahn commented Feb 20, 2025

The feature you'd like
There are many features of the player that are not available from the sampler, and I think the sampler could benefit from these feature implementations. The main ones are: reverse and seek (being able to restart the sample playback).

Any alternatives you've considered
If one were to use the Player instead of the sampler to access features like reverse and seek, things become more difficult. An obvious issue is that fact that now samples don't automatically adjust pitch. This can be circumvented easily, though. More complex issues arise with functions like triggerAttackRelease—with the sampler, I can use triggerAttackRelease to coordinate my samples firing with the transport. But with the player, I'm not sure how to do this.

@imvahn
Copy link
Author

imvahn commented Feb 20, 2025

Okay so triggerAttackRelease can be mimicked with functions like start and stop. But since sampler and player seem so similar, with the real only significant difference being that sampler can repitch files, it doesn't make much sense to me that they have such vastly different properties and methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant