Julia package for just a Short-Time Fourier Transform. https://docs.zymon.org/STFT.jl/
Find a file
2022-05-11 14:12:58 +02:00
docs documentation webpage init 2022-04-27 09:32:56 +02:00
src Minor fix for synthesis docs. 2022-05-11 14:12:58 +02:00
.gitignore init 2022-04-25 15:01:38 +02:00
LICENSE init 2022-04-25 15:01:38 +02:00
Project.toml Aliases for analysis and synthesis. 2022-05-10 17:34:51 +02:00
README.md Aliases for analysis and synthesis. 2022-05-10 17:34:51 +02:00

STFT.jl

STFT.jl is a Julia package implementing Short-Time Fourier Transform (STFT) routines. It provides signal analysis (time-domain signal to STFT-domain signal; stft) and signal synthesis (STFT-domain siganl to time-domain signal; istft).

Examples

import STFT

x = rand(10000) # Generate mock signal
W = 64          # Window length
w = ones(W)     # Rectangular analysis window
H = 10          # Hop
L = W - H       # Overlap

X = STFT.analysis(x, w, L)  # Analysis

# Compute spectogram of the signal
spectogram = abs2.(X)

# X = f(X) # Modify STFT-domain signal

# Reconsturction
xr = STFT.synthesis(X, w, L) # Synthesis