just noticed that an array that is recording, will update itself visually, if the array is moved just a bit. is there a way to use the metronome to move the array left+right while metronome is playing and to stop the movement when metronome is disabled?
-
can an array object be moved with a metronome, like shift left & then right?
-
@esaruoho [iemguts/canvasobjectposition] and you can also do it without mouse messages but that will interfere with your being able to use the mouse. But sending the array a message like normalize or changing color between black and very dark grey may also force an update? Look in the array help->reference for the messages you could send.
-
@esaruoho So you don't really want to move it....... you are still looking for a way to have a constant update (while it is actually updating).
Some messages will update the [array] as @oid says..... and there are many......... https://forum.pdpatchrepo.info/topic/10720/change-appearance-of-an-array-by-sending-a-messageBut there is only one message that will do so without changing the data or the appearance.....
[;
arrayname rename arrayname(
....... renaming the array with the same name will cause a redraw.I am a bit loathe to point you in these directions as it will create more fun.....
When an array is updated Pd will send a ping message..... that could be used to update again, but maybe a small delay would be advisable (feedback overflow)..... https://forum.pdpatchrepo.info/topic/11501/get-array-values-when-they-are-updated
For [array define] a copy can be created for display...... could also be done with a [metro]...... https://forum.pdpatchrepo.info/topic/12072/display-an-array-define-array-constantly
But too fast updating will cause dropouts.
David. -
@whale-av said:
@esaruoho So you don't really want to move it....... you are still looking for a way to have a constant update (while it is actually updating).
hi, thanks! i ended up doing a 1 second update with changing color 111 to color 112 and back again.
this helps a great deal. i originally tried
width 1
followed bywidth 2
but it made the array visually jitter (down,up)