Closed keunwoochoi closed 5 years ago
I kinda liked what you had in the gist where STFT
as the transform with real and imaginary parts and then depending on what norm is chosen you can get a power or amplitude spectrogram.
On the argument names I also found the _length
too verbose. Am completely fine with either n_
or leaving the intuitive ones like hop
or pad
simple.
Also +1 Melspectrogram
Ok high-level stuff first. For Layer
and Functional
, I'll list up tentatively.
STFT
and stft
Melspectrogram
and melspectrogram
AmplitudeToDb
and amplitude_to_db
DbToAmplitude
and db_to_amplitude
dB
, but ..decibel
seems too verbose. What do you think guys?
Spectrogram
, I thinkSTFT
is a better name - it's more precisely correct.librosa
argument names. Here's librosa one at the momentI personally found
hop_length
andwin_length
a bit verbose and prefern_hop
,n_win
. But probably 'length of hop' sounds more correct for English speakers than 'number of hop'. The current choice -hop
- actually sounds good too.Melspectrogram
?Let's keep this thread for discussion names.