Open marchingband opened 2 years ago
::play(uint8_t voice, uint8_t note, uint8_t velocity)
will just call ::play(voice, note, velocity, 0, 0)
write 2 examples as described here : https://groups.google.com/g/wvr-audio/c/7Rdht_m435M/m/l63Cs6e4AgAJ
Hello, I’m new here. Any progress in this topic? I’d love to have CC control over start point of the sample.
No progress yet, I havn't been able to find time to add new features in quite a while, sorry.
I am not even sure it will be possible to build this feature to be honest.
Oh, that's a pity. I understand tho, thanks for the answer!
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 indexfrom
and stop at indexto
The sample will need to be faded-in iffrom
is not equal to 0. The sample will need to be faded out ifto
is not equal to 0 orsample.len