Hallo!
From the pd help patches I saw, that I can reset a [list prepend] object, when I send it a bang to the right inlet.
Now I am using Frank's list-abstractions
creating a a sequence:
e.g. 0 1 2 3 4 5 6
then using
[last-x-2] | [list-rev] | | the I get pairs like: 0 1 1 2 2 3 etc..
Now my problem is that when I try to generate a new sequence -the [last-x 2] still gives me the last two entries of my former list. (e.g 2 3, 0 1, 1 2)
How can I reset the list object now-because inside [last-x 2] there is
[list split $1] which I cannot reset with a bang.
Thanks in advance,
Gerda
Hallo!
Now my problem is that when I try to generate a new sequence -the [last-x 2] still gives me the last two entries of my former list. (e.g 2 3, 0 1, 1 2)
How can I reset the list object now-because inside [last-x 2] there is
[list split $1] which I cannot reset with a bang.
I don't if that's what you want, but when you resend the size (e.g. 2 in your example) the object will be reseted !
LG Georg
Hallo, Georg Holzmann hat gesagt: // Georg Holzmann wrote:
Now my problem is that when I try to generate a new sequence -the [last-x 2] still gives me the last two entries of my former list. (e.g 2 3, 0 1, 1 2)
Better use list-lastx.pd, it's the same as last-x.pd, which will disappear sometime in the future.
How can I reset the list object now-because inside [last-x 2] there is
[list split $1] which I cannot reset with a bang.I don't if that's what you want, but when you resend the size (e.g. 2 in your example) the object will be reseted !
Yes, that's the only way currently to reset a list-lastx object. I guess I will introduce a [f] object after the second inlet, then you can send a "bang" to that object as well to reset the list without sending the number. As in attached version.
Frank Barknecht _ ______footils.org_ __goto10.org__
Juchu, that was it, just banging the size of [last-x $1] cleared the last list entries.
Danke schön!
Gerda Georg Holzmann wrote:
Hallo!
Now my problem is that when I try to generate a new sequence -the [last-x 2] still gives me the last two entries of my former list. (e.g 2 3, 0 1, 1 2)
How can I reset the list object now-because inside [last-x 2] there is [list split $1] which I cannot reset with a bang.
I don't if that's what you want, but when you resend the size (e.g. 2 in your example) the object will be reseted !
LG Georg