[][src]Struct rustchord::Notefinder

pub struct Notefinder { /* fields omitted */ }

Implementations

impl Notefinder[src]

pub fn new(samplerate: i32) -> Notefinder[src]

pub fn run(&mut self, data: &[f32])[src]

pub fn get_notes(&self) -> Vec<Note>[src]

pub fn get_folded<'a>(&'a self) -> &'a [f32][src]

pub fn set_dft_algorithm(&mut self, algo: DFTAlgorithm)[src]

pub fn set_octaves(
    &self,
    octaves: i32
) -> Result<(), NoteFinderValidationError<i32>>
[src]

pub fn set_frequency_bins(
    &self,
    frequency_bins: i32
) -> Result<(), NoteFinderValidationError<i32>>
[src]

pub fn set_base_hz(
    &self,
    base_hz: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_filter_strength(
    &self,
    filter_strength: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_filter_iterations(
    &self,
    filter_iterations: i32
) -> Result<(), NoteFinderValidationError<i32>>
[src]

pub fn set_decompose_iterations(
    &self,
    decompose_iterations: i32
) -> Result<(), NoteFinderValidationError<i32>>
[src]

pub fn set_amplification(
    &self,
    amplification: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_compress_exponent(
    &self,
    compress_exponent: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_compress_coefficient(
    &self,
    compress_coefficient: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_dft_speedup(
    &self,
    dft_speedup: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_dft_q(
    &self,
    dft_q: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_default_sigma(
    &self,
    default_sigma: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_jumpability(
    &self,
    note_jumpability: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_combine_distance(
    &self,
    note_combine_distance: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_slope(
    &self,
    slope: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_attach_freq_iir(
    &self,
    note_attach_freq_iir: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_attach_amp_iir(
    &self,
    note_attach_amp_iir: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_attach_amp_iir2(
    &self,
    note_attach_amp_iir2: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_minimum_new_distribution_value(
    &self,
    note_minimum_new_distribution_value: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_note_out_chop(
    &self,
    note_out_chop: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

pub fn set_dft_iir(
    &self,
    dft_iir: f32
) -> Result<(), NoteFinderValidationError<f32>>
[src]

Trait Implementations

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.