Signature
Work in progress : FCPD a FreeCAD PureData connexion
-
FFW
@Obineg said:
90% of the humans are not even able to give answers which sound correct.
Either you include yourself in these 90% and this sentence doesn't sound correct or you have excessive pride.
ChatGPT is nothing but a tool. As for all tools I have to try it before I can decide its usefulness.
-
FFW
Hi !
I asked ChatGPTGenerate a text file that can be opened with PureData and represents a synthesizer reacting to MIDI input and producing a sinusoidal sound on stereo output.
It needed 12 trials and failures and 9 more when I asked for a slider to control the volume.
At the end it gave me#N canvas 0 0 450 350 10; #X obj 35 71 midiin; #X obj 35 135 mtof; #X obj 105 175 osc~; #X obj 35 215 *~ 0.5; #X obj 35 255 vsl 0 1 0.01 0.5; #X obj 175 255 dac~; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 4 0 3 1; #X connect 3 0 5 0;
It certainly needs much more training to give us an interesting patch!
-
-
FFW
@jameslo said:
@FFW I think it's a little more than that--the output frequency of @ddw_music's flipflop is half that of the hypothetical [threshold~] with audio output, am I mistaken?
[threshold~] left outlet trigger only at rising edge and right outlet only at falling ones so the left frequency is the same as in ddw_music abstraction.
This patch acts at buffer size accuracy:
-
FFW
Ok, so you improved [threshold~ 0.5 0 0.5 0] to ouput audio.
-
-
-
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;