keunwoochoi / torchaudio-contrib

A test bed for updates and new features | pytorch/audio
169 stars 22 forks source link

Names, names, names #1

Closed keunwoochoi closed 5 years ago

keunwoochoi commented 5 years ago

I personally found hop_length and win_length a bit verbose and prefer n_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.

Let's keep this thread for discussion names.

ksanjeevan commented 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

keunwoochoi commented 5 years ago

Ok high-level stuff first. For Layer and Functional, I'll list up tentatively.