Forum

Understanding operations

According to the graybook :

Operations define a simple functionality. They take input, apply their function to it and return a result. Operations cannot hold state, meaning they cannot store any data between consecutive calls.

But I’m not sure when I should decide to create an operation instead of a process node ?

“Operations cannot hold state, meaning they cannot store any data between consecutive calls. This also means that you cannot use any Process nodes (e.g. LFO, Damper,…) in them as those are stateful and therefore can only be used in a stateful context which an operation does not provide.”

So I guess as long as you don’t need to hold state go for an Operation.

as they are just static methods in programming terms, you can also ask the internet:

2 Likes