Skip to main content

sva_samples/
lib.rs

1// Concern: the sampled representation and what produces or measures one | Non-concern: closed forms (sva-formula), nodes and refs (sva-engine) | IO: (ClosedForm, rate, extent) -> Buffer + Label
2
3pub mod biquad;
4pub mod buffer;
5pub mod collapse;
6pub mod error;
7pub mod fft;
8pub mod filters;
9pub mod frames;
10pub mod label;
11pub mod machine;
12pub mod measure;
13pub mod physics;
14pub mod profile;
15pub mod stft;
16
17pub use biquad::Coeffs;
18pub use buffer::Buffer;
19pub use collapse::{
20    ALIAS_OVERSAMPLE, AliasScore, Audible, Extent, Planned, Refs, Rows, crop_gain,
21    eval_spectral_sum_at, eval_written_at, lane_of, of_spectral_sum, of_spectral_sum_or_point,
22    planned, render, render_written, truncate_spectral_sum, truncate_written, unary,
23};
24pub use error::{CollapseError, SampleError};
25pub use filters::{Automation, AutomationFrame, FilterSite, FilterTrace};
26pub use frames::Frames;
27pub use label::{Cost, Detail, Dropped, Label, Pruned, Rule, Source};
28pub use machine::renderer::{
29    Between, Binary, BufId, Formula, Grid, Index, Map, NodeRenderer, Round, Site, SiteId, Slot,
30    Unary, Wrap,
31};
32pub use machine::tape::{Tape, Window};
33pub use machine::{Machine, MachineState, Span, Spanned};
34pub use measure::Consumes;
35pub use measure::alias::{
36    AUDIBLE_NMR_DB, Alias, AliasBand, PLAYBACK_DB_SPL, measure_alias, worst as worst_alias,
37};
38pub use measure::bands::{BAND_COUNT, BandFloor, BandTrack, Bands, DECIMATED_HZ, cam, erb_hz};
39pub use measure::crest::{BandCrest, Crest};
40pub use measure::envelope::EnvelopeFrame;
41pub use measure::formants::{Formant, FormantFrame, MAX_ORDER, default_order};
42pub use measure::ledger::{LedgerEntry, SignalKind, Unit};
43pub use measure::loudness::{Loudness, LoudnessFrame};
44pub use measure::pitch::{Note, PitchFrame};
45pub use measure::spectrum::{
46    Band, MAX_PINNED_FRAME, Peak, Spectrum, db, magnitudes, pinned_frame, third_octave_edges,
47};
48pub use measure::stereo::{StereoFrame, StereoImage};
49pub use physics::{Params, Solver, site};
50pub use profile::{PSYCHOACOUSTIC_V1, Profile};
51pub use sva_formula::Shape;