renardo
renardo copied to clipboard
Add freqtomidi function
def freqtomidi(frequency):
return int(12 * (math.log(frequency/220)/math.log(2)) + 57)