Thanks Fabian. I will try tomorrow. Hamish
Sent from my android device. -----Original Message----- From: Fabian Greffrath <fab...@debian.org> To: 740...@bugs.debian.org, Hamish Moffatt <hamish-deb...@cloud.net.au> Sent: Tue, 24 Nov 2015 22:32 Subject: Re: Bug#740710: problem with SF3 playback Am Dienstag, den 24.11.2015, 11:09 +0100 schrieb Fabian Greffrath: > This sure needs further investigation. Got a bit further: I forgot to adjust the sample->loopstart and sample->loopend values and I am not even sure if they make sense at all for compressed samples. If you wipe away this whole block in src/sfloader/fluid_defsfont.c that my patch adds to fluid_sample_import_sfont() /* loop is fowled?? (cluck cluck :) */ if (sample->loopend > sample->end || sample->loopstart >= sample->loopend || sample->loopstart <= sample->start) { /* can pad loop by 8 samples and ensure at least 4 for loop (2*8+4) */ if ((sample->end - sample->start) >= 20) { sample->loopstart = sample->start + 8; sample->loopend = sample->end - 8; } else /* loop is fowled, sample is tiny (can't pad 8 samples) */ { sample->loopstart = sample->start + 1; sample->loopend = sample->end - 1; } } and replace it with a simple sample->loopstart = sample->loopend = 0; the MIDI plays back as expected. - Fabian