mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-07 23:17:40 +00:00
changed from python2 to python3
This commit is contained in:
parent
ca4f68d24a
commit
996e648a64
@ -6,7 +6,7 @@ ft = 300.0 / 24000.0
|
|||||||
taps = []
|
taps = []
|
||||||
window = []
|
window = []
|
||||||
|
|
||||||
print("Normalized ft = " + str(ft))
|
print(("Normalized ft = " + str(ft)))
|
||||||
|
|
||||||
for n in range(0, 64):
|
for n in range(0, 64):
|
||||||
taps.append(math.sin(2 * math.pi * ft * (n - (m / 2.0))) / (math.pi * (n - (m / 2.0))))
|
taps.append(math.sin(2 * math.pi * ft * (n - (m / 2.0))) / (math.pi * (n - (m / 2.0))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user