transform_mel_scale | R Documentation |
Turn a normal STFT into a mel frequency STFT, using a conversion matrix. This uses triangular filter banks.
transform_mel_scale( n_mels = 128, sample_rate = 16000, f_min = 0, f_max = NULL, n_stft = NULL )
n_mels |
(int, optional): Number of mel filterbanks. (Default: |
sample_rate |
(int, optional): Sample rate of audio signal. (Default: |
f_min |
(float, optional): Minimum frequency. (Default: |
f_max |
(float or NULL, optional): Maximum frequency. (Default: |
n_stft |
(int, optional): Number of bins in STFT. Calculated from first input
if NULL is given. See |
forward param: specgram (Tensor): Tensor of audio of dimension (..., freq, time).
tensor
: Mel frequency spectrogram of size (..., n_mels
, time).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.