New feature: Release Start
-
Hi everybody,
it has been quite some time since I last touched anything regarding the streaming engine, but for a current project I might need a feature so here we go: Release Start mode. This basically allows you to use a single sample as sustain and release sample:
- just set the ReleaseStart property to the position where you would cut the release sample.
- when you release the note, the sample playback will jump to the position and play the sample until the end.
Obviously this can be achieved with a separate sampler and a release trigger script, but this is much more convenient and faster, plus the native C++ implementation allows me to add a few nice features like automatic volume adjustment to reduce the bumps & set the fade time & gamma curve to match the sample material.
Docs:
https://docs.hise.dev/hise-modules/sound-generators/list/streamingsampler.html#release-start
Have fun and let me know if you hit some glitches, I tried to cover as much cases as possible but there are many different configurations (eg. HLAC with multimic and short loops) that might have slipped through.
-
@Christoph-Hart oooo nice, I can drop a sampler from my project and a bunch of sample maps - I tried using redirect monolith but it always seems to give me trouble.
-
@d-healey What is the use case for the Release-Start? For realistic legatos?
-
@orange no for easier / better sounding release samples.
-
I've seen 'release sample' option in a few other samplers too. Never needed it but always curious.
What are some real-world examples of using release samples? For what instruments?
-
@dannytaurus Almost all acoustic instruments.
Take a trumpet for example. When the musician stops blowing there is a distinct sound as the note is cut off and the resonance of the room dies down.
So you trigger a release sample containing this audio when the user lifts the key (or a MIDI note off is received). But you don't do this if the sample has already reached the release portion - with sustain samples you'll usually loop them so you'll never reach the release anyway.