< Back to IRCAM Forum

Spat5.trajectories speed control

Hi,

I am trying find out how the trajectories /rate, /speed, and /type interact. Experimentally, it seems like speed is roughly degree/second for most things (eg /type circle, /rate 180, looks like a 2 second rotation). Is there a more detailed description anywhere?

Also, is there any way to restart the type or jump to a position to start from?

Cheers,
Jimmy

Hi Jimmy,

Good question !

it seems like speed is roughly degree/second for most things

The /rate parameter specifies the update frequency for new messages (approximate time interval between two consecutive output messages).
The /speed message defines the amount of “jump” between two consecutive positions. However, this is an “abstract” parameter that does not relate to physical quantities (like distance travelled or actual speed in degrees/second). It’s really just an arbitrary factor that tells how fast/slow a trajectory (of a given type) goes.

spat5.trajectories is intended as a creative tool, not a “physical simulator”.

That said, I attach below a patcher that estimates the instantaneous velocity, if that can be useful for you.

Also, is there any way to restart the type or jump to a position to start from?

Could you clarify ?

Best,
T.


----------begin_max5_patcher----------
5350.3oc6cs9jqhak+yc+WAkq4CIY61sj.If8SalLI2sp8N6NUl6VSs0MS0E
FK6VSiAG.2Otox729pG.Fv.VfA69NouIiaLhGmyuyCczQGI+Ot9pYKhdglLy
3e23yFWc0+35qtRdJwItJ66WMai2K9AdIxKa1FZRh2Z5raTskReIUdd+.pWb
9Yi1kFPSSecKU8nmMy3myZZqWp+Crv02GS8SUsh.yA2Xfsj+wDI9DAmCJtkv
caXg7mmj.PYmjsT9ZiV7K25.ms+JUuZ4kBEm7ed80hOtQS1Kj9L+Qd.2s03I
ZPjOK80VYwUAQdoytI+ftXXBbtiM9FCKEKiPNygHbWbM7Pt11sYtFU98Riy3
0Ll8pYqXAzmnwIrnvRO3ql4scaoSeUoaQfP+Rj7A4bSwoXgpSgJNUL8IV98C
JNqWLm6S4r9tXIRM6Eh0r8Olnkz3vcrBwkTVkQRRoRnGWiaqmu5lEBu7l2im
XWALBAVR8HW4errb2Clbo9Zt36Q5xxD2rnszPV31XZBML0KsFsOaIck2tfz6
WEEllv9hjBfbQTSsuJiBarQAOHI++XLyKnfAVGyVFEJHhx.o7z4utOy4JEu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+IozU6BBROZlkqWKXNXLTkJPhosopdDIbqmtxz
uXSpyVdojhAtHhM2dT8FjyToCJa4CLHXDe7NDS01tWtVtIx0z04xiGzj2V6z
AOKFmzq8OsB.AZIGngYFHw8SlkYz5EY2dFxjnSE6o2FPScKxuiEm9pwedczw
RaEz0EPbx5fwJaZHI.fpnccGBvp1yKkScgfhR1lImj+hZb8+75+e.8NSkBC
-----------end_max5_patcher-----------

Thanks, that clears things up for me.

I feel a little silly, but I have been under the weather, and honestly forgot that I long time ago I learned all about parametric & polar equations. And that a phasor~ or two into the correct equations will do everything I was after in terms of positions to jump to or start from.

Thanks for helping me figure this out by making me put my questions into words!

Cheers,
Jimmy