Getenv:
Filter:
sc3-plugins/Classes (extension) | UGens

Getenv
ExtensionExtension

Read (numeric) shell environment variables into a synth

Description

Tries to grab a shell environment variable (with name key) and convert it to a floating-point value, which is output.

If the environment variable is not set, defaultval is output.

If the environment variable cannot be converted to a floating-point value, the output is zero.

NOTE: the shell context is that of the server, not the client.

Examples