spcore

Description

A library of signal processing methods and classes.

Features

  • Resampling (discrete up, down and up/down, polynomial up, and hybrid up/down)

  • FFT transform (forward and inverse)

  • DFT transform (forward and inverse)

  • Windows (Blackman, Hamming, and many more…)

  • Windowed sinc filter for lowpass and highpass.

  • Dual windowed sinc filter for bandpass and bandstop.

  • Interpolation (linear and polynomial)

  • Data plotting via gnuplot (must be installed to use).

  • Delay line

  • Biquad filters

  • Envelope detector

  • Conversion from dB-linear and linear-dB

  • Oscillator with selectable wave type (sine, square, triangle, sawtooth)

  • Signal abstraction class

  • Extrema & Envelope measurement

  • Normalization

  • Derivatives

  • Correlation

Examples

require 'spcore'

Requirements

Install

$ gem install spcore

Copyright © 2013 James Tunnell

See LICENSE.txt for details.