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

iSTFT_module_1_8 is a wrong function #5

Open
yezhangyinge opened this issue Sep 6, 2024 · 0 comments
Open

iSTFT_module_1_8 is a wrong function #5

yezhangyinge opened this issue Sep 6, 2024 · 0 comments

Comments

@yezhangyinge
Copy link

Hello! Thank you for your great work. But I found that the iSTFT_module_1_8 is a wrong function, which does not work well when the frame shift is 8ms and the frame len is 32ms (which means 3/4 overlap). I carefully checked the value of the result of the process:

  1. test_sample= torch.randn((512*100), dtype=torch.float32)*100
  2. do stft
  3. use iSTFT_module_1_8 to get new_sample
  4. print(torch.abs(test_sample-new_sample).mean())
    After I do these, I found that the mean value of abs is very big, which means the calcucation of this function is wrong.
    Did I miss something? Could you give me some advise? My wechat is yezhangyinge, could you add me if you are convenient?
    Thank you very much!
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

1 participant