Hi, if I need my mouse interaction on a table to immediately affect controls of my patch (think of it as some sort of multislider or whatever), what I do is have a metronome getting values from it at a reasonably high rate with [array get].
That is far from ideal, this is why I want to design a new [buffer] object that outputs values from tables/arrays when you click on it and change them.
Any idea, hints or clues on how I could do that? And is there an interest that a new function in [array] could do that?
cheers
you can do this using an array drawn with data structures, and then [route click] to filter for the mouse action in the [struct] output of the template for the element of that array (not the template for the array itself).
Hi, if I need my mouse interaction on a table to immediately affect controls of my patch (think of it as some sort of multislider or whatever), what I do is have a metronome getting values from it at a reasonably high rate with [array get].
That is far from ideal, this is why I want to design a new [buffer] object that outputs values from tables/arrays when you click on it and change them.
Any idea, hints or clues on how I could do that? And is there an interest that a new function in [array] could do that?
Cool, I'm actually aware of that, but I really wanted to code an external that could access arrays from the "put menu", or [table]/[array define] objects.
Em dom., 24 de jan. de 2021 às 14:34, João Pais jmmmpais@gmail.com escreveu:
you can do this using an array drawn with data structures, and then [route click] to filter for the mouse action in the [struct] output of the template for the element of that array (not the template for the array itself).
Hi, if I need my mouse interaction on a table to immediately affect controls of my patch (think of it as some sort of multislider or whatever), what I do is have a metronome getting values from it at a reasonably high rate with [array get].
That is far from ideal, this is why I want to design a new [buffer] object that outputs values from tables/arrays when you click on it and change them.
Any idea, hints or clues on how I could do that? And is there an interest that a new function in [array] could do that?