autopushed

This commit is contained in:
2023-12-18 17:59:49 +01:00
parent b47c20877b
commit f74d496e46
+3 -1
View File
@@ -46,7 +46,9 @@ def hz(freq):
note_index = n % 12 note_index = n % 12
note = notes[note_index] note = notes[note_index]
click.echo(f"hz({freq}) is {note}.") octave = 4 + (n // 12)
click.echo(f"hz({freq}) is {note}{str(octave)}.")
if __name__ == '__main__': if __name__ == '__main__':