Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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))}
Source by hplgit.github.io #
 
PREVIOUS NEXT
Tagged: #transfer #sound #hz #python
ADD COMMENT
Topic
Name
4+8 =