Hello Martin,
Hauptwerk v2's Custom Organ Design Module can actually do that natively. You just set the Rank.ReverbTailTruncation_... parameters and Hauptwerk will do it for you using specially-shaped fades from the release marker when it loads the sample set, with the length of the fade automatically calculated for maximum realism based on the pitch of each pipe.
Martin.