Signature
Work in progress : FCPD a FreeCAD PureData connexion
-
-
FFW
Hi,
you can compile the l2ork externalgit clone git@github.com:pd-l2ork/pd.git cd pd/l2ork_addons/raspberry_pi/ git submodule init git submodule update ./makeall.sh
The disis_gpio.pd_linux I obtain seems to work (it require pd to be started as root) but
error: disis_gpio detected unknown hardware--disabling disis_gpio object to prevent wiringPi from crashing pd-l2ork. Please note this is expected behavior and when object is created on a Rasbperry Pi it should not trigger this error. Any previously created patches when edited and saved will retain this object and its connections even though the object is not active.
disis_gpio 27
... couldn't create -
FFW
@whale-av said:
Another idea..... packet sniffing the wish output on port comms with Pd.
I thought the port is fixed, but maybe it is different for each release, or varies nowadays for some other reason....... another hurdle though.FYI port change every time
flachy@joe:~$ lsof | egrep ^pd.*TCP pd 1685485 flachy 18u IPv4 331647 0t0 TCP localhost:52394->localhost:38639 (ESTABLISHED) pd-watchd 1685488 flachy 18u IPv4 331647 0t0 TCP localhost:52394->localhost:38639 (ESTABLISHED)
I tried to socat this address but gui no more responds. I don't know this tool.
flachy@joe:~$ socat -u tcp:localhost:38639 - .x559641c4ee90 motion 355.0 268.0 0; .x559641c4ee90 motion 356.0 278.0 0; .x559641c4ee90 motion 358.0 284.0 0; .x559641c4ee90 motion 359.0 291.0 0; .x559641c4ee90 motion 360.0 295.0 0; .x559641c4ee90 motion 360.0 299.0 0; pd watchdog; pd dsp 1; pd watchdog; pd watchdog; pd watchdog; pd watchdog; pd menunew PDUNTITLED-2 /home/flachy/PureData; pd watchdog;
-
FFW
Hi,
Have you try to remove spaces in the string ?messnamed("notes", "60,64,67");
-
FFW
@ludnny If I understand well you ask to see the receive value when you change the numeric one. To change the number you need to open the abstraction so you see the label…
-
FFW
The simplest way is to set the label equal to the send value:
EDIT : You need the receive value but it's the same logic. -
-
FFW
The USB device is maybe not yet available when your service start.
Try to add alsa as a requirement[Unit] Description=My PureData service [Service] Type=simple LimitNOFILE=1000000 ExecStart=/usr/bin/puredata -nogui -open /home/pi/mypatch.pd WorkingDirectory=/home/pi User=pi Group=pi Restart=always # Restart service after 10 seconds if service crashes RestartSec=10 # Alsa must have restored cards state Requires=alsa-restore.service [Install] WantedBy=multi-user.target
-
-
FFW
Hi @Kazuki-Fujita,
Take a look here https://stackoverflow.com/questions/758018/path-to-binary-in-c