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

FreqScope: allow setting bufsize and hopsize #2981

Open
nhthn opened this issue Jun 23, 2017 · 0 comments
Open

FreqScope: allow setting bufsize and hopsize #2981

nhthn opened this issue Jun 23, 2017 · 0 comments
Labels
comp: class library SC class library enhancement good first issue indicates issue tickets that are suitable for a new contributor

Comments

@nhthn
Copy link
Contributor

nhthn commented Jun 23, 2017

as far as i can tell, freqscope is fixed at a bufsize of 2048, and is definitely constrained to a hopsize of 0.75. bufsize is already an instance variable in FreqScope but theres no way to set it.

i wonder if we could automatically set hopsize to whatever it takes to prevent the animation from looking choppy. the formula is framerate = samplerate / (bufsize * hopsize), so the maximum hopsize would be samplerate / (bufsize * 30Hz).

@nhthn nhthn added comp: class library SC class library enhancement good first issue indicates issue tickets that are suitable for a new contributor labels Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: class library SC class library enhancement good first issue indicates issue tickets that are suitable for a new contributor
Projects
None yet
Development

No branches or pull requests

1 participant