Enum bliss_audio::AnalysisIndex [−][src]
pub enum AnalysisIndex {}Show variants
Tempo, Zcr, MeanSpectralCentroid, StdDeviationSpectralCentroid, MeanSpectralRolloff, StdDeviationSpectralRolloff, MeanSpectralFlatness, StdDeviationSpectralFlatness, MeanLoudness, StdDeviationLoudness, Chroma1, Chroma2, Chroma3, Chroma4, Chroma5, Chroma6, Chroma7, Chroma8, Chroma9, Chroma10,
Expand description
Indexes different fields of an Analysis.
- Example:
use bliss_audio::{AnalysisIndex, BlissError, Song}; fn main() -> Result<(), BlissError> { let song = Song::new("path/to/song")?; println!("{}", song.analysis[AnalysisIndex::Tempo]); Ok(()) }
Prints the tempo value of an analysis.
Note that this should mostly be used for debugging / distance metric customization purposes.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AnalysisIndex
impl Send for AnalysisIndex
impl Sync for AnalysisIndex
impl Unpin for AnalysisIndex
impl UnwindSafe for AnalysisIndex