Skip to content

Commit

Permalink
fix bug with g# in synth
Browse files Browse the repository at this point in the history
  • Loading branch information
eort committed Dec 22, 2023
1 parent 5859d64 commit cb26068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openexp/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def key_to_freq(key):
elif n == "g":
f = 784.00
elif n == "ab" or n == "g#":
f == 830.64
f = 830.64
if o < 1:
o = 0.5 ** (abs(o) + 1)
freq = f * o
Expand Down

0 comments on commit cb26068

Please sign in to comment.