Here is my first plugin for the MOD: SimSam, by ēffē
It is a sampler based on SFZ files, which also resamples notes that are not available as WAV, as long as their lower/upper 4th/5th are available.
The WAV files have been converted to mono, PCM16 in order to reduce the memory footprint. The padding zeros at the end have been trimmed.
ADSR envelopping is supported, though for the piano samples, the fadeout parameters should be enough. If attack, release and decay are left to 0ms, the sustain level acts as a simple gain and the complete WAV note is played as long as it is ‘on’.
This plug-in depends on libsndfile.
Velocity interpolation is currently ongoing, though the GUI control is already there. The idea is to interpolate the velocity gain based on the ones defined on the SFZ. This is particularly relevant when there are very few velocity groups available (for example, the Francis Bacon piano).
I tested on Linux and on my MODEP setup. I’m still trying to build it for the DUO, which I have, but so far I’ve had some difficulties.
The code is available here: https://gitlab.com/edwillys/simsam
Any feedback is welcome