Skip to main content

Module recipe

Module recipe 

Expand description

The render recipe: the one fixed performance that every render plays.

The recipe carries an integer version. Any change to a field raises it, and every render record carries it, so two renders compare only when their versions match. A snapshot of the recipe at each version, and a hash of that snapshot, guard the rule: a field that changes without a new version fails those tests.

Structs§

ClipEnd
Where a clip ends.
Recipe
The render recipe. Recipe::current is the only constructor, so a recipe always matches its version.
TailWatch
Finds the end of a clip while it renders, one frame at a time.

Enums§

Material
What kind of sound a recipe clip plays. A pluck plays as a lead.
Oversampling
The oversampling of Vital, its only quality setting. The preset stores it as the index of the factor.
PreRoll
One step of the pre-roll, which plays after the state load and before the clip and is thrown away.
ProcessMode
How the host tells the plug-in it processes.

Constants§

RECIPE_VERSION
The version of Recipe::current.