Crate bliss_audio_aubio_sys
source ·Expand description
§Unsafe aubio library bindings
This crate provides generated unsafe Rust bindings to aubio C library.
Probably this isn’t that you really need. See safe bindings.
Structs§
- Vector of real-valued phase and spectrum data
- Buffer for real data
- Buffer for real data
- Buffer for real data in double precision
Constants§
- < debug messages
- < critical errors
- < infos
- < number of valid levels
- < general messages
- < warnings
Functions§
- convert frequency bin to frequency (Hz)
- convert frequency bin to midi value
- clean up cached memory at the end of program
- compute sound pressure level (SPL) in dB
- compute forward DCT
- compute backward DCT
- compute forward FFT
- compute forward FFT
- compute imaginary part from the norm/phas cvec
- compute norm component from real/imag parts
- compute phas spectrum from real/imag parts
- compute real part from norm/phas components
- convert real/imag spectrum to norm/phas spectrum
- convert real/imag spectrum to norm/phas spectrum
- compute backward (inverse) FFT
- compute backward (inverse) FFT from real/imag
- filter input vector (in-place)
- filter input vector forward and backward
- filter input vector (out-of-place)
- reset filter memory
- returns a pointer to feedback coefficients \f$ a_i \f$
- returns a pointer to feedforward coefficients \f$ b_i \f$
- get order of the filter
- get sampling rate of the filter
- set feedback and feedforward coefficients of a A-weighting filter
- set coefficients of a biquad filter
- set feedback and feedforward coefficients of a C-weighting filter
- get sampling rate of the filter
- compute filterbank
- return a pointer to the matrix object containing all filter coefficients
- get norm parameter
- get power parameter
- copy filter coefficients to the filterbank
- Mel filterbank initialization
- Mel filterbank initialization
- filterbank initialization for Mel filters using Slaney’s coefficients
- set norm parameter
- set power parameter
- filterbank initialization with triangular and overlapping bands
- convert frequency (Hz) to frequency bin
- convert frequency (Hz) to midi value (0-128)
- convert frequency (Hz) to mel
- convert frequency (Hz) to mel
- get buffer level if level >= threshold, 1. otherwise
- compute sound level on a linear scale
- Reset all logging functions to the default one
- Set logging function for all levels
- Set logging function for a given level
- convert mel to frequency (Hz)
- convert mel to frequency (Hz)
- mfcc object processing
- get power parameter
- get scaling parameter
- Mel filterbank initialization
- Mel filterbank initialization
- Mel filterbank initialization (Auditory Toolbox’s parameters)
- set power parameter
- set scaling parameter
- convert midi value to frequency bin
- convert midi value (0-128) to frequency (Hz)
- execute note detection on an input signal frame
- get notes detection minimum inter-onset interval, in millisecond
- get notes object release drop level, in dB
- get notes detection silence threshold
- set notes detection minimum inter-onset interval, in millisecond
- set note release drop level, in dB
- set notes detection silence threshold
- execute onset detection
- get onset detection adaptive whitening
- get onset detection log compression
- get delay in samples
- get delay in milliseconds
- get delay in seconds
- get onset detection function
- get the time of the latest onset detected, in samples
- get the time of the latest onset detected, in milliseconds
- get the time of the latest onset detected, in seconds
- get minimum inter onset interval in samples
- get minimum inter onset interval in milliseconds
- get minimum inter onset interval in seconds
- get onset detection silence threshold
- get onset peak picking threshold
- get thresholded onset detection function
- reset onset detection
- set onset detection adaptive whitening
- set or disable log compression
- set default parameters
- set delay in samples
- set delay in milliseconds
- set delay in seconds
- set minimum inter onset interval in samples
- set minimum inter onset interval in milliseconds
- set minimum inter onset interval in seconds
- set onset detection silence threshold
- set onset detection peak picking threshold
- get current parameter value, without interpolation
- get maximum value of this parameter
- get minimum value of this parameter
- get next parameter
- get number of steps of this parameter
- set current parameter value, skipping interpolation
- set maximum value of this parameter
- set minimum value of this parameter
- set number of steps used for interpolation
- set target value of the parameter
- execute pitch detection on an input signal frame
- get the current confidence
- set the silence threshold of the pitch detection object
- get yin or yinfft tolerance threshold
- set the silence threshold of the pitch detection object
- change yin or yinfft tolerance threshold
- set the output unit of the pitch detection object
- compute spectral frame
- get hop size
- get window size
- compute signal from spectral frame
- set window type
- resample input in output
- process sampler function
- process sampler function, multiple channels
- get current playing state
- load source in sampler
- play sample from start
- set current playing state
- stop sample
- check if buffer level in dB SPL is under a given threshold
- close sink
- write monophonic vector of length hop_size to sink
- write polyphonic vector of length hop_size to sink
- get channels of sink object
- get samplerate of sink object
- preset sink channels
- preset sink samplerate
- close source object
- read monophonic vector of length hop_size from source object
- read polyphonic vector of length hop_size from source object
- get channels of source object
- get the duration of source object, in frames
- get samplerate of source object
- seek source object
- execute spectral description function on a spectral frame
- execute spectral adaptive whitening, in-place
- get floor of spectral whitening
- get relaxation time of spectral whitening
- reset spectral whitening object
- set floor for spectral whitening
- set relaxation time for spectral whitening
- execute tempo detection
- get current tempo
- get current tempo confidence
- get current delay
- get current delay in ms
- get current delay in seconds
- get the time of the latest beat detected, in samples
- get the time of the latest beat detected, in milliseconds
- get the time of the latest beat detected, in seconds
- get position of last_tatum, in samples
- get current beat period in samples
- get current beat period in seconds
- get tempo detection silence threshold
- get tempo peak picking threshold
- set current delay
- set current delay
- set current delay in seconds
- set tempo detection silence threshold
- set number of tatum per beat
- set tempo detection peak picking threshold
- check whether a tatum was detected in the current frame
- split input into transient and steady states components
- set parameter a, defaults to 3
- set parameter b, defaults to 3
- set transient / steady state separation threshold
- compute the principal argument
- process wavetable function
- process wavetable function, multiple channels
- get wavetable amplitude
- get wavetable frequency
- get current playing state
- load source in wavetable
- play sample from start
- set wavetable amplitude
- set wavetable frequency
- set current playing state
- stop wavetable
- zero-crossing rate (ZCR)
- make a copy of a vector
- take logarithmic magnitude
- read norm data from a complex buffer
- read norm value from a complex buffer
- set all norm elements to one
- set all norm elements to a given value
- write norm value in a complex buffer
- set all norm elements to zero
- read phase data from a complex buffer
- read phase value from a complex buffer
- set all phase elements to one
- set all phase elements to a given value
- write phase value in a complex buffer
- set all phase elements to zero
- print out cvec data
- set all norm and phas elements to zero
- delete DCT object
- delete FFT object
- delete a filter object
- destroy filterbank object
- delete mfcc object
- delete notes detection object
- delete onset detection object
- destroy ::aubio_parameter_t object
- deletion of the pitch detection object
- delete phase vocoder object
- delete resampler object
- destroy ::aubio_sampler_t object
- close sink and cleanup memory
- close source and cleanup memory
- deletion of a spectral descriptor
- deletion of a spectral whitening
- delete tempo detection object
- delete tss object
- destroy aubio_wavetable_t object
- cvec_t buffer deletion function
- fmat_t buffer deletion function
- fvec_t buffer deletion function
- lvec_t buffer deletion function
- make a copy of a matrix
- read channel vector from a buffer
- get vector buffer from an fmat data
- read data from a buffer
- read sample value in a buffer
- set all elements to ones
- print out fmat data
- revert order of vector elements
- set all elements to a given value
- write sample value in a buffer
- compute the product of a matrix by a vector
- apply weight to vector
- set all elements to zero
- compute the \f$abs(x)\f$ of each vector elements
- compute the \f$ceil(x)\f$ of each vector elements
- clamp the values of a vector within the range [-abs(max), abs(max)]
- make a copy of a vector
- compute \f$cos(x)\f$ of each vector elements
- compute \f$e^x\f$ of each vector elements
- compute the \f$floor(x)\f$ of each vector elements
- read data from a buffer
- read sample value in a buffer
- compute the \f$log(x)\f$ of each vector elements
- compute the \f$log10(x)\f$ of each vector elements
- set all elements to ones
- raise each vector elements to the power pow
- print out fvec data
- revert order of vector elements
- compute the \f$round(x)\f$ of each vector elements
- set all elements to a given value
- write sample value in a buffer
- set elements of a vector to window coefficients
- compute \f$sin(x)\f$ of each vector elements
- compute the \f$sqrt(x)\f$ of each vector elements
- apply weight to vector
- make a copy of a vector, applying weights to each element
- set all elements to zero
- read data from a buffer
- read sample value in a buffer
- set all elements to ones
- print out lvec data
- set all elements to a given value
- write sample value in a buffer
- set all elements to zero
- create new DCT computation object
- create new FFT computation object
- create new filter object
- create new A-design filter
- create biquad filter with
b0
,b1
,b2
,a1
,a2
coeffs - create new C-design filter
- create filterbank object
- create mfcc object
- create notes detection object
- create onset detection object
- create new parameter object
- creation of the pitch detection object
- create phase vocoder object
- create resampler object
- create new sampler object
- create new ::aubio_sink_t
- create new ::aubio_source_t
- creation of a spectral description object
- creation of a spectral whitening object
- create tempo detection object
- create tss object
- create new wavetable object
- create window
- cvec_t buffer creation function
- fmat_t buffer creation function
- fvec_t buffer creation function
- lvec_t buffer creation function
Type Aliases§
- DCT object
- FFT object
- Digital filter
- filterbank object
- Logging function prototype, to be passed to ::aubio_log_set_function
- list of logging levels
- mfcc object
- notes detection object
- onset detection object
- parameter object
- pitch detection object
- phasevocoder object
- resampler object
- sampler object
- media sink object
- media source object
- spectral description structure
- spectral whitening structure
- tempo detection structure
- Transient / Steady-state Separation object
- wavetable object
- character
- signed integer
- unsigned integer