mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-29 07:56:43 -05:00
changed from python2 to python3
This commit is contained in:
parent
ca4f68d24a
commit
996e648a64
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue