Skip to main content

Module template

Module template 

Source
Expand description

Where the template of a preset comes from: a path on the command line, a file the adapter knows about, or a template built into the binary.

locate_template applies that order. A path the user names that does not exist is an error, never a reason to fall back.

Structs§

Template
The bytes of a template and where they came from.
TemplateCheck
One finding about a template.
TemplateHelp
The text that tells a user how to make a template.

Enums§

Origin
Which step of locate_template supplied the template.
Severity
How serious a TemplateCheck is.
TemplateError
No template could be found or read.

Traits§

TemplateSource
The template rules of one synth.

Functions§

locate_template
Finds the template: the command-line path, then the first existing candidate, then the built-in template.