• zerino

    @oid wow, this looks solid

    posted in technical issues read more
  • zerino

    @oid said:

    echo open filename.pd $(pwd); | pdsend 3000

    Yep, it really works. Thank you @oid

    posted in technical issues read more
  • 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)
    

    posted in technical issues read more
  • 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.

    posted in technical issues read more
  • 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:

    https://unix.stackexchange.com/questions/752495/open-file-from-terminal-in-already-running-pure-data-instance?noredirect=1#comment1431905_752495

    posted in technical issues read more
  • zerino

    @oid thank you, that will do.

    posted in technical issues read more
  • 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

    posted in technical issues read more
  • 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-Mavericks

    I'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?

    posted in technical issues read more
  • zerino

    please, post the results!

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!