• FFW

    @whale-av Thank you.
    I think the GUI has to be created once and saved, it doesn't need dynamic patching. That's why I like python.

    Doesn't exist a python module to parse pd files ?

    posted in Off topic read more
  • FFW

    Hi,
    does anybody know a solution to auto generate an on-parent-gui for abstractions ?

    My first idea is to python-parse the pd file to find the nearest comment for each in/outlets in order to create the gui.

    Capture d’écran_2022-04-19_11-48-01.png

    How can I show creation arguments in the canvas label ?
    Another question is the icon integration : which object to use ? how to deal with size and placement ?

    posted in Off topic read more
  • FFW

    You can implement a loopback to choose a new number if nothing is sent.
    Capture d’écran_2022-04-13_23-31-47.png

    NB : this example stack-overflows if nothing is open.

    posted in technical issues read more
  • FFW

    @jumeca You can send "open fileName dirName" to pd
    Capture d’écran_2022-04-13_15-12-30.png

    posted in technical issues read more
  • FFW

    Isn't the real signal the norm of the complex one? :neutral_face:

    If complex signal is a(t) + i*b(t) then norm is sqr(a²(t) + b²(t))

    posted in technical issues read more
  • FFW

    @Jona @whale-av I can't understand why a contents index was not yet standardized for externals. A simple text file which lists abstractions with a short desc would help.
    It's a pity to depends on https://puredata.info/docs/ListOfPdExternals/ instead of an up-to-date local index.

    timothyschoen starts to list and documents many objects in one file:
    https://github.com/timothyschoen/PlugData/blob/main/ObjectDocumentation

    posted in technical issues read more
  • FFW

    Hi,
    You can find here a python coded client/server running in a PyQt5 application.
    As it's designed as FreeCAD plugin, it needs modifications to run standalone but I can help if needed.

    posted in technical issues read more
  • FFW

    @Load074 said:

    I have a suspicion that there will be some core libraries I'd need which might be beyond my Linux skills to update without a total dependency mess, but I'll see...

    Debian sid has a binary of 0.52 and most of the externals are available in the package repository : https://packages.debian.org/sid/multimedia-puredata

    posted in technical issues read more
  • FFW

    Another FCPDWorkbench sample which show Inverse Kinematics computation.
    No more Pmpd but Ikpy, a python library for IK computation.
    Capture d’écran_2022-02-03_13-38-18.png Capture d’écran_2022-02-03_15-05-57.png

    posted in patch~ read more
  • FFW

    @oid I understand.

    This python script lists all abstractions in a CSV format:

    from pathlib import Path
    
    # include path
    path = Path('/opt/purr-data/lib/pd-l2ork/extra/')
    
    # lists externals
    dirs = [e for e in path.iterdir() if e.is_dir()]
    
    
    # parse externals for abstractions
    for ext in dirs:
        abst = [e for e in ext.glob('*.pd*') if e.is_file()]
        dashHelp = [e for e in ext.glob('*-help.pd') if e.is_file()]
        dashMeta = [e for e in ext.glob('*-meta.pd') if e.is_file()]
        # Filter only non help and non meta
        abst = [a for a in abst if not a in dashHelp]
        abst = [f"{ext.name}, {a.stem}" for a in abst if not a in dashMeta]
        print("\n".join(abst))
    

    pd-l2ork has 2566 external abstractions. Adding desc would be quite long :disappointed_relieved:

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!