Closed oscarbailey-xmos closed 4 years ago
There are several places in audio_generation.py where floats are rounded to the nearest int rather than rounding down - rounding should be consistent https://github.com/xmos/audio_test_tools/pull/120#pullrequestreview-364871475
Python rounds down when using int() https://stackoverflow.com/questions/9404967/taking-the-floor-of-a-float#9405029
int()
There are several places in audio_generation.py where floats are rounded to the nearest int rather than rounding down - rounding should be consistent https://github.com/xmos/audio_test_tools/pull/120#pullrequestreview-364871475