Description
Convert sampled vectors to overlapping windowed spectra, or reconstruct
vectors from short-time spectra. Window length and step determine time and
frequency resolution; preserve the transform metadata when processing spectra
for later inversion.
Synopsis
sgstft <stdin >stdout out.mode=realimag inv=false type=rect rect.win=10 gabor.sigma=1.0
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
in |
ifile |
stdin
|
input data, only act on the first vector |
out |
ofile |
stdout
|
output data |
out.mode |
enum |
realimag
|
forward output as real and imaginary, amplitude and phase, or magnitude |
inv |
bool |
false
|
perform an inverse or forward transform |
type |
enum |
rect
|
use a rectangular-window or Gabor transform |
rect.win |
int |
10
|
rectangular window size in samples |
gabor.sigma |
float |
1
|
Gaussian scale for the Gabor transform |
Input and output
Input
input data, only act on the first vector
Output
output data