Re: [PD] Nestable Dictionaries in Pd

2021-09-08 Thread João Pais
just recalled something, see the following patches in my tutorials: data-s_09.pd for array encapsulation, and data-s_09a.pd on how to use [array] and [text] to interact with data structures. afaik that is still up to date info. Dear all I am trying to find the most Pd-vanilla-way to

Re: [PD] Nestable Dictionaries in Pd

2021-09-08 Thread João Pais
can you post an example of a parsed content? Thanks all for the pointers. Now it is on mer to check the other tutorials > and find a way around. Our object does parse json in and out to file and > std if needs be, the only idea here is a batch interface with Pd so users > can input and retrieve

Re: [PD] Nestable Dictionaries in Pd

2021-09-08 Thread Pierre Alexandre Tremblay
Thanks all for the pointers. Now it is on mer to check the other tutorials and find a way around. Our object does parse json in and out to file and std if needs be, the only idea here is a batch interface with Pd so users can input and retrieve en masse to our dataset world (with mlp and umap

Re: [PD] Nestable Dictionaries in Pd

2021-09-08 Thread João Pais
is jmmmp/cellblock a model of what you could use? but adapted to lists and maybe not so complex? I tried opening your first example in [text]. As I thought, the issue is that commas are already reserved in pd for line changes. The output is this (I added a line number at the start of each

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Alexandre Torres Porres
there's also one at https://github.com/porres/Live-Electronics-Tutorial/tree/v1.0-beta-43/Examples/Part.12-Advanced.Pd/37-Data.Structures but not fully completed yet Em ter., 7 de set. de 2021 às 18:04, João Pais escreveu: > you still have my data structures tutorials? that might be easier

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread João Pais
you still have my data structures tutorials? that might be easier than the documentation. I’ll give tutorial 4 a go, with the hints of everyone to see how far I can go. On 7 Sep 2021, at 20:34, Miller Puckette wrote: The least-horrible way to learn about it is the "4.data.structures"

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Pierre Alexandre Tremblay
I’ll give tutorial 4 a go, with the hints of everyone to see how far I can go. > On 7 Sep 2021, at 20:34, Miller Puckette wrote: > > The least-horrible way to learn about it is the "4.data.structures" tutorial > sequence. > > But the whole idea of hierarchical data structures maps horribly to

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Miller Puckette via Pd-list
The least-horrible way to learn about it is the "4.data.structures" tutorial sequence. But the whole idea of hierarchical data structures maps horribly to a patch language - there needs to be a better way to access 'data' in Pd. cheers M On Tue, Sep 07, 2021 at 08:23:58PM +0100, Pierre

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Pierre Alexandre Tremblay
There are plenty of examples indeed :) I’ll give struct with text and arrays a fair fight, I find the doc especially quite hard to follow for non-graphical usage but it might just be me. > On 7 Sep 2021, at 19:23, João Pais wrote: > > Does the max documentation of flucoma has concrete

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread João Pais
Does the max documentation of flucoma has concrete examples of what you're looking for? There is the purest_json library (which isn't vanilla), but maybe with some hacking it might be possible to read files. Not sure about writing, but my hacking isn't up to date with the current pd state.

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread José Rafael Subía Valdez
Hello Pierre "does not allow to do symbols and (list of) floats" not with the set object but with the text and the array object that have a data structure specific part in their documentation. On Tue, Sep 7, 2021 at 10:24 AM Pierre Alexandre Tremblay < tremb...@gmail.com> wrote: > Thanks for

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Pierre Alexandre Tremblay
Thanks for the quick reply! 2 use-cases. 1- we can generate or retrieve a dataset's content to use natively in the creative coding environment (Max Pd Sc) so that it integrates in other workflows of data mangling and drawing. We already have in our dataset object file support and single point

Re: [PD] Nestable Dictionaries in Pd

2021-09-07 Thread Christof Ressi
Can you give an example of how the data is structured? In which ways are users supposed to interact with the data? Christof On 07.09.2021 16:37, Pierre Alexandre Tremblay wrote: Dear all I am trying to find the most Pd-vanilla-way to interface with our Dataset object in the FluCoMa project.

[PD] Nestable Dictionaries in Pd

2021-09-07 Thread Pierre Alexandre Tremblay
Dear all I am trying to find the most Pd-vanilla-way to interface with our Dataset object in the FluCoMa project. In Max and SuperCollider we use Dictionaries, which are nestable and queryable in powerful programmatic ways, working essentially like interfaces to JSON-like data structures.