Crate lasprs

Source
Expand description

§Library for acoustic signal processing

This crate contains structures and functions to perform acoustic measurements, interact with data acquisition devices and apply common acoustic analysis operations on them.

You will find the following stuff in this crate:

  • Data acquisition, recording, signal generation: daq.
  • Power spectra estimation, transfer function estimation tools: ps.
  • Sound Level Meter implementation: slm.
  • Filter design tools. I.e. filter::ZPKModel::butter.
    • Includes bilinear transforms
  • Tools for real time displaying of sensor data: rt.

§Note to potential users

This crate is still under heavy development. API changes happen on the fly. Documentation is not finished. Use with caution and expect things to be broken and buggy. Use at your own risk and responsibility.

§Author information

The main developer is J.A. de Jong from ASCEE. In case of bug reports, please file them to info@ascee.nl.

If you have particular interest in this library, please also contact us.

Modules§

  • Data acquisition code. Provides abstract layers around DAQ devices, creating input and output streams and interact with them (record, create signal generators, filter data, show real time sound levels and so on).
  • Contains filter implemententations for Biquads, series of biquads (SeriesBiquad) and banks of series of biquads (BiquadBank).
  • Provides code to estimate (cross)PowerSpectra, averaged power spectra AvPowerSpectra using Welch’ method, and windows for time-windowing the data with non-rectangular windows (also known as ‘tapers’).
  • Real time signal analysis blocks, used for visual inspection and showing data ‘on the fly’. Examples are real time power spectra plotting (Spectrograms, Auto powers, …, or )
  • This module provide signal generators. The import struct defined here is Siggen, which has several creation methods.
  • Sound Level Meter (SLM) module.

Type Aliases§

  • Floating-point value, compile time option to make it either f32, or f64.