[PD-dev] building fluid~ on Linux (was: [PD] fluid~ for Pd-Vanilla - test version)

Alexandre Torres Porres porres at gmail.com
Sat Jan 9 17:14:24 CET 2021


Em sáb., 9 de jan. de 2021 às 12:33, Alexandre Torres Porres <
porres at gmail.com> escreveu:

> +-----+-----+----------------------+----------------------+
> |Bank | PC  | Name*                 |      Info.           |
> +-----+-----+----------------------+----------------------+
> | 000 | 000 | 1 [ Theater Upper ]  | No Sound, Title Only |
>

What I see now is that program numbers should be indexed from 0, right? As
it is, program 1 refers to program 0 on the program list, so it is indexed
from 1 instead! That is, the code is subtracting "1", but I checked the
original fluid~ code and it doesn't do that, see
https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/footils/fluid/fluid/main.cpp#l193

On the other hand, I was using the port to Pd's API from Purr Data and that
subtraction was introduced in the code then, see
https://git.purrdata.net/jwilkes/purr-data/-/blob/master/externals/fluid~/fluid~.c#L93

I considered that a backwards compatibility breakage and also a bug and I
don't know what to do now. Purr Data's version also introduced "smmf" mode
and I was keeping it all just so an external or a patch from Purr Data that
uses fluid~ could run in Pd Vanilla, but I don't feel like keeping this
bug/breakage. So I can ask them to fix it over there or just fix the bug
and remove "smmf" mode and compatibility to Purr Data.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20210109/e443d60c/attachment.html>


More information about the Pd-dev mailing list