In the pd conv in Weimar I gave a workshop on data structures, where mainly I adapted Frank's tutorial and added content of my own. Afaik, this is the most accessible tutorial for data structures for now. I wanted to steal Frank's symbol-array as well, but since I didn't redo this workshop again, it's not included yet (although I used it for myself at some point).

You can find it at https://dl.dropboxusercontent.com/u/6624940/data-s.workshop.jmmmp.zip

Data structures are vanilla-only, there aren't any extended objects that work with them.

You might be able to do what you want without data structures (probably much faster with a [coll], as they're cumbersome to program), but

Best,

Joao

Hi,

On Mon, May 04, 2015 at 01:18:46AM -0400, William Huston wrote:
What I want to do is to be able to store and recall
a symbol and also a list given an integer index.

Like given index 7 might return "SUS4" and [1 4 5(
and index 9 might return "MAJ7" and [1 3 5 7(.

a long while ago I wrote an [symbolarray] abstraction:
http://lists.puredata.info/pipermail/pd-list/2009-04/069840.html

This already allows storing symbols into an array. By extending the [struct $0-sym symbol name] structure with an "array" field, you could also make it to
store the interval lists.

Ciao

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to