soundgen (version 1.5.0)

ftwindow_modif: Fourier transform windows (seewave)

Description

Internal soundgen function

Usage

ftwindow_modif(wl, wn = "gaussian")

Arguments

wl

window length, in points

wn

window type (defaults to gaussian)

Details

Generates different Fourier Transform windows. Just like ftwindow, but with the addition of a gaussian window.

Examples

Run this code
# NOT RUN {
wns = c('bartlett', 'blackman', 'flattop', 'hamming', 'hanning', 'rectangle', 'gaussian')
l = 200
par(mfrow = c(4, 2))
for (w in wns) {
  plot(1:l, soundgen:::ftwindow_modif(wl = l, wn = w), type = 'b', main = w)
}
par(mfrow = c(1, 1))
# }

Run the code above in your browser using DataCamp Workspace