-
-
-
zerino
@whale-av said:
@zerino Try using pdsend (a binary that is in your Pd distribution) from your script to send a message to Pd...
pd open patch.pd /the/path/to/patch/from/root
David.$ pd open path
just opens another instance.trying with pdsend results in:
$ pdsend open /home/zerinol/fixo/pd/patches/audio_loader.pd usage: pdsend <portnumber> [host] [udp|tcp] [timeout(s)] (default is localhost and tcp with 10s timeout)
-
zerino
@oid said:
ve gotten so used to always opening patches from pd itself that it is rarely an issue.
I feel you my fellow. Thing is, pd open file dialog (I think its tk right?) is a pain to use. I wish i didn't have to.
-
zerino
How can I make it open the patch in the already running pd instance?
I use terminal a lot in my workflow, and usually launch things from terminal (I use 'lf' which is a terminal file explorer). Is there any trick to make
xdg-open
acknowledge an already running instance?heres the pure data desktop file da
xdg-open
uses to handle .pd files:[Desktop Entry] Name=Pure Data (Pd) Exec=pd-gui %F Categories=Audio;AudioVideo;Development;Music;Graphics Keywords=Audio;Video;Programming;Synthesis;Analysis Comment=Visual dataflow programming platform for multimedia Comment[ca]=Plataforma de programació visual per aplicacions multimèdia Comment[de]=Grafische Datenflussprogrammierung für Multimedia Comment[es]=Plataforma de programación visual para aplicaciones multimedia Comment[fr]=Plateforme de programmation visuelle pour applications multimédia Comment[it]=Piattaforma di programmazione visuale per applicazioni multimedia Comment[pt]=Plataforma de programação visuais para multimedia MimeType=text/x-puredata; GenericName=Dataflow IDE Type=Application Terminal=false Icon=puredata
I know this is unix related, I even tried asking in unix stack exchange but pure data seems to be alien to them:
-
-
zerino
I'm trying to change some keybindings in pure data, I saw how to to it using custom plugins with tcl but the deletion command was not easy to figure out.
I read throughly pd_bindings.tcl and could understand how bindings works. I figured that "Delete" command is passed directly as key command to PD using
proc ::pd_bindings::sendkey
I then tried several methods but couldnt figure out how to set a new keybinding for deletion.
Tried this simple line
bind all <$::modifier-Key-w> {pdsend "pd key 0 Delete 119"}
tried adding this condition to ::sendkey (would bind 'w' key for deletion)
if { "$keycode" eq "25" } { pdsend "pd key $state Delete 119" }
none of those worked
-
-
zerino
hello my fellows, been trying to compile GEM on osx myself, since most copies I get lacks some plugins (cant export imgs with pix_write(r) for instance).
I'm following this tutorial, but I'm on El Capitan
https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-MavericksI'm getting the following error:
fribidi_log2vis ^ 2 warnings and 1 error generated. make[3]: *** [libUtils_la-GemString.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
before hand, I was also trying to compile gavl, so I could incunde gmerlin in gem's build, but I had a similar error and decided to go without it.
test -z "/usr/local/share/doc/gavl/apiref" || .././install-sh -c -d "/usr/local/share/doc/gavl/apiref" /usr/bin/install -c -m 644 apiref/* /usr/local/share/doc/gavl/apiref install: apiref/*: No such file or directory make[2]: *** [install-data-local] Error 71 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1
maybe theres something missing on my system?
-
-
zerino
@whale-av hey
have you tried using meta from this git repo?https://github.com/rfabbri/Gem
i wouldnt know how to generate it, but maybe you would.
-
zerino
@whale-av said:
If the whole of Gem can be made to work transparently like this, can be added to the "extra" folder, and Antoine Villeret gives permission, then it could maybe be added to Deken for Windows.
David.wow that would be neat. whhich paths should we take? tried puttinng purr-data's meta into vanilla's folder but it made PD crash
And Extended's gem doesnt have a meta.
maybe downloading one from deken? or from the site.
-
zerino
@whale-av oh, of course. I actually followed the whole instructions in the thread you provided, even copying extended's gem and deleting the binary.
I could fix the help thing by not creating a "GemAbstr" folder, but merging extended's Gem with version 0.94, taking care to not replace any dll.
is that problematic in any sense? because "help" is now working
-
zerino
@whale-av wow man, awesome. that made gem work. videos are being loading and all. thank you a lot!
it still complains about abstractions everytime I open a patch tough, is that normal?
it still cant find gem-meta.pd as it was not present in extende's Gem.
-
zerino
@ingox ah... pd vanilla is actually 32bit in my win10 machine. did you mean 64bit windows?
-
zerino
@ingox it does work perfectly on PD extended. But since I couldn`t install ofelia on extended Im trying to make vanilla load GEM because maybe extended is too old to ofelia and other modern stuff (there's a VJ set of abstractions that im using that only work on vanilla also)
-
-
zerino
Hello,
Altough Gem is not being loaded, as in this screenshot
some gem objects are, but some aren't
"pix_film" "mix" and "texture" are missing, just as "rectangle" and any other "geometric" I try to add
the console shows a lot missing stuff whenever I open a GEM patch.
thanks for reading this.
(everything is up to date, tried Gem installation through deken and manually thorugh pd site, with the same results)