Hello,
I'm wondering if there is an object to deinterleave a list into two lists? I'm sure this must be simple but I'm still getting to know pd (coming from maxmsp).
Many Thanks Peiman
there is a useful library called [list-abs], which has lots of those sort of things, but in this case, i couldn't find exactly what you're after. Here's a patch that does what you want though:
Wow that's great. Thanks you very much indeed. Now I'm going to figure out how it works.
All the Best, Peiman
On 5 October 2012 00:06, i go bananas hard.off@gmail.com wrote:
there is a useful library called [list-abs], which has lots of those sort of things, but in this case, i couldn't find exactly what you're after. Here's a patch that does what you want though:
basically what i did, was drip the list one element at a time, using [list-drip]. Then, i prepend each element with alternative 0's and 1's, generated by [f ]x[==]. By using [route], those elements are then sent alternatively left and right to an accumulator made with [list prepend]. finally, each resulting list is banged to send the full result.
i'm n sure if there might be a simpler way, but that was the simplest i came up with.
Thanks for the explanation. That's really clever.
Best, Peiman
PS this kind of user-community support is exactly why I decided to leave max behind. Try asking a question on the max forum these days!
On 5 October 2012 10:42, i go bananas hard.off@gmail.com wrote:
basically what i did, was drip the list one element at a time, using [list-drip]. Then, i prepend each element with alternative 0's and 1's, generated by [f ]x[==]. By using [route], those elements are then sent alternatively left and right to an accumulator made with [list prepend]. finally, each resulting list is banged to send the full result.
i'm n sure if there might be a simpler way, but that was the simplest i came up with.
Le 05/10/2012 11:47, peiman khosravi a écrit :
Thanks for the explanation. That's really clever.
Best, Peiman
PS this kind of user-community support is exactly why I decided to leave max behind. Try asking a question on the max forum these days!
On 5 October 2012 10:42, i go bananas <hard.off@gmail.com mailto:hard.off@gmail.com> wrote:
basically what i did, was drip the list one element at a time, using [list-drip]. Then, i prepend each element with alternative 0's and 1's, generated by [f ]x[==]. By using [route], those elements are then sent alternatively left and right to an accumulator made with [list prepend]. finally, each resulting list is banged to send the full result. i'm n sure if there might be a simpler way, but that was the simplest i came up with.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Another possibility... ++
Jack