[PD] "prev" for Data Structures?

Frank Barknecht fbar at footils.org
Mon Apr 14 23:54:18 CEST 2008

Luke Iannini (pd) hat gesagt: // Luke Iannini (pd) wrote:

> I'm very keen to make a "scrubbable" sequencer that can be driven by
> [line]s rather than the usual [del]-based arrangement, but my current
> method of just dumping the entire data-structure on every tick and
> searching for elements whose x-value matches the current time requires
> twice the CPU I have available.
> I thought about mirroring the data-structure and traversing one or the
> other depending on direction, but I think this will get untenable
> quickly.

Maybe you can use an array field to store your events instead? You can
index this by an integer.


More information about the Pd-list mailing list