[PD] sigmund list sort

labyrinthuscochlearis labyrinthuscochlearis at googlemail.com
Fri Feb 24 21:23:00 CET 2012


hi,

thank you, i will look at it right away!

all the best,
christian

Am Freitag, den 24.02.2012, 18:46 +0100 schrieb Frank Barknecht:
> Hi,
> 
> attached is an approach using data structures to do the sorting of peaks.
> Somehow I forgot how to set the sort field in a data structure and cannot find
> it in the docs. Wasn't there some way to specify a different field than "x" for
> sorting? (Maybe it was simply "sort <fielname>" which I didn't try in my quick patch.)
> 
> Ciao
> -- 
> Frank
> 
> On Sat, Feb 18, 2012 at 09:58:50AM -0800, Miller Puckette wrote:
> > I believe there's no good way to do this in pd vanilla.  THere should be
> > a 'list sort' but I haven't figured out what would be the best design.
> > (and there's probably already a list sort in Pd extended :)
> > 
> > cheers
> > Miller
> > On Sat, Feb 18, 2012 at 04:19:58PM +0100, labyrinthuscochlearis wrote:
> > > hi all,
> > > 
> > > what would be a good way to transform sigmund~'s peaks output so that I
> > > get a list with peak amplitudes but in the ascending order of the
> > > corresponding frequencies?
> > > 
> > > thanks,
> > > christian
> > > 
> > > 
> > > _______________________________________________
> > > 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
> 
> _______________________________________________
> 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