I'm using the pdmtl [sample.play~] within a wrapper in my patch library.
On using it with drum samples, I get distortion if triggered rapidly ... which is a bit annoying. Think of the kick drum farting out on a crappy sub.
I've noted this with the example samples that come with pdmtl as well. Am I getting this because it's assumed that I should be using [mix.out_~] which does some buffering? I need as close to realtime as possible and I don't run a gui, so I don't use it.
The fault may just be with my samples and I could go and edit them ... but I have so many it would be a real pain.
Oh well, I'm sure there will end up being some reason for me to implement my own sample player :P (hopefully not)
no, there's no buffering in mix.out_~ only a glitch protection (when turning the level to 0 quickly) and a [hip~ 10]. of course, if you don't use the state saving of pdmtl and no gui, there's no reason to use mix.out_~.
i cannot reproduce the glitches you got with sample.play~ or sampler.play~ if your sample is not too big, send it to me by email. pat