Hi everyone! Excuse me in advance for a somewhat cumbersome first post :-)
I’ve been toying around with vvvv for some time now (it rocks!), but my more textual programming oriented mind (C++) has brought me to a point where I can’t continue without asking.
I’ve got the setup you can hopefully see in the attached image:
The inputs for the queues can come from a mouse, a wiimote or whatever can give a (mapped) position in XY terms. At every change from the LFO, the current XY position gets inserted into the queues. Now the interesting (missing) part: I want each letter to be “born” at the said XY coordinates, but to move randomly upwards on every frame following its birth. How can I achieve this? I’ve tried lots of combinations with Framedelay, GetSpread, SetSpread, and the like with no success.
Another example, which hopefully will explain my problem better:
- We have a queue with 30 letters, and the corresponding X and Y position queues.
- At frame F, the LFO bangs a change; the current X and Y positions get inserted (the former “slice 29” gets discarded).
- Now, at frame F, “slices 0”, shouldn’t get updated, but slices 1 to 29 should (for example adding 0.01).
- This is, at F slice0position=(X,Y). At F+1 slice0position=(X+0.01,Y+0.01). At F+2 slice0position=(X+0.02, Y+0.02). etc
- But all of this taking into consideration that a new element gets inserted at each bang from the change pin in the LFO. This means the indexes get shifted at every time interval of the LFO.
And that’s the reason it’s drivig me crazy. I can’t seem to create a correct update “loop” which accounts for the shifting slice indexes. Thanks in advance for any pointers in the right direction!
P.S.: I’ve tried writing a plugin in C#, but I can’t figure out some problems with the sign (positive or negative) of the value that gets added to the position.