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, horizon) -> 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, Horizon, Refs, eval_spectral_sum_at, eval_written_at,
21    lane_of, of_spectral_sum, of_spectral_sum_or_point, render, render_written,
22    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, Rule, Source};
28pub use machine::Ctx;
29pub use machine::renderer::{Binary, BufId, NodeRenderer, Site, SiteId, Unary};
30pub use measure::Consumes;
31pub use measure::alias::{
32    AUDIBLE_NMR_DB, Alias, AliasBand, PLAYBACK_DB_SPL, measure_alias, worst as worst_alias,
33};
34pub use measure::bands::{BAND_COUNT, BandFloor, BandTrack, Bands, DECIMATED_HZ, cam, erb_hz};
35pub use measure::crest::{BandCrest, Crest};
36pub use measure::envelope::EnvelopeFrame;
37pub use measure::formants::{Formant, FormantFrame, MAX_ORDER, default_order};
38pub use measure::ledger::{LedgerEntry, SignalKind, Unit};
39pub use measure::loudness::{Loudness, LoudnessFrame};
40pub use measure::pitch::{Note, PitchFrame};
41pub use measure::spectrum::{
42    Band, MAX_PINNED_FRAME, Peak, Spectrum, db, magnitudes, pinned_frame, third_octave_edges,
43};
44pub use measure::stereo::{StereoFrame, StereoImage};
45pub use physics::{Params, Solver, site};
46pub use profile::{PSYCHOACOUSTIC_V1, Profile};
47pub use sva_formula::Shape;
48
49pub const SOURCE_HASH: &str = env!("SVA_SAMPLES_SRC_HASH");