Joseph Zitt hat gesagt: // Joseph Zitt wrote:
Another newbie question... I'm trying to figure out how to make an array of arrays, or at least I think I am. What I'd like to do is to sample sounds from adc~ into a table or array (and I remain a bit confiused over whether they're the same thing, and the necessary relation of the visual array diagram to them), and them append each of them into an array of those, from which I can pick them out and play them as needed or randomly.
(table and array are basically the same except that tables live in their own object windows and that you can give them $-names which is nice in subpatches. All array documentation is valid for tables, too)
You could make an index table that indexes the sample-tables you would like to play, and then "tabread" through this table. I attached an example patch, that works like this. Then you can either random play through this sequence or play through the sequence in order with a simple counter. The nice thing about this is that tables can easily be saved to textfiles if you send them "save to.txt" messages and you can reload them with "read" messages. See also the help patch "42.PART6.analog.sequencer.pd".
Part of this seems to require creating templates, but from going through all the docs that I can find and playing around with them, I remain unclear on the whole template thing. I have a feeling that the documentation is assuming some paradigm that I haven't gotten yet.
Me neither, unfortunatly. Maybe I'll dive into this in the christmas holidays...
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\