"Reformatted per new black version"

This commit is contained in:
Alec Delaney 2022-03-29 18:16:31 -04:00
parent 3e822c3461
commit 3ec03ecb0a

View file

@ -707,8 +707,8 @@ class PyBadgerBase:
@staticmethod
def _sine_sample(length: int) -> Generator[int, None, None]:
tone_volume = (2 ** 15) - 1
shift = 2 ** 15
tone_volume = (2**15) - 1
shift = 2**15
for i in range(length):
yield int(tone_volume * math.sin(2 * math.pi * (i / length)) + shift)