gen_pitch_table: remove workaround for resonance frequencies
Hard-coding this here is not appropriate since we can tune the current and microstep to move the resonance frequency around. But really, we should be avoiding the resonating notes during arrangement, not here as a hard-coded workaround.
This commit is contained in:
parent
dea29d97fc
commit
eeb92cb75b
|
@ -49,8 +49,6 @@ print("constexpr unsigned long midi_pitch_period[" + str(end_pitch - start_pitch
|
|||
for i in range(start_pitch, end_pitch):
|
||||
period = int(2.0 * pitch_to_period_micros(i))
|
||||
name = pitch_to_name(i)
|
||||
if name == "D3" or name == "D#3" or name == "E3":
|
||||
period = int(period / 2)
|
||||
print(" " + str(period) + "ul,\t// " + name)
|
||||
|
||||
print("};")
|
||||
|
|
Loading…
Reference in New Issue