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

The comment in the link makes no sense, I don't know how to use the code #25

Open
Filoppi opened this issue Jul 30, 2020 · 0 comments
Open

Comments

@Filoppi
Copy link

Filoppi commented Jul 30, 2020

* @param blocksize Granularity at which data is processed by the decode() function.

    * @param blocksize Granularity at which data is processed by the decode() function.
   *           Must be a power of two and should correspond to ca. 10ms worth of single-channel
   *           samples (default is 4096 for 44.1Khz data). Do not make it shorter or longer
   *           than 5ms to 20ms since the granularity at which locations are decoded
   *           changes with this.

10ms at 44100 is 441, 4096 is 100ms, so what block size should I use? Does it really need to be a power of 2? It doesn't seem like it needs, as long as it's a multiple of 2 the code looks and works fine (not tested deeply).

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