sc3.synth.ugens package

Builtin UGen classes package.

install_ugen(ugen)

Makes a single ugen available to sc3.synth.ugens.installed_ugens (required by SynthDesc for the ugen to be valid).

install_ugens_module(name, package=None)

At the end of an external ugens module call install_ugens_module(__name__) to make all classes available in sc3.synth.ugens.installed_ugens. Parameters name and package are the arguments of importlib.import_module().

install_ugens_package(path, name)

Call this function in the __init__.py file of an ugens package with __path__ and __name__ as arguments to make all classes available in sc3.synth.ugens.installed_ugens. Parameters path and name are used as arguments for pkgutil.walk_packages().