-
60hz
@whale-av said:
https://forum.pdpatchrepo.info/topic/14373/chatgpt-to-generate-pd-patch
I will try to connect to chat gpt API tomorow using [shell] etc and see if I can parse useful stuffs
Maybe using purest_json external... but It seems that I need to add credit in an account first. -
60hz
The closest thing I tried is https://soniccharge.com/synplant
Synthplant 2 vst, can listen to any sound, build a synth based on some FM patch magic that reproduce it sometimes at an incredible level of realism.
-
60hz
You should check that you don't have a patch named "comport" in one of you known path.
-
60hz
Plug data allows to drag and drop any file into the patch in order to get its path into a message.
That's very convenient.Edit: I see that the drag and drop trick don't use escaped character so I will fill a bug report... should be fixed soon.
-
60hz
ceammc library have [snd.play~] that can read and import WAV, AIFF, MP3, AAC, ALAC etc... There is also [snd.file] that is the same as [soundfiler] but import all file format to a buffer. This package could literally replace basically all other libs. You can find it on deken or https://github.com/uliss/pd-ceammc/releases/tag/v2023.10
-
60hz
@rg.kies said:
I think the PuREST_JSON Library could be a good try. There is the [rest] object which can send GET requests! I don't know much about the details there but it can definetly contact a server and get something back without opening a browser!
This is a wonderful project, but I always have issues with this lib under MacOS... There is a version in deken but It seems outdated. The project moved to https://codeberg.org/Residuum/PuRestJson
-
-
60hz
You can use [hoa.decoder~] from ceammc lib. It has all the updated hoa library for that.
-
60hz
Hi,
I would like to know a native way in pd to alterate the data of a videofile.
Reading an mp4 with [text] or [soundfiler] objects cannot export to a valid video file... I guess this is a header issue but not really sure how to import/export to a video format.Thanks
-
60hz
great @oid, it's working well now! (the one updated from https://forum.pdpatchrepo.info/topic/14537/poly-for-anything/16 because I think spoly3.pd was faulty)
Thanks also @jameslo for this very nice patch! It's more than I need but it is very useful.
I really think this kind of multipurpose abstraction should be shiped in puredata, along with [clone] to fullfill basic need and be consistent with Miller clone logic.
-
60hz
Thanks @oid, I tried [spoly] but still dont't full y understood how it is working. Maybe I am not clear using english, but what I am searching to do is simply tagging the first 4 id depending on their leading symbol, and then keeping only 4 or more last active ones because I don't want to have too many active ID's.
-
60hz
@ben.wes said:
sequential_remessage.pd
I think this one is already nice because It works well for giving any input message starting with a name, a new ID to feed [clone].
my list is
Arene 0.2 1 0 0.5
Musee 0.2 1 0 0.4
...what is your desired output and what do you get out?
I am trying to add a [poly] behaviour to the tag ID object, so I have no more than N channel playing at same time with voice stealing.
But with @whale-av advice about using [switch~], I can load many abstractions in clone and activate only active ones. -
60hz
@oid The tagging is working but It needs to send all messages once in order to work properly.
-
60hz
Wow, thank you @ben.wes and @oid!
This forum is really full of incredible and helpful people
I will test this tomorrow, today I already fixed many things and all my pd patches are really behaving well so I am confidant about this last osc step!
-
60hz
@jameslo said:
Edit: wait, you only need to keep track of 4 to 8 voices? Dang, just manage things in [text] using search and don't worry about it.
Thanks @jameslo Yes, that's exactly what I am doing now, I get an ID from my list of leading symbol and route it to [clone 24 generators ... ]. It is not the best since if there is an updated messafge later, my list will be obscolete but it works. I need to see how it behave tomorow with OSC messages running...because I am worried about the parsing, since I am doing some process after all that and the pd order of executions need to be perfect.
You could use [switch~] to turn their dsp processing on and off, and fade their output in and out with [line] and [* ~] before activating [switch~]....... and that will save you loads of cpu.
Oh yes, I forgot about it thanks @whale-av WIll try tomorrow !
-
60hz
I try to keep no more than 4 or 8 abstractions running at the same time, since they are quite cpu intensive...
Dynamic patching is too experimental to use I think and will add lot of click when create/disconnect etc... (I don"t think it's a good idea to run a dynamic instance of a sound generator on osc messages at all...)
I have something working now and used clones, but I gave up on voice stealing. So I have 24 version of my abstractions with sound generators running in parallel :/ I would prefer a way to have less instances since I think I won't activate more than 4 or 8 of them at once.
-
60hz
The list is like "name 0 0 0 0" where float numbers carry continuous changing parameters sent using osc.
The name vary from like 20 different ones... so I am trying to keep the last 4 active ones and route them to 4 sound generators using [route 1 2 3 4] for example.The difficulty is keeping track of an ID and the id is a symbol...
Since it is osc the list can have some new messages during time:
Arene 0.2 1 0 0.5 Musee 0.2 1 0 0.4 Arene 0.22 1 0 0.55 Musee 0.1 1.2 0 0.5
-
60hz
And it looks that what I finally need is something a bit different than [poly]... because I need to route the 4 last leading names of my list as an route ID, not redistribute them like poly... hmmm