-
FFW
posted in technical issues • read moreI don't know the background but GMP has a very efficient algorithm to calculate the factorial, you maybe can take a look on it's sources.
For example it give an immediate exact result of 10000! ( ~= 2,84E35659 )
-
FFW
posted in technical issues • read moreHi,
see Documentation/3.audio.examples/I01.Fourier.analysis.pd
and Documentation/3.audio.examples/I02.Hann.window.pd -
FFW
posted in technical issues • read more@jameslo said:
I think I'd have to also add some padding to the end to meet some message length requirement.
Yes I don't read the doc but I think the message should be a 8 bytes words multiple and ends with 44 0 0 0. So you need to add as many zero as required before this.
-
FFW
posted in technical issues • read moreHi,
if the 92 backslash is added by oscformat let's try to don't use it

32 is space
47 is slash
I deduce the required end of the message from oscformat output -
-
FFW
posted in technical issues • read moreHi,
Take a look at https://git.purrdata.net/jwilkes/purr-data/-/tree/emscripten/emscripten/project/purr-data
and https://purrdata.glitch.me/ -
FFW
posted in Off topic • read moreIf you don't care of heaviness and dependencies, you very can use QT.
See https://doc.qt.io/qt-5/qtimer.html -
FFW
posted in Off topic • read more@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
posted in Off topic • read moreHi !
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
posted in technical issues • read more@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
posted in technical issues • read moreOk, so you improved [threshold~ 0.5 0 0.5 0] to ouput audio.
-
-
-
FFW
posted in technical issues • read moreHi,
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.shThe 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
posted in technical issues • read more@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
posted in technical issues • read moreHi,
Have you try to remove spaces in the string ?messnamed("notes", "60,64,67"); -
FFW
posted in technical issues • read more@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…

