adac.write_certificate#

adac.write_certificate(config: dict[str, Any], dsp_path: str | Path, *, n_freq: int = 1024, controls: dict[str, Any] | None = None) Path[source]#

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

returns the certificate path. the certificate describes the same config the .dsp was generated from; the caller is responsible for keeping the two in step (including passing the same call-time controls that were given to json_to_faust).