• brAzzi

    Hi!

    We're using PureData as the audio module of our C++ application.
    I managed to run PureData without the main or patch windows from the C++ application, with the command line:

    pd -nogui patch.pd
    

    Now I'm trying to find a way to close the PureData process from the C++ process.

    The first alternative, was to just kill the PD process, but for some reason, pd spawns two more pd processes when killed (any idea why?).

    The second alternative I'm trying is to close PD from the main patch itself, after receiving certain message by a UDP socket, but I couldn't find a way to do this (the closing part) at the moment.

    Any ideas?

    Thanks a lot.

    Bruno

    YarmiDevTeam
    http://yarmidevteam.wordpress.com

    posted in technical issues read more
  • brAzzi

    Well, I managed to close PD from a patch, by sending pd a message.

    Just had to create a message box with

    ;
    pd quit
    

    When I give it a bang, PD quits.

    Anyway, the spawn of the two pd process at C++ application exit was my mistake ¬¬ and no PD's, so it was enough to just kill the pd process from the C++ application.

    Thanks!

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!