stftconfig: stftconfig Configuration of audio2specgram() and...

Description Usage Arguments Value

View source: R/stftconfig.R

Description

stftconfig Configuration of audio2specgram() and specgram2audio().

Usage

1
stftconfig(width, frameshift, towindow = hanning, fromwindow = rectwin)

Arguments

width

number of sample points in an analysis window

frameshift

number of sample points of frame shift

towindow

an window function applied when calculating STFT. The following functions can be used as 'towindow' and 'fromwindow' parameters: rectwin: rectangle window sinewin: sine window hamming: hamming window (from signal package) hanning: hanning window (from signal package)

fromwindow

an window function applied when calculating inverse STFT

Value

a list of configuration parameters


akinori-ito/audio2specgram documentation built on May 29, 2019, 3:03 a.m.