FreqScope: allow setting bufsize and hopsize #2981
Labels
comp: class library
SC class library
enhancement
good first issue
indicates issue tickets that are suitable for a new contributor
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 besamplerate / (bufsize * 30Hz)
.The text was updated successfully, but these errors were encountered: