# torch-signal
A signal processing toolbox for Torch-7

- Fourier Transforms (real & complex) (1D, 2D, 3D)
- Cosine Transforms (1D, 2D, 3D)
- Short-time Fourier Transforms
- Spectrogram
- Hilbert Transform
- Complex Cepstral Analysis, Real Cepstrums
 

## Quickstart
Install fftw3 on your OS:
  
OSX (Homebrew):
```bash
brew install fftw
```
  
Ubuntu:
```bash
sudo apt-get install libfftw3
OR
sudo apt-get install libfftw3-3
```
  
Install torch-signal:
```bash
luarocks install https://raw.github.com/soumith/torch-signal/master/rocks/signal-scm-1.rockspec
```

(add sudo for ubuntu)

For documentation, go to:
http://soumith.github.io/torch-signal/signal/

For examples, see tests/
