Skip to content

getenv

getenv retrieves the value of an environment variable and outputs it as a symbol, making values such as HOME available in a Pd patch. The variable name can be supplied as an argument or changed with a set message, and a bang triggers the output.


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 motex and install it. Then create an object with declare -lib motex -path motex. Finally, use getenv or any other object from motex.

  • Available for .

Similar


    Comments

    Contributors