I am trying to build an instrument that makes use of a soundfont, and I'm hoping for it to be able to support tied notes. The closest I've gotten to smooth, click-less audio output is to use sflooper, which allows for the passing of an "iskip" parameter. The one downside to it is that it requires loop points, which to my knowledge is impossible to know when trying to build a generic soundfont player that can support any soundfont file.
I've also tried working with sfplay, which allows for the specification of an "ioffset" parameter, but even if I keep track of the samples processed over the span of a series of tied notes (incrementing accordingly using abs(p3) * sr), it seems I cannot eliminate the clicking.
Any help would be deeply appreciated.