How does el.time
node work?
#17
-
So far I haven't found any examples on how to use the el.time node and how it works. So I hope I can get more information on it here 🙏🏻 Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes of course! The time node (only available in the web-renderer and offline-renderer) outputs a signal that is very literally a monotonically increasing count of elapsed samples that the Elementary engine has processed. This allows you to coordinate various signals i.e. "time sync" or "host sync." It's quite a simple utility; but you can derive useful data out of it. For example, if you know that the current time is T (based on el.time) then you can use your own BPM and time signature information (if you have it; or if it applies to your application) to calculate a |
Beta Was this translation helpful? Give feedback.
Yes of course! The time node (only available in the web-renderer and offline-renderer) outputs a signal that is very literally a monotonically increasing count of elapsed samples that the Elementary engine has processed. This allows you to coordinate various signals i.e. "time sync" or "host sync."
It's quite a simple utility; but you can derive useful data out of it. For example, if you know that the current time is T (based on el.time) then you can use your own BPM and time signature information (if you have it; or if it applies to your application) to calculate a
ppqn
orppq
signal like you might find in a DAW or in a MIDI file. That signal could tell you where you are within the curre…