Sampler Playback - ping-pong
-
Well its been a while since a feature request so how about this one:
Samplers can play forwards or reverse, could we add ping-pong (i.e forward and then reverse)??
-
@Lindon You hold down a key, it plays to the end, then plays it backwards, or you press a key it plays forwards, you press same key again it plays backwards?
-
@d-healey hold down a key and it plays forwards to the end then start so play backwards...the other is fairly easy to script isnt it?
-
-
@Lindon Have also been thinking about this
(just not yet deep enough into HISE to look into this possibility or ask an informed question - still trying to compile a hello world plugin : )Would it be possible to combine two Samplers? - one populated with a reverse copy of the sample and some silent prefix, at the same length as the original sample? Could the first one with the direct version be populated with a silent suffix, so it's also double in length? - and this programmatically? If that would be possible, then both could be looped and maybe some crossfade between the intersections?
No idea if something like this is (automatically) achievable.
-
@bthj said in Sampler Playback - ping-pong:
@Lindon Have also been thinking about this
(just not yet deep enough into HISE to look into this possibility or ask an informed question - still trying to compile a hello world plugin : )Would it be possible to combine two Samplers? - one populated with a reverse copy of the sample and some silent prefix, at the same length as the original sample? Could the first one with the direct version be populated with a silent suffix, so it's also double in length? - and this programmatically? If that would be possible, then both could be looped and maybe some crossfade between the intersections?
No idea if something like this is (automatically) achievable.
wow thats a crazy screwball way to do it -- programmatically not do able but you could just sound design it that way... still an ugly number of samplers (you doubled the number required..)
Personally I prefer just asking for @Christoph-Hart to code up another playback mechanism...
-
@Lindon Nah, that is so edge-casey and I'd rather not convolute the basic streaming code with logic like this.
I would rather suggest to go down the script node route for this - you can load sample maps into a file player node and then use a ramp generator to power the playback position, from there you can go super crazy with the playing direction.
-
@Christoph-Hart said in Sampler Playback - ping-pong:
@Lindon Nah, that is so edge-casey and I'd rather not convolute the basic streaming code with logic like this.
I would rather suggest to go down the script node route for this - you can load sample maps into a file player node and then use a ramp generator to power the playback position, from there you can go super crazy with the playing direction.
ooh cool, I will investigate... thanks.
-
@Lindon You will need to set the PlaybackMode to SignalIn, then it will take the input signal as playback position and scrub through the sample. The most basic use case it to put a
core.ramp
before the node, but in your case it would rather be a really really slow triangle oscillator. -
@Christoph-Hart
That's cool. Thanks for sharing information.