Skip to main content

Crate sva_engine

Crate sva_engine 

Source

Re-exports§

pub use flops::Row as FlopRow;
pub use flops::Tree as FlopTree;
pub use flops::Work;
pub use query::Answer;
pub use query::Ask;
pub use query::DEFAULT_FRAME_SECS;
pub use query::Output;
pub use query::Representation;
pub use render::until::Cmp;
pub use render::until::Term;
pub use render::Block;
pub use render::Handle;
pub use render::NOTES;
pub use render::QUIET_AFTER_SECS;
pub use render::QUIET_LEVEL;
pub use render::QuietTail;
pub use render::Range;
pub use render::Render;
pub use render::RenderConfig;
pub use render::STREAMED;
pub use render::Stream;
pub use render::StreamConfig;
pub use render::Until;
pub use render::answer;
pub use render::answer_buffer;
pub use render::plan;
pub use render::quiet_tails;
pub use render::render;
pub use render::render_through;
pub use render::sketch_atom;
pub use render::warm;

Modules§

flops
instantiate
overload
query
render

Structs§

Alias
AliasBand
Argument
Arguments
Spans are bytes of the instance’s own body text, as outline of that text reports them.
BandCrest
BandTrack
Bands
Binding
Buffer
C64
Cache
Every value a render computed and chose to keep, under its content hash. A hit is the value the cold run wrote, so what is kept or evicted decides only what is computed again. A clone is a handle on the same store, which a stream holds for as long as it plays.
CacheStats
Every lookup in order, and the store as the render left it.
Called
One builtin call and the number each named argument came to where it was lowered. A finite-difference solver answers its whole parameter set as the solver was handed it, written false for a default it filled in.
Chosen
A min or max a call folded to a number; one in a filter’s, cast’s or rand’s positional is not listed.
Cost
Crest
The spread, not the level: the worst-rated master had the most low-band range.
Diagnostic
The three parts of FORMAT 7.1 and 8.3, which every engine refusal is written in.
EnvelopeFrame
Extent
Samples [start, end) of the one grid every node is read on, whose sample 0 is t = 0.
FormantFrame
residual and energy are mean squares, and neither derives from the other.
Frames
edited is set by any write, and is what makes a later istft label measured.
Hash
Two independently primed FNV-1a lanes: serving one closed form’s samples for another is silent corruption, so the width is set against birthday collisions rather than speed.
Label
LedgerEntry
Line
Located
Which node a refusal points at, and where inside its file. A graph holds no source text, so a byte span is as far as the engine can place a subterm.
Lookup
Loudness
LoudnessFrame
Meaning
unit is none for a pure number.
NoStore
NodeId
Order
One dependencies-first walk: the groups, what each node reads, and which are loops.
Persisted
PitchFrame
Profile
Schedule
What a render has to hold, and what it can leave as a closed form.
SpectralSum
Spectrum
StereoFrame
StereoImage
Store
Node values under their keys: a render stages, and only persist commits each value whole by rename, evicting the least recently used past the budget.
Stored
Traced
Ty
dual: the closed form on the other axis is in A too. Never set on samples or frames.
Typing
Up

Enums§

BindingFault
What went wrong binding one invocation’s arguments to one file’s free variables.
CachePolicy
Which values a render stores; whatever is not stored is computed again when asked.
Cast
Codomain
Detail
EngineError
Held
Outcome
PayloadKind
PrunePolicy
Rule
SignalKind
Source
Value
A closed form is cast-free on one axis; every crossing is its own node.
Var
When
A read’s instant: the exact time k*t + s written; a closed form of t held as a node; or an integer each sample evaluates.

Constants§

BAND_COUNT
BUILTINS
Every callable name besides the filter shapes.
DEFAULT_CACHE_BYTES
DEFAULT_MARK_EVERY
Samples between two states a run keeps, so a reader resumes from one at most this far back.
DEFAULT_SAMPLE_RATE
DEFAULT_STORE_BYTES
INDEX_NAME
MAX_PINNED_FRAME
One FFT’s memory, which is all that bounds a caller’s own frame.
MAX_WIDTH
Enough for surround; ambisonics is deferred rather than pretended at.
PSYCHOACOUSTIC_V1
RESERVED
Every name the language reserves; self is call-only, the rest are values.
STORE_FORMAT
Bumped by, and only by, a change to a stored value’s bytes.

Statics§

REGISTRY
Every code a judgment in this engine can refuse under, with what trips it. The prefix says which judgment refused, per FORMAT 16.

Traits§

Backend
Named bytes. A put is whole or absent: no reader sees half of one.
Through
A store, or nothing, that a render looks a node up in and reads its samples from.

Functions§

cache_log
Read once the render ends, so each lookup is counted as it finally settled: a run is stored only when its node ends. pass is what the render looked up before its first block.
check_structure
One inference, so a lint and a render refuse identically.
identity
What one node is, whatever it holds: its definition and the identities of what it reads, never where a reader places it.
is_builtin
meaning
None for a name builtin does not take, by name or, for a solver or a bank, by position.
measure_alias
The alias is what the base band holds and the oversamplex render does not. One bin grid for both, so no decimation filter blurs the top octave this is measuring.
named_may_move
A filter’s cutoff, q and gain, and a solver’s varying parameters, may move with t or read a signal: the builtin routes each itself. Every other named argument is one number.
nodes_in
Every node a written form names, in written order, so a caller answers each one.
pinned_frame
A caller checks this against MAX_PINNED_FRAME: a shrunk frame is not a pinned one.
recognized_named
None for a name is_builtin does not recognize.
schedule_from
A node two roots reach is grouped once, whichever reached it first.
spectral_sum_of
The spectral sum of one node read on want’s axis, with every ref it holds already composed in. A pair answers on either axis; anything else answers on its own.
symbolic_hash
What keys a closed form’s spectral sum wherever a reading composes one.
trace
No audio: structure alone, over the instances every root reaches, under the default profile.
types
One Ty per node, across refs, over the instances root reaches.
types_at
At rate, whose step each sp is.