Skip to content

joelle-o-world/ts-dsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-dsp

A collection of digital signal processing tools written in typescript. These classes mostly extend the node stream API.

For a more versatile set of DSP objects for audio synthesis see http://github.com/joelyjoel/dusp

Transform Streams Reference

FFT

Performs fast fourier transform on incoming (pre-windowed signal chunks). Output signal chunks are SpectralBuffers.

Hopper

Take overlapping (or spaced) windows from a continuous time domain audio signal.

IFFT

Inverse fast fourier transform.

MeanSquare

Calculates the mean square ((∑x^2)/n) of each signal chunk.

MovingAverageBandPassFilter

Band pass filter using moving average hi/lo pass filters. Neither efficient nor effective, kept to support DeepDrive waveform scripts.

MultiBandIntensities

Calculates band intensities for multiple frequency bands using a set of MovingAverageBandPassFilters in parallel.

RMS

Calculate the root mean square of each incoming signal chunk.

SpectralBandIntensities

SpectralBandIntensity

SpectralCentroid

SpectralFlatness

SpectralFlux

SpectralMagnitudes

UnHopper

Windower

About

TypeScript tools for digital signal processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published