API Reference#

Every public symbol is reachable from the top-level adac namespace:

import adac
faust_code = adac.flamo_to_faust(model, fs=48000, name="MyReverb")

Compiler#

The codegen core: traverse a model, serialise to JSON, emit FAUST, and reconstruct a model from a config.

adac.flamo_to_faust

convert a flamo model directly to faust dsp source code.

adac.flamo_to_json

extract a json-serialisable config dict from a flamo model.

adac.json_to_faust

generate a complete faust .dsp source file from a json config dict.

adac.json_to_flamo

reconstruct a flamo model from a json config dict.

Hot reload#

adac.HotReload

re-emit a flamo model to faust and publish it to the running plugin.

Stability certificate#

adac.certify

compute a stability certificate for a json config dict.

adac.write_certificate

write a .cert.json certificate next to a generated .dsp file.

Export#

adac.export_juce

generate a juce plugin project from a config dict or faust code.