Pd user for over ten years.
I've studied music theory, maths and sound engineering, and work as a fabmanager.
I make electronic musical instruments, digital art installations, and some livecoding., I am passionate about open source software and communities, among many other things.
So you're trying to label a Pd GUI (a canvas?)
Yes, a toggle more exactly.
A simple but a bit ugly work around would be to use to single quotes.
I had the same workaround idea, I guess it works but it's less pretty and means I have to use a different patch for one of the keys, instead of my abstraction (the other ones use the same argument in label and route).
Anyway, thank you @alexandros for trying on Ubuntu as well !
I've submited a bug report, or perhaps a feature request for quotes
"to be escapable with backslash
I'm getting error messages and freeze when trying to set toggle label as
", using a [label "( message.
I have tried escaping the double quotes with a backslash, but no luck there...
Here is the error :
(Tcl) UNHANDLED ERROR: extra characters after close-quote while executing ".x55bcea3ad440.c itemconfigure 55bcea3e1980LABEL -text [::pdtk_text::unescape "" "] .x55bcea3ad440.c itemconfigure 55bcea3fa280X1 -fill #000000 .x55b..." ("uplevel" body line 1) invoked from within "uplevel #0 $docmds".x55bcea3ad440: no such object x55bcea3ad440: no such object x55bcea3ad440: no such object ...
and then it gets stuck forever...
Any idea how to get around this ?
The problem happens on Ubuntu but not on MacOS, I haven't tested on Windows or other distros.
What's also strange is that it seems to work the first time with loadbang, but then if there's another bang the error happens, but I guess this might be due to how the abstraction is coded and how dollarsigns are handled.
For some context, I'm making a patch that can be controlled from my laptop's keyboard.
I am using [keyname] because it catches more keys than [key] (like Shift for example).
I am using an abstraction for each key to get a nice UI, where you can only see the key toggle with a label that changes when Shift or Caps_Lock is pressed.
Does anyone know of a simple way to receive the information printed on the console window?
I am using ann_mlp for a small neural network project, and I need to know when it is done training, which can take a very variable amount of time depending on the file I give it, and the complexity of the NN. My problem is that this object only displays this information on the console, it doesn't bang any outlet.
I have tried a few methods like [r pd], but I only got some pings and keypressed information...