pub struct AnalysisResult {
pub risk_score: f32,
pub speaker_reverb: f32,
pub speaker_loudness: f32,
pub interfering_speech: f32,
pub media_speech: f32,
pub noise: f32,
pub packet_loss: f32,
}Expand description
The result of analyzing an audio signal with an Analyzer.
Scores are in the range 0.0..=1.0. For all fields except
speaker_loudness, lower values indicate less problematic audio.
Fields§
§risk_score: f32Headline audio score.
Predicts likelihood of failure of downstream models including speech-to-text, voice activity detection or turn-taking or speech-to-speech models. Lower indicates less problematic audio.
Range: 0.0 to 1.0
speaker_reverb: f32Measure of speaker distance and reverberance. Lower indicates less problematic audio.
Range: 0.0 to 1.0
speaker_loudness: f32Measure of speaker loudness.
Range: 0.0 to 1.0
interfering_speech: f32Measure of interference from additional speakers present in audio. Lower indicates less problematic audio.
Range: 0.0 to 1.0
media_speech: f32Measure of interfering speech content from media devices, e.g. from TVs, radios, phones or else. Lower indicates less problematic audio.
Range: 0.0 to 1.0
noise: f32Measure of ambient or environmental noise. Lower indicates less problematic audio.
Range: 0.0 to 1.0
packet_loss: f32Measure of audio dropouts or discontinuities in the stream, e.g. from packet loss, frame erasure, jitter or CPU overload. Lower indicates less problematic audio.
Range: 0.0 to 1.0
Trait Implementations§
Source§impl Clone for AnalysisResult
impl Clone for AnalysisResult
Source§fn clone(&self) -> AnalysisResult
fn clone(&self) -> AnalysisResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalysisResult
impl Debug for AnalysisResult
Source§impl From<AicAnalysisResult> for AnalysisResult
impl From<AicAnalysisResult> for AnalysisResult
Source§fn from(value: AicAnalysisResult) -> Self
fn from(value: AicAnalysisResult) -> Self
Source§impl PartialEq for AnalysisResult
impl PartialEq for AnalysisResult
Source§fn eq(&self, other: &AnalysisResult) -> bool
fn eq(&self, other: &AnalysisResult) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalysisResult
Auto Trait Implementations§
impl Freeze for AnalysisResult
impl RefUnwindSafe for AnalysisResult
impl Send for AnalysisResult
impl Sync for AnalysisResult
impl Unpin for AnalysisResult
impl UnsafeUnpin for AnalysisResult
impl UnwindSafe for AnalysisResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more