get_bandwidth_per_quantizer is incorrect.
bfs18 opened this issue Β· comments
π Bug Report
def get_bandwidth_per_quantizer(self, sample_rate: int):
"""Return bandwidth per quantizer for a given input sample rate.
"""
return math.log2(self.bins) * sample_rate / 1000
it should be
return math.log2(self.bins) * sample_rate / 1000 / self.hop_length
My bad. sample_rate is already divided by sample rate.