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

Feature Request : play sample with start and end parameters #37

Open
marchingband opened this issue Feb 20, 2022 · 6 comments
Open

Feature Request : play sample with start and end parameters #37

marchingband opened this issue Feb 20, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@marchingband
Copy link
Owner

WVR class should have a method ::play(uint8_t voice, uint8_t note, uint8_t velocity, size_t from, size_t to)
The sample will start playback from sample index from and stop at index to
The sample will need to be faded-in if from is not equal to 0.
The sample will need to be faded out if to is not equal to 0 or sample.len

@marchingband
Copy link
Owner Author

::play(uint8_t voice, uint8_t note, uint8_t velocity) will just call ::play(voice, note, velocity, 0, 0)

@marchingband
Copy link
Owner Author

write 2 examples as described here : https://groups.google.com/g/wvr-audio/c/7Rdht_m435M/m/l63Cs6e4AgAJ

@marchingband marchingband added the enhancement New feature or request label Feb 20, 2022
@CarlosUnchained
Copy link

Hello, I’m new here. Any progress in this topic? I’d love to have CC control over start point of the sample.

@marchingband
Copy link
Owner Author

No progress yet, I havn't been able to find time to add new features in quite a while, sorry.

@marchingband
Copy link
Owner Author

I am not even sure it will be possible to build this feature to be honest.

@CarlosUnchained
Copy link

Oh, that's a pity. I understand tho, thanks for the answer!

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

2 participants