• FFW

    Hi,
    you can take a look in my project. Even if the python code is running into FreeCAD, it implements a double direction client/server communication.
    See https://github.com/FlachyJoe/FCPDWorkbench/blob/main/pdserver.py

    posted in technical issues read more
  • FFW

    Hi,
    The add of two quite-similar sinus results in beats, it's mathematically exact:
    graph.png

    posted in technical issues read more
  • FFW

    @whale-av :
    Thank you David, you let me discover [iemlib/dollarg] which does the same job. My project is already iemlib dependent so its good.

    posted in technical issues read more
  • FFW

    Great ! :)
    This is working in the 2 environments (with an inconsequential error in Purr-Data)
    Capture d’écran_2021-07-09_15-39-53.png Capture d’écran_2021-07-09_15-44-08.png

    NB: saving with Pure-Data break the $@

    EDIT:
    doesn't work with Purr-Data with a unique symbol as argument…

    posted in technical issues read more
  • FFW

    Thank you !

    [pdcontrol] is not yet implemented in Purr-Data which I like for its UI, I'll try to upgrade.

    posted in technical issues read more
  • FFW

    Hi,
    does exists a way to count the arguments of an abstraction or to get them as a list ?

    posted in technical issues read more
  • FFW

    https://puredatagui.handmadeproductions.de/ doesn't work…

    
    unreachable code after return statement
    EmscriptenExample.js:8288:4
    unreachable code after return statement
    EmscriptenExample.js:8412:4
    undefined puredatagui.handmadeproductions.de:41:33
        printErr https://puredatagui.handmadeproductions.de/:41
        abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:858
        _abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:5283
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:124923
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:6889037
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:6889238
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:858086
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:766433
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:1044857
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:1488944
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:795390
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:193441
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:2719626
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:3663705
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:2876770
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:4943251
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:4467908
        _main https://puredatagui.handmadeproductions.de/EmscriptenExample.js:9696
        callMain https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10600
        doRun https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10640
        run https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10649
    exception thrown: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.,abort@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:862:13
    _abort@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:5283:5
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[497]:0x1e7fb
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[12138]:0x691e4d
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[12139]:0x691f16
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[2153]:0xd17e6
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[1931]:0xbb1e1
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[2449]:0xff179
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[3427]:0x16b830
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[1989]:0xc22fe
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[655]:0x2f3a1
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[6070]:0x297f8a
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[9295]:0x37e759
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[6933]:0x2be562
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[10347]:0x4b6d93
    @https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[9921]:0x442cc4
    Module._main@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:9696:60
    callMain@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10600:32
    doRun@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10640:21
    run/<@https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10649:13
    puredatagui.handmadeproductions.de:41:33
        printErr https://puredatagui.handmadeproductions.de/:41
        callMain https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10613
        doRun https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10640
        run https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10649
    Uncaught RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
        abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:862
        _abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:5283
        _main https://puredatagui.handmadeproductions.de/EmscriptenExample.js:9696
        callMain https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10600
        doRun https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10640
        run https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10649
    EmscriptenExample.js:862:13
        abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:862
        _abort https://puredatagui.handmadeproductions.de/EmscriptenExample.js:5283
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:124923
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:6889037
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:6889238
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:858086
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:766433
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:1044857
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:1488944
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:795390
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:193441
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:2719626
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:3663705
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:2876770
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:4943251
        <anonyme> https://puredatagui.handmadeproductions.de/EmscriptenExample.wasm:4467908
        _main https://puredatagui.handmadeproductions.de/EmscriptenExample.js:9696
        callMain https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10600
        doRun https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10640
        run https://puredatagui.handmadeproductions.de/EmscriptenExample.js:10649
    
    ​
    
    

    posted in libpd / webpd read more
  • FFW

    Hi,
    with Firefox 88.0.1, Ubuntu 21.04 it loads and then Exception thrown, see JavaScript console:

    unreachable code after return statement
    EmscriptenExample.js:8289:4
    unreachable code after return statement
    EmscriptenExample.js:8413:4
    undefined gameoflife.handmadeproductions.de:41:33
        printErr https://gameoflife.handmadeproductions.de/:41
        abort https://gameoflife.handmadeproductions.de/EmscriptenExample.js:859
        _abort https://gameoflife.handmadeproductions.de/EmscriptenExample.js:5284
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:124923
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:6889037
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:6889238
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:858086
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:766433
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:1044857
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:1488944
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:795390
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:193441
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:2719626
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:3663705
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:2876770
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:4943251
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:4467908
        _main https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9697
        callMain https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10601
        doRun https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10641
        run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10650
        (Asynchrone : setTimeout handler)
        run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10646
        runCaller https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10591
        removeRunDependency https://gameoflife.handmadeproductions.de/EmscriptenExample.js:848
        receiveInstance https://gameoflife.handmadeproductions.de/EmscriptenExample.js:920
        receiveInstantiatedSource https://gameoflife.handmadeproductions.de/EmscriptenExample.js:924
        (Asynchrone : promise callback)
        instantiateAsync https://gameoflife.handmadeproductions.de/EmscriptenExample.js:940
        (Asynchrone : promise callback)
        instantiateAsync https://gameoflife.handmadeproductions.de/EmscriptenExample.js:938
        createWasm https://gameoflife.handmadeproductions.de/EmscriptenExample.js:959
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9687
    exception thrown: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.,abort@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:863:13
    _abort@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:5284:5
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[497]:0x1e7fb
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[12138]:0x691e4d
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[12139]:0x691f16
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[2153]:0xd17e6
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[1931]:0xbb1e1
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[2449]:0xff179
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[3427]:0x16b830
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[1989]:0xc22fe
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[655]:0x2f3a1
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[6070]:0x297f8a
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[9295]:0x37e759
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[6933]:0x2be562
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[10347]:0x4b6d93
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.wasm:wasm-function[9921]:0x442cc4
    Module._main@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9697:60
    callMain@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10601:32
    doRun@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10641:21
    run/<@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10650:13
    setTimeout handler*run@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10646:19
    runCaller@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10591:9
    removeRunDependency@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:848:13
    receiveInstance@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:920:28
    receiveInstantiatedSource@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:924:24
    promise callback*instantiateAsync/<@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:940:31
    promise callback*instantiateAsync@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:938:16
    createWasm@https://gameoflife.handmadeproductions.de/EmscriptenExample.js:959:5
    @https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9687:11
    gameoflife.handmadeproductions.de:41:33
        printErr https://gameoflife.handmadeproductions.de/:41
        callMain https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10614
        doRun https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10641
        run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10650
        (Asynchrone : setTimeout handler)
        run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10646
        runCaller https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10591
        removeRunDependency https://gameoflife.handmadeproductions.de/EmscriptenExample.js:848
        receiveInstance https://gameoflife.handmadeproductions.de/EmscriptenExample.js:920
        receiveInstantiatedSource https://gameoflife.handmadeproductions.de/EmscriptenExample.js:924
        (Asynchrone : promise callback)
        instantiateAsync https://gameoflife.handmadeproductions.de/EmscriptenExample.js:940
        (Asynchrone : promise callback)
        instantiateAsync https://gameoflife.handmadeproductions.de/EmscriptenExample.js:938
        createWasm https://gameoflife.handmadeproductions.de/EmscriptenExample.js:959
        <anonyme> https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9687
    Uncaught RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
        abort https://gameoflife.handmadeproductions.de/EmscriptenExample.js:863
        _abort https://gameoflife.handmadeproductions.de/EmscriptenExample.js:5284
        _main https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9697
        callMain https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10601
        doRun https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10641
        run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10650
        setTimeout handler*run https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10646
        runCaller https://gameoflife.handmadeproductions.de/EmscriptenExample.js:10591
        removeRunDependency https://gameoflife.handmadeproductions.de/EmscriptenExample.js:848
        receiveInstance https://gameoflife.handmadeproductions.de/EmscriptenExample.js:920
        receiveInstantiatedSource https://gameoflife.handmadeproductions.de/EmscriptenExample.js:924
        promise callback*instantiateAsync/< https://gameoflife.handmadeproductions.de/EmscriptenExample.js:940
        promise callback*instantiateAsync https://gameoflife.handmadeproductions.de/EmscriptenExample.js:938
        createWasm https://gameoflife.handmadeproductions.de/EmscriptenExample.js:959
        <anonymous> https://gameoflife.handmadeproductions.de/EmscriptenExample.js:9687
    EmscriptenExample.js:863:13
    
    ​
    
    

    posted in libpd / webpd read more
  • FFW

    Hi,
    As the symbol editor doesn't recognize backspace, I wrote this:
    bsedit.pd Capture d’écran_2021-05-18_22-10-51.png

    But it's not more clipboard-compatible…

    posted in technical issues read more
  • FFW

    Another vanilla solution which reproduce my first attempt with [metro] and [moses]:
    Capture d’écran_2021-05-05_21-13-10.png

    I've just type "moses" in a translator and so understand this object name… :laughing:

    posted in technical issues read more
  • FFW

    Thanks for the replies !

    You're right @oid I'll try to be more explicit next time. :grimacing:

    A second [counter] is a good solution, I found another one:Capture d’écran_2021-05-04_20-43-18.png

    [for++] is from iemlib :wink:
    NB : my own Bible is https://puredata.info/docs/ListOfPdExternals/

    posted in technical issues read more
  • FFW

    Hi,
    the fourth [counter] outlet count overflows but I can't see how to set it back to 0.

    I'm trying to run throw lines and columns with this :
    Capture d’écran_2021-05-03_22-02-07.png

    Thanks !

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!