Skip to content

fold

The fold object mirrors an input value back into a specified low and high range. It acts like a mirroring function, ensuring that any value outside the defined boundaries is "folded" back into the range. This is useful for constraining values within a specific interval while preserving their relative position through reflection.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for else and install it. Then create an object with declare -lib else -path else. Finally, use fold or any other object from else.

  • Library developed mainly by Alexandre Torres Porres.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors