1#![cfg_attr(not(test), deny(clippy::unwrap_used))]
13
14pub mod aed_weights;
15pub mod aqa;
16pub mod capability_registry;
17pub mod capture;
18pub mod convert;
19pub mod cross_modal;
20pub mod events;
21pub mod features;
22pub mod fx;
23pub mod generation;
24pub mod hash;
25pub mod io;
26pub mod language;
27pub mod media_store;
28pub mod midi;
29pub mod models;
30pub mod music;
31pub mod pipeline;
32pub mod production;
33pub mod qac_spatial;
34pub mod resample;
35pub mod semantic;
36pub mod session_history;
37pub mod sonify;
38pub mod spatial;
39pub mod speech;
40pub mod types;
41pub mod wav;
42
43pub use spatial::{
44 mix_spatial_voice_into, mix_spatial_voice_occluded_into, DistanceModel, SpatialEmitter,
45 SpatialListener, SpatialOcclusionBridge, SpatialOcclusionFilterState, SpatialVoiceParams,
46 MAX_SPATIAL_VOICES, SPEED_OF_SOUND_AIR,
47};
48
49pub use aed_weights::{AedWeightBundle, WeightedAedModel};
50pub use capture::{CapturePurpose, CaptureSession};
51pub use convert::{mono_f32_to_i16_le, to_mono_f32};
52pub use cross_modal::{
53 events_overlapping_window, frames_to_media_ms, propose_temporal_correlations,
54 AvCorrelationProposal, SharedMediaClock, TimeIntervalMs,
55};
56pub use events::{ReferenceEventModel, CLASS_NOISE, CLASS_SILENCE, CLASS_SPEECH_LIKE, CLASS_TONAL};
57pub use features::{
58 forward_cqt_mono, frame_energy, frame_zcr, log_mel_from_mono, magnitude_stft_chunk,
59 StreamingStft,
60};
61pub use generation::{
62 separate_two_stems_reference, synthesize_reference_tone, StemReceipt, SynthReceipt,
63 VoiceConsent,
64};
65pub use hash::{media_digest, q_hash, MediaDigest};
66pub use language::{AccessClass, AnnotationTier, LanguageResourceBundle};
67pub use media_store::{
68 guard_duration_bytes, synth_silence, synth_tone_f32, AudioMediaRecord, AudioMediaStore,
69 RetentionClass,
70};
71pub use music::{
72 chroma12_from_mel, detect_onsets, estimate_f0_hz, estimate_tempo_from_onsets,
73 propose_structure_segments, track_pitch, MusicAssumptions, OnsetEvent, PitchEstimate,
74 StructureSegment, TempoEstimate,
75};
76pub use pipeline::{
77 run_ears_demo, run_ears_on_wav_file, run_ears_weighted, section18_smoke, sonify_demo_to_wav,
78 speech_phone_demo, EarsDemoResult,
79};
80pub use production::{
81 apply_comp_sample, apply_eq_sample, DelayLine, ProcessPlan, StatefulMixer, TrackState, MAX_BLOCK,
82 MAX_DELAY_SAMPLES, MAX_MIX_DELAY, MAX_TRACKS,
83};
84pub use resample::resample_linear_mono;
85pub use semantic::{
86 compile_auditory_quins, human_correct_quin, human_reject_quin, AudioQuin, CTX_AUDIO,
87 P_AUDITORY_OBSERVATION, P_PROPOSES_SOUND_CLASS,
88};
89pub use session_history::{
90 AutomationLane, AutomationPoint, OpKind, SessionHistory, SessionOp, MAX_AUTO_POINTS,
91 MAX_HISTORY,
92};
93pub use sonify::{class_to_hz, sonify_events_mono};
94pub use speech::{
95 decode_for_language, greedy_phone_decode, SpeechEncoderWeights, StreamingSpeechDecoder, PHONES,
96};
97pub use types::*;
98pub use wav::{decode_wav, encode_wav_i16_mono, DecodedWav};