[PD] fluid~

Alexandre Torres Porres porres at gmail.com
Sat Dec 12 02:28:33 CET 2020


my searching app failed me, I found libfluidsynth.2.dylib in Contents/lib
in Purr Data's app!

So yeah, the question still remains, how can we make Pd find this. It
failed to do so if it's just in the same folder. And also if we can build
the external binary that already has libfluidsynth.2.dylib embedded in it.

cheers

Em sex., 11 de dez. de 2020 às 22:21, Alexandre Torres Porres <
porres at gmail.com> escreveu:

> so, yeah, I sent my compiled external to Esteban but it complains it
> doesn't find libfluidsynth.2.dylib, which I have in my system as I
> installed it via homebrew. I tried sending libfluidsynth.2.dylib in the
> same folder as the external to esteban, to see if it'd get loaded and work,
> but he also had the same issue. So as I asked, it seems one needs to have
> fluidsynth previously installed. But this is not ideal for an external
> download, where I hoped it'd work out of the box without the need of
> anything ELSE.
>
> I assume there's a way to link or embed libfluidsynth.2.dylib into the
> external, but I don't know how. Pd wizards, help us :)
>
> And by the way, I downloaded Purr Data and looked
> for libfluidsynth.2.dylib in its package and couldn't find it... I'm
> definitely missing something cause I know fluid~ works when I install Purr
> Data in a machine that hasn't previously installed fluidsynth via homebrew.
> So I'm assuming libfluidsynth.2.dylib is somewhere in Purr Data's app, but
> I don't know where.
>
> Anyway, I also have attached my mac binary I built, with the help file
> adapted so it doesn't need any externals.
>
> I also included TimGM6mb.sf2 in the folder, cause it's used in the help
> file. I wonder if there are any legal issues to include this font in the
> deken download, cause it's also inconvenient to ask people to download
> something extra in order to test the object.
>
> Well, if anyone wants to check it out, here it is
> <https://drive.google.com/file/d/19DopwznJvoz-H9GHpzCLtwj-WvlwD6Ew>
>
> cheers
>
>
> Em sex., 11 de dez. de 2020 às 22:03, Esteban Viveros <emviveros at gmail.com>
> escreveu:
>
>> I tested and fuid still dependent of fluidsynth installation. There's a
>> way to embed fluidsynth in the external? Or maybe tell the fluid binary to
>> look for libfuidsynth in the fluid~ external folder? So we can distribute
>> it together?
>>
>> At this moment I have this error:
>> /Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat:
>> dlopen(/Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat, 10):
>> Library not loaded: /usr/local/opt/fluid-synth/lib/libfluidsynth.2.dylib
>>   Referenced from:
>> /Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat
>>   Reason: image not found
>>  fluid~
>> ... couldn't create
>>
>>
>> Em sex., 11 de dez. de 2020 às 21:12, Alexandre Torres Porres <
>> porres at gmail.com> escreveu:
>>
>>> Em sex., 11 de dez. de 2020 às 20:27, Jonathan Wilkes <
>>> jancsika at yahoo.com> escreveu:
>>>
>>>> I'd strongly suggest using the source from Purr Data:
>>>>
>>>>
>>>> https://git.purrdata.net/jwilkes/purr-data/-/tree/master/externals/fluid~
>>>>
>>>> It's a simple C external, unlike the footils version which depends on
>>>> flext. It's also had some bugfixes and new features that Albert Graef
>>>> recently added.
>>>>
>>>
>>> That's nice, thanks. I was indeed hoping that we could have a simple C
>>> external that did not rely on flex! I thought Purr was using the original
>>> one.
>>>
>>> I also see now this uses a modification of pdlbbuilder? Anyway, that
>>> also makes things much easier!
>>>
>>> Now, I did try to use and build this, I got the complaint I needed
>>> fluidsynth.h, since I'm on a mac, I did "brew install fluidsynth", hit
>>> "make" again, and it built it!!!! So excited about this that I am replying
>>> to the email before testing it :)
>>>
>>> Now, Esteban is also excited here and willing to compile this for
>>> Windows and Linux, what's  the step for those?
>>>
>>> And I assume the external works fine for people who don't have
>>> fluidsynth installed like I did with "brew install fluidsynth" right?
>>>
>>> Cheers
>>>
>>
>>
>> --
>>
>>  Esteban Viveros
>>
>> www.estebanviveros.com
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201211/3d4268c9/attachment-0001.html>


More information about the Pd-list mailing list