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

Problem with frame size #84

Open
JesusdelCas99 opened this issue Apr 3, 2023 · 1 comment
Open

Problem with frame size #84

JesusdelCas99 opened this issue Apr 3, 2023 · 1 comment

Comments

@JesusdelCas99
Copy link

How is it possible that when i feed the vocoder a signal of length 32047 samples with a frequency rate of 16KHz and a frameshift of 10ms it returns the corresponding parameters within 201 frames? If you consider a signal of 32047 samples with 16KHz as the frequency rate and a frameshift of 10ms it looks like internally it is taking a frame size of -7ms, which makes no sense.

@JeremyCCHsu
Copy link
Owner

JeremyCCHsu commented Apr 21, 2023

Sorry that I don't understand your calculation.

10 ms frame shift @16kHz = 160 points
32047 points = 200 frames * 160 points + 47 points (which needs 1 additional frame)
thus 201 frames

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