sorting CHOP channel samples

   3075   4   2
User Avatar
Member
36 posts
Joined: Feb. 2009
Offline
Hi,

If I have a CHOP channel with a bunch of varying sample values…
How do you sort them into descending or ascending order?
Seems like a simple thing to do but can't figure it out.

Thanks!
Pav
User Avatar
Member
4262 posts
Joined: July 2005
Offline
Reorder CHOP?
if(coffees<2,round(float),float)
User Avatar
Member
36 posts
Joined: Feb. 2009
Offline
The reorder chop works on the channels in a CHOP right?
What if its the samples of a one channel that you want to sort.

I'm new to chops so I'm probably missing something fundamental.

Thanks
User Avatar
Member
1390 posts
Joined: July 2005
Offline
pgrochola
The reorder chop works on the channels in a CHOP right?
What if its the samples of a one channel that you want to sort.

I'm new to chops so I'm probably missing something fundamental.

Thanks

I think not so fundamental, although you have an easy option to pass your samples to sops and sort it there. Other than that, you will have to scrub your own sorting routine in vex I suppose.
User Avatar
Member
36 posts
Joined: Feb. 2009
Offline
Thanks symek,
Thats what I suspected.
I'm surprised there isn't an easy way to do this… :?

Oh well, I did exactly what you suggested last night… sorted it in sop level.
Works fine, cheers.

Pawel
  • Quick Links