[PD] maximum number of outlets, pd file format
Miller Puckette
mpuckett at imusic1.ucsd.edu
Tue Jul 28 03:31:37 CEST 2009
Hi Peter,
try changing this line in d_soundfile.c:
#define MAXSFCHANS 64
I never thought anyone would want more than 64 :)
Miller
On Mon, Jul 27, 2009 at 05:54:10PM -0700, Peter Plessas wrote:
> (replying to myself)
>
> this is only an issue with readsf~.
> An [unpack] with 120 arguments and outlets works and saves fine.
> Seems to be sth. within readsf~.
> Initiating that object as [readsf~ 120] does not give an error msg. But
> is seems it is only created with 64 outlets. The multichannel-wav format
> seems to allow for more channels than that, i was able to create a file
> without errors, with its channels getting displayed in audacity (before
> that software gracefully crashes)
>
> PP
>
> Peter Plessas wrote:
> >Dear list,
> >
> >i want to create a [readsf~] with 120 audio outlets, and connect them to
> >somewhere. I create that very patch in a text editor, since i don't want
> >to pull that many patchcords. If i open that patch with pd, it seems to
> >load it fine, but if i save the same patch from within pd, the maximum
> >number of outlets gets truncated at 64.
> >While i perfectly understand that no one ever thought about someone
> >needing 120 outlets (and yes, there is a reason why i attempt this :-)),
> >it seems 2^6 is a limit for pd's patchfile format.
> >
> >didn't find something in the archives, anyone already had this? Could
> >there be a simple change to pd's sources to increase that limit?
> >
> >thanks!
> >Peter
> >
> >_______________________________________________
> >Pd-list at iem.at mailing list
> >UNSUBSCRIBE and account-management ->
> >http://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list