New feature: Release Start
-
Read the link, Release Start already includes exactly what you're describing!
-
@Simon oh, sweet! Thank you for that. Then, the feature is truly wonderful
-
If I play a note and release quickly I get a kind of pop sound as the release is triggered. I've tried various start options and adjusting the gain envelope but it doesn't seem to change it.
Also, is there a way to toggle the releases feature on/off? I'm thinking some users prefer to disable release triggers.
-
I'm at the release trigger stage of my current project and would like to use this nice shiny feature. In this post I'm just going to summarise some of the things we've discussed so far and suggest a couple of extra.
-
It should be possible to disable/enable release triggers via scripting, preferably per event - per sampler or globally would be ok but less flexible.
-
During legato transitions releases should optionally be disabled - depending on how 1. is implemented we could manage this ourselves via scripting.
-
If it's disabled during legato it doesn't necessarily mean it should be disabled when chords are played, so some kind of optional chord detection is required - again if 1. is flexible enough we can handle all these weird scenarios ourselves.
-
Although we already have various volume matching modes, it would be good to be able to dynamically add a gain offset via scripting which is applied after the matching.
-
Currently if I hold a note so it played through the sample and past the release start, when I release the note it will jump back to the release start point. I don't think this should happen, I think it should just turn the note off and the envelope can take over - unless the sustain pedal is down.
More generally, how should sustain pedal be handled? Currently it doesn't seem to affect the releases. I think in some cases we might want the note to not reach the release as long as the sustain pedal is down (assuming the sample is looped).
@Christoph-Hart If any of this is beyond the intended scope of the feature, let me know and I'll just carry on with my current system.
-
-
@d-healey nope this are all good suggestions - I‘ll add a script API method to disable release triggers per voice using the event ID - this should be enough for most of your feature requests, the other things are minor issues that I can fix easily.
-
@Christoph-Hart said in New feature: Release Start:
per voice using the event ID - this should be enough for most of your feature requests,
Yeah I think that is a great idea :) thanks.
-
@d-healey Alright, this is implemented now.
- sustain pedals are now correctly supported - it 100% mimics the behaviour of the voice stopping logic now
- the sample will never jump back in time to the release offset - if the sample has already played the release trail, it just continues playing at the current position.
- you have a
Sampler.setAllowReleaseStart()
function that accepts an event ID for per event setting (or -1 for globally enabling / disabling the feature).
Let me know if you find other quirks. The goal is to get this usable in real projects, so don't be shy :)
-
@Christoph-Hart Oh fast work, nice! I'll try it out this evening. Thanks.
-
@Christoph-Hart You just couldn't hold off on giving us more goodies, now I have to tweak my project to make use of this right away!
-
@Christoph-Hart Seems to be working nicely. At first I was trying to disable it in the on note on callback and wondering why it wasn't working
-
@Christoph-Hart What about this scenario.
I have a toggle switch to globally enable/disable release triggers.
Now let's say the user has enabled this switch, so I'm calling
Sampler.setAllowReleaseStart(-1, true)
and release triggers are globally enabled.But then they play a legato transition, so for that individual event I want to disable release triggers, I call
Sampler.setAllowReleaseStart(eventId, false)
- only it doesn't disable it, the global setting overrides it.I think it should be the other way around, that individual events can override the global setting.
I also noticed a little glitch in the sample editor when the sample has a loop. The playback does jump to the release portion, I can hear it, but visually it's just hanging around in the loop. In this gif I released the key almost as soon as I pressed it - you can see the cursor jumps to the loop instead of to the release.