Answers for "transfer sound to hz with python"

0

transfer sound to hz with python

base_freq = 440.0
notes = ['A', 'A#', 'B', 'C', 'C#', 'D', 'D#', 'E',
         'F', 'F#', 'G', 'G#']
notes2freq = {notes[i]: base_freq*2**(i/12.0)
              for i in range(len(notes))}
Posted by: Guest on October-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language