samplv1 icon indicating copy to clipboard operation
samplv1 copied to clipboard

Looping forwards and backwards

Open io7m opened this issue 8 years ago • 4 comments

Hello!

I've just discovered samplv1 today and it seems excellent. One feature request: Is there any chance you could add the ability to loop forwards and backwards through the selected loop points? This can result in a much more natural sound when looping sustained samples such as wind instruments, synth pad sounds, etc.

To clarify: The current loop algorithm starts looping at point P0 and continues through the sample until it reaches point P1. Then, it restarts at P0 and repeats this process endlessly. I'd love it if you could add a looping mode that starts looping at point P0, continues through the sample until it reaches P1, and then reverses direction and travels backwards through the sample until it reaches P0 again. When it reaches P0, the process repeats.

io7m avatar Aug 20 '17 11:08 io7m

sorry for this late. i fully understand what you're asking. however the current (rom/sam)pler engine only runs in the forward time direction. but please, don't stop it there. if you have some C/C++ coding skills, it might be a good chance for you to apply for a PR in here ;) just feel welcome, nevertheless. cheers

rncbc avatar Sep 08 '17 15:09 rncbc

'Ello.

I have about ten years experience writing C/C++ but haven't written any for many years. If you could give me some pointers as to where the changes would need to be made, I could certainly have a go at it.

io7m avatar Sep 08 '17 16:09 io7m

of course if the idea was easy to implement i would do it myself :) looking into samplv1_sample.h/cpp module classes should be enough, i guess.

samplv1_sample and samplv1_generator are the classes to investigate and possibly refactor.

byee

rncbc avatar Sep 08 '17 17:09 rncbc

Ok, sounds good!

io7m avatar Sep 08 '17 17:09 io7m