Note to Java programmers who do Python

Written by: | Posted on:

Python Is Not Java by Phillip J. Eby will save you lots of time

Note determining object

Written by: | Posted on:

I finished my first external Pure Data object, a note determining object. This object takes in the number of Hz a note is measured to be and outputs what note it is (the low A on a piano being 1, going up to 88), determining how many cent off it is and how many Hz extra there is (i.e, 415Hz = A flat (tone 47), one cent (minus 0.174Hz) low. Fourth output is a text with the note name, in this case Ab. This object uses equal temperament and was just an excercise for me to see if it can be done.

Here's a screen shot:
Scale object screen shot

The code is copyrighted Niklas Saers, 2004. I place the code under the two clause BSD license meaning I merely ask any redistribution, whether in source or binary, to reproduce this copyright.

Image Image

Father, husband, software developer, musician and photographer.


Get to know what I'm up to

© 2020 Niklas Saers Contact Me