Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about the win function applied in stft #3

Open
yansd-c opened this issue Nov 1, 2020 · 1 comment
Open

about the win function applied in stft #3

yansd-c opened this issue Nov 1, 2020 · 1 comment

Comments

@yansd-c
Copy link

yansd-c commented Nov 1, 2020

Hello, again.
I write down analysisWnd and synthesisWnd and drawed their curves. I cannot put a picture here. but it seems that these two win function looks strange. AnalysisWnd is not symmetric and synthesisWnd has two peaks.

I read the original spleeter code. It seems it uses hanning win as its stft win function.

@james34602
Copy link
Owner

Hello,
It doesn't matter much for using different window function to operate, empirically, CNN look for patterns not much on actual value, so that no observable real-world accuracy reduced.
Neither the spectral leakage nor the time-frequency resolution break the structure of the spectrogram, you are free to use it.
The popular window function breaking this is rectangular window, which is the window function create impulse-liked image on spectrogram.

The window function uses in the project allows lower latency(Asymmetric) and follow as much as Hann window behave, also perhaps most importantly, it doesn't prevent perfect reconstruction, which mean we can do computation tricks to run only 1 stem neural network to separate 2 stems signal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants