Getenv:
Filter:
Classes (extension) | UGens

Getenv : UGen : AbstractFunction : Object
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.

Class Methods

Inherited class methods

Undocumented class methods

Getenv.new(key, defaultval: 0)

Instance Methods

Inherited instance methods

Examples