lasprs 0.8.0

Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::config::*;

/// Enumerator denoting, for each channel what the level approximately is. Low,
/// fine, high or clipped.
#[cfg_attr(feature = "python-bindings", pyclass(eq, eq_int))]
#[derive(Copy, Debug, PartialEq, Clone, Default)]
pub enum ClipState {
    /// Level is rather low
    #[default]
    LowLevel,
    /// Default state, fine levels
    LevelFine,
    /// High levels: warning!
    HighLevel,
    /// Signal probably clipped. The instant denotes when in history the clip
    /// happened.
    Clipped,
}