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.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter

 Leave a Reply

(required)

(required)

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 Niklas Saers' blog Suffusion theme by Sayontan Sinha