• myQwil

@fotisandstuff I don't know about crashing, but as you start to venture outside of foo_pd's example patches, there will definitely be errors regarding missing pd externals. That's because libpd, depending on its implementation, isn't always capable of loading externals. Instead, they need to be built directly into the library. The pd.dll that comes with foo_pd only has a few externals added to it.

posted in libpd / webpd read more
• myQwil

@fotisandstuff Can you give a specific example in ARGOPd?

posted in libpd / webpd read more
• myQwil

I found that the images depicting equations were a bit difficult to read due to their low resolution, so I converted all of the equations to MathML with the help of LaTeXML.

For the HTML version, I recommend using Firefox to read it, as it's the only browser thus far to offer exceptionally good MathML support. MathJax can also be used to render the MathML in other browsers. It is not included by default but it has been tested and catered to in terms of CSS styling. I would suggest getting a local installation via NPM like so:

npm install --prefix ./ mathjax


and then, using a regex-replace method with your favorite text editor, this line of html would be added to each node*.html file's head section:

<script id="MathJax-script" async src="node_modules/mathjax/es5/tex-mml-chtml.js"></script>


Several EPUB3 readers are able to render MathML via MathJax. A table showing the MathML support for various readers can be found here: https://docs.mathjax.org/en/v2.7-latest/misc/epub.html

book-mathml.zip
(Apr 13, 2021)

posted in Off topic read more
• myQwil

You can add lines of tcl code to the .tcl files. I had a similar problem with the file dialog windows, so I added this to pd-gui.tcl in proc init_for_platform:

option add *TkFDialog*foreground "black" userDefault


To change the canvas background color, you would add:

option add *PatchWindow*Canvas.background "red" userDefault


Unfortunately, if you want to change foreground color, that's specified in c, not tcl. If you're okay with performing a local build, you can check out my github fork of Pd, where I've implemented a dark theme.

posted in technical issues read more
• myQwil

So I'm about 99% certain that the problem this whole time has been libwinpthread-1.dll. I think what must've happened was that back in 2018 I added the file to the syswow64 folder for the sake of convenience but then completely forgot about it. Now it comes with the fb2k-component.

posted in libpd / webpd read more
• myQwil

@fotisandstuff What version of Windows are you running?

If you look in the folder profile/user-components/foo_pd are the files in that folder recently modified? I know that I can get that error if I move or rename pd.dll.

posted in libpd / webpd read more
• myQwil

Ok, I believe this is ready. It's been updated to also work with portable installations, whereas before, the "extra" folder wouldn't get added properly to pd's search path unless it was a regular installation with user components residing in foobar's AppData folder. Latest zip is in original post.

posted in libpd / webpd read more
• myQwil

Not sure if there's a better solution but you could try this really simple external. It returns 1 or 0 if it finds a match or not. I only have a linux build at the moment but the source is there if you want to try building it yourself.

EDIT: zip now includes Windows and Mac builds

has.zip

posted in technical issues read more
• myQwil

Github repository: https://github.com/myQwil/luapd

A spiritual successor to this project: https://github.com/ghoulsblade/love-pd-audio

LuaPd is a Lua C API Library that allows users to incorporate Pd patches into their Lua and Love2d projects.

A more detailed post with examples can be found on the love2d forum here: https://love2d.org/forums/viewtopic.php?f=5&t=90014

posted in libpd / webpd read more

Internal error.

Oops! Looks like something went wrong!