• Nicolas Danet

    You could use the [swap] object.
    Capture d’écran 2019-08-15 à 10.35.04.png

    posted in technical issues read more
  • Nicolas Danet

    Note that the symbols could be stored by the user and reused later. You need a mechanism to handle that case.

    posted in extra~ read more
  • Nicolas Danet

    IIRC, a symbol is generated once and stay there until the end. Thus you could theoretically flood the table (and slow down lookup) if you generate too many different symbols. To avoid the bloat you can split/join the data bytes as hexadecimal. That was i did for NTP timestamps for instance ("@e @0 @e @a @4 @f @d @d @3 @a @1 @a @7 @1 @9 @b").

    posted in extra~ read more
  • Nicolas Danet

    Instead you could use a pool of reusable tags (as symbols) to refer to (fetch) your objects.

    posted in extra~ read more
  • Nicolas Danet

    I learned everything alone ; i know how hard it can be! We could create a Pure Data group in Montpellier.

    posted in extra~ read more
  • Nicolas Danet

    1. Add a t_sample (IMHO double is preferable) pointer in the struct of your object.
    2. Allocate (and/or release previous) memory (according to the vector size) in the dsp method.
    3. Pass a pointer to your struct object in the dsp_add call.
    4. Fetch it in dsp_perform ; "TADA !"
    5. Don't forget to release memory (if any) in the free method of your object.
    6. Send me an email if your are in Montpellier ;-)

    posted in extra~ read more
  • Nicolas Danet

    Good to know!

    Note that AFAIK you don't need Wish.app on your system since it is shipped inside the Pd package.

    Pd-0.49-1.app/Contents/Frameworks
    

    Note that on macOS you must use the Console to get error messages and crash reports.

    /Application/Utilities/Console.app
    

    posted in technical issues read more
  • Nicolas Danet

    Weird...

    • Does the binary crash (can be silently) or is it never launched?
    • Have you tried to launch the binary first, from a terminal (see below)?
    cd directoryWhereIsYourApp
    ./Pd-0.49-1.app/Contents/MacOS/Pd
    

    posted in technical issues read more
  • Nicolas Danet

    That is the file path ; but you can access it only (AFAIK) with a terminal.

    For instance typing the following command:

    cat /private/etc/hosts
    

    I get:

    ##
    # Host Database
    #
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    ##
    127.0.0.1   localhost
    255.255.255.255 broadcasthost
    ::1             localhost
    

    That should be the "default" config/file since i never (IIRC) hacked this.

    posted in technical issues read more
  • Nicolas Danet

    On MacOS it is the GUI that launch the Pd binary. It seems the GUI is launched but not the binary.

    • Have you tweaked your firewall (or something that concern sockets) recently?
    • Does the Pd binary crash (/Application/Utilities/Console.app ("Rapports utilisateur"))?

    At that point ask on the mailing list in case....

    https://puredata.info/docs/faq/Pd_not_launching
    https://github.com/pure-data/pure-data/issues/506

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!