diff --git a/src/STFT.jl b/src/STFT.jl index 1614b97..4e01700 100644 --- a/src/STFT.jl +++ b/src/STFT.jl @@ -27,5 +27,14 @@ function analysis( _fft(sc, 1) # Convert segments to frequency-domain end +function analysis( + xs::AbstractArray{<:AbstractVector{T}}, + w::AbstractVector{T}, + L::Integer = 0, + N::Integer = length(w); +)::AbstractArray{<:AbstractMatrix{<:Complex}} where {T<:Number} + [analysis(x, w, L, N) for x ∈ xs] +end + end # module