First time here? Check out the FAQ!
x

change "tuning" to 442 instead of 440

0 votes
568 views

I'm trying to use the nn to go back and forth between frequencies and note numbers, but I'd like to base it on my A (69) being 442 hz and not 440 hz. Is it possible to change it? I imagine there would be people who'd like to change to 432 hz and other base frequencies.

And what is the reason that the A is 440.0000583572d hz and not 440 hz? It's precise enough for me, just curious.

 

Thanks

Anders

asked Oct 11, 2018 in Capytalk & Smalltalk by anders-skibsted (Adept) (1,320 points)

1 Answer

+1 vote
 
Best answer

You could convert the pitch to hertz and then scale it by the ratio of your reference A in hertz to the built-in reference of A 440, for example:

69 nn hz * (442.0d / 440.0)

or

69 nn hz * (432.0d / 440.0)

answered Oct 11, 2018 by ssc (Savant) (128,080 points)
selected Oct 11, 2018 by anders-skibsted
...