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 query::Answer;
pub use query::Ask;
pub use query::DEFAULT_FRAME_SECS;
pub use query::Output;
pub use query::Representation;
pub use render::Render;
pub use render::RenderConfig;
pub use render::answer;
pub use render::answer_buffer;
pub use render::render;
pub use render::sketch_atom;

Modules§

flops
instantiate
overload
query
render

Structs§

Alias
AliasBand
BandCrest
BandTrack
Bands
Binding
Buffer
C64
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.
DiskCache
Entry
EnvelopeFrame
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.
Horizon
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.
Loudness
LoudnessFrame
MemoryCache
NodeId
Order
One dependencies-first walk: the groups, what each node reads, and which are loops.
PitchFrame
Profile
Schedule
What a render has to hold, and what it can leave as a closed form.
SpectralSum
Spectrum
StereoFrame
StereoImage
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.
Cast
Codomain
Delay
A sampled loop’s step count is only known once an observation names a rate.
Detail
EngineError
Expected
An entry not matching this is a miss, never a coercion.
Held
Offset
A duration is an index offset only once an observation names a rate.
Payload
A spectral sum, one collapse of it, or one analysis of that collapse.
PayloadKind
Read
The four ways a node reads another, one per representation the reading node holds.
Rule
Shift
A read at the sample being written, at a constant delay in seconds, or at whole steps.
SignalKind
Source
Value
A closed form is cast-free on one axis; every crossing is its own node.
Var

Constants§

BAND_COUNT
BUILTINS
Every callable name besides the filter shapes.
DEFAULT_SAMPLE_RATE
IO_NANOS_PER_BYTE
Recompute wins a tie; tests/stores.rs prices a round trip against it.
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

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§

Cache

Functions§

buffer_key
One closed form at one rate, origin and width, scored or not: the label is part of the value.
check_structure
One inference, so a lint and a render refuse identically.
identity
What one node is, whatever it holds: its closed form’s own form, else the tree it was built from.
is_builtin
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.
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.
rate_dependent
Every instance whose samples are a function of the RATE, not just of t.
recognized_named
None for a name is_builtin does not recognize.
resolve
A form reading a form substitutes and allocates nothing; a sampled node reading anything reads a buffer, at the index offset the call site wrote.
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 and every buffer collapsed from it.
symbolic_key
A hash carries the table version, so a bump retires every symbolic entry.
trace
No audio: structure alone, over the instances every root reaches.
types
One Ty per node, across refs, over the instances root reaches.