Skip to main content

elara_voice/
lib.rs

1//! ELARA Voice State - Parametric voice encoding
2//!
3//! This is NOT audio PCM or Opus codec.
4//! This is the STATE OF SPEECH for reality synchronization.
5//!
6//! # Philosophy
7//!
8//! Traditional voice: Encode audio samples → transmit → decode
9//! ELARA voice: Extract speech parameters → transmit state → synthesize
10//!
11//! Key concepts:
12//! - Voice as parametric state (pitch, energy, spectral envelope)
13//! - Prediction under packet loss (voice continues)
14//! - Graceful degradation (L0: full voice → L5: presence only)
15//!
16//! # Degradation Ladder (Voice)
17//!
18//! - L0: Full parametric voice (pitch, formants, prosody, emotion)
19//! - L1: Reduced formants, simplified prosody
20//! - L2: Pitch + energy only, robotic quality
21//! - L3: Symbolic (speaking/silent indicator)
22//! - L4: Presence pulse only
23//! - L5: Identity heartbeat
24
25pub mod encoding;
26pub mod frame;
27pub mod prediction;
28pub mod state;
29pub mod synthesis;
30
31pub use encoding::*;
32pub use frame::*;
33pub use prediction::*;
34pub use state::*;
35pub use synthesis::*;