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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers