[PD] Dynamically instantiating arrays

Dan Wilken cubis at comcast.net
Sat Jan 3 12:15:23 CET 2004


Frank,

The patch you gave me helped a lot, got me wondering, is there any way
to create connections dynamically? within an open canvass? Say a 
message:

;
connect 0 2 1 1

I tried this and a couple of other things to no avial...

-Dan



the
On Thursday, January 1, 2004, at 03:00 PM, Frank Barknecht wrote:

> Hallo,
> Dan Wilken hat gesagt: // Dan Wilken wrote:
>
>> How can I dynamically create counting arrays?
>>
>> I've got a counter stepping a [makefilename sound%d] going to a [set
>> $1] going into a [tabwrite~] object and I think this is all working,
>> except now I need to dynamically create the arrays sound1, sound2,
>> sound3, etc.
>
> Is what the attached patch what you want?
>
>> Also, I'm hoping to pump this up to about 200 tracks, once recorded
>> they playback continuously. I've created separate, static programs to
>> do this, and have run thirty simultaneously with good results. BIG
>> hickups when opening files (a bug?
>
> Well, but a known one and hard to get rid off. File system operations
> by nature are not realtime safe. You could use readsf~ or writesf~
> which have precautions against hickups.
>
>> PD 3.6 on 10.2.8), but other than that, very clean sound. Do I need
>> to manage voices, or is that only for midi? I don't understand the
>> voices concept within PD, and haven't found how many PD can support.
>> Where's a good conceptual discussion of PD and Voices.
>
> See the [poly] help patch. Pd doesn't really know "voices" it is
> monophonic by nature. If you need polyphony you will have to create as
> many signal generators as needed. Some externals like dyn~ make this
> easier.
>
> ciao
> -- 
>  Frank Barknecht                               _ ______footils.org__
> <tabtest.pd>





More information about the Pd-list mailing list