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 grid;
11pub mod label;
12pub mod machine;
13pub mod measure;
14pub mod physics;
15pub mod profile;
16pub mod resample;
17pub mod stft;
18
19pub use biquad::Coeffs;
20pub use buffer::{Buffer, SampleView};
21pub use collapse::{
22    At, Audible, Evaluator, Rows, crop_gain, dropped_db, eval_spectral_sum_at, lane_of,
23    truncate_spectral_sum, truncate_spectral_sum_read, truncate_written, truncate_written_with,
24    unary,
25};
26pub use error::{CollapseError, SampleError};
27pub use filters::{Automation, AutomationFrame, FilterSite, FilterTrace};
28pub use frames::Frames;
29pub use grid::{BLOCK, Extent, Grid, Round, block_end};
30pub use label::{CuttingBelowSilenceThreshold, Detail, Dropped, Label, Rule, Source};
31pub use machine::renderer::{
32    Between, Binary, BufId, Formula, Index, Map, NodeRenderer, Site, SiteId, Slot, Unary, Wrap,
33    Written,
34};
35pub use machine::{Machine, MachineState, Span, Spanned};
36pub use measure::Consumes;
37pub use measure::alias::{
38    AUDIBLE_NMR_DB, Alias, AliasBand, PLAYBACK_DB_SPL, measure_alias, worst as worst_alias,
39};
40pub use measure::bands::{
41    BAND_COUNT, BandFloor, BandTrack, Bands, DECIMATED_HZ, Knot, LEAST_PRUNE_DB, Prune, PrunedBand,
42    PrunedBands, cam, erb_hz,
43};
44pub use measure::crest::{BandCrest, Crest};
45pub use measure::envelope::EnvelopeFrame;
46pub use measure::formants::{Formant, FormantFrame, MAX_ORDER, default_order};
47pub use measure::ledger::{LedgerEntry, SignalKind, Unit};
48pub use measure::loudness::{Loudness, LoudnessFrame, RateUnderWeighting};
49pub use measure::onsets::{IoiBucket, Onset, Onsets};
50pub use measure::pitch::{Note, PitchFrame};
51pub use measure::spectrum::{
52    Band, MAX_PINNED_FRAME, Peak, Spectrum, db, magnitudes, pinned_frame, third_octave_edges,
53};
54pub use measure::stereo::{StereoFrame, StereoImage};
55pub use physics::{Params, Solver, site};
56pub use profile::{PSYCHOACOUSTIC_V1, Profile};
57pub use resample::{Recorded, Resampled};
58pub use sva_formula::Shape;