{"id":1964,"date":"2022-06-10T14:33:50","date_gmt":"2022-06-10T12:33:50","guid":{"rendered":"https:\/\/www.chrenhart.eu\/2021\/?p=1964"},"modified":"2023-08-10T16:20:20","modified_gmt":"2023-08-10T14:20:20","slug":"harmonic-series-calculator","status":"publish","type":"post","link":"https:\/\/www.chrenhart.eu\/2021\/2022\/06\/10\/harmonic-series-calculator\/","title":{"rendered":"Harmonic Series Calculator"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull boxtxt has-accent-background-color has-background\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-image alignwide size-large\"><a href=\"https:\/\/chrenhart.eu\/lib\/ttgen\/ttgen.html\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"555\" src=\"https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-1024x555.jpg\" alt=\"Christoph Renhart's Harmonic Series Calculator\" class=\"wp-image-1965\" srcset=\"https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-1024x555.jpg 1024w, https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-300x163.jpg 300w, https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-768x416.jpg 768w, https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-1536x832.jpg 1536w, https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot-1200x650.jpg 1200w, https:\/\/www.chrenhart.eu\/2021\/wp-content\/uploads\/2022\/06\/ttgen_screenshot.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Getting an arbitrarily large amount of partials of a freely chosen fundamental is now just <a rel=\"noreferrer noopener\" href=\"https:\/\/chrenhart.eu\/lib\/ttgen\/ttgen.html\" target=\"_blank\">one click away<\/a>.<\/figcaption><\/figure>\n<\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">How to get countably many partials of any tone you like in a very quick way <\/h4>\n\n\n\n<p>This program is dedicated to all friends of spectral music as well as composers and music theorists who have spent hours of their precious time writing down harmonic series of a given fundamental, calculate all the partials meticulously using a pocket calculator and comparing two or more overtone series on a piece of sheet music. Here&#8217;s the good news: There&#8217;s no need to make things more complicated than they should be. Let&#8217;s get all the numeracy done by using the computer. Remember the meaning of the word \u00abcomputer\u00bb\u2014computing things belongs to its core skills. And it keeps computing things flawlessly.<\/p>\n\n\n\n<p>What can be done with this program? Suppose we would like to get the first 32 partials of the tone E2. Select <em>E<\/em> as tempered fundamental and <em>2<\/em> from the list of octaves (remember: C1 is the lowest C on the piano). Next click on <em>Calculate<\/em> and find the results below. In the table of results you will see the exact frequecy of each partial as well as its pitch (e.g. the 7th partial of a tone with a fundamental frequency of 32.703 Hz (C1) is 228.921 Hz which is A#3 minus 31 Cents).<\/p>\n\n\n\n<p>Naturally all the frequencies depend significantly on the standard pitch. So we might want to compare the 17th partial on A2 using 440 Hz as a concert pitch with the 17th partial of A2 using 443 Hz as standard pitch. This can also done easily with the program. Let&#8217;s do the 440 Hz first:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter <em>440<\/em> Hz as standard pitch<\/li>\n\n\n\n<li>Select <em>A<\/em> as tempered fundamental<\/li>\n\n\n\n<li>Select <em>2<\/em> as octave<\/li>\n\n\n\n<li>Click <em>Calculate<\/em><\/li>\n<\/ol>\n\n\n\n<p>Next, let&#8217;s run the program again with a different standard pitch:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter <em>443<\/em> Hz as standard pitch<\/li>\n\n\n\n<li>Select <em>A<\/em> as tempered fundamental<\/li>\n\n\n\n<li>Select <em>2<\/em> as octave<\/li>\n\n\n\n<li>Click <em>Calculate<\/em><\/li>\n<\/ol>\n\n\n\n<p>Finally, compare the two results:<\/p>\n\n\n\n<p>Fundamental A2 \u2014 440 Hz standard pitch:<\/p>\n\n\n\n<figure id=\"result_table\" class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>110.000<\/td><td>A2 plus 0 Cents<\/td><\/tr><tr><td>2<\/td><td>220.000<\/td><td>A3 plus 0 Cents<\/td><\/tr><tr><td>3<\/td><td>330.000<\/td><td>E4 plus 2 Cents<\/td><\/tr><tr><td>4<\/td><td>440.000<\/td><td>A4 plus 0 Cents<\/td><\/tr><tr><td>5<\/td><td>550.000<\/td><td>C#5 minus 14 Cents<\/td><\/tr><tr><td>6<\/td><td>660.000<\/td><td>E5 plus 2 Cents<\/td><\/tr><tr><td>7<\/td><td>770.000<\/td><td>G5 minus 31 Cents<\/td><\/tr><tr><td>8<\/td><td>880.000<\/td><td>A5 plus 0 Cents<\/td><\/tr><tr><td>9<\/td><td>990.000<\/td><td>B5 plus 4 Cents<\/td><\/tr><tr><td>10<\/td><td>1100.000<\/td><td>C#6 minus 14 Cents<\/td><\/tr><tr><td>11<\/td><td>1210.000<\/td><td>D#6 minus 49 Cents<\/td><\/tr><tr><td>12<\/td><td>1320.000<\/td><td>E6 plus 2 Cents<\/td><\/tr><tr><td>13<\/td><td>1430.000<\/td><td>F6 plus 41 Cents<\/td><\/tr><tr><td>14<\/td><td>1540.000<\/td><td>G6 minus 31 Cents<\/td><\/tr><tr><td>15<\/td><td>1650.000<\/td><td>G#6 minus 12 Cents<\/td><\/tr><tr><td>16<\/td><td>1760.000<\/td><td>A6 plus 0 Cents<\/td><\/tr><tr><td><strong>17<\/strong><\/td><td><strong>1870.000<\/strong><\/td><td><strong>A#6 plus 5 Cents<\/strong><\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Fundamental: A2 \u2014 results for 440 Hz as standard pitch<\/figcaption><\/figure>\n\n\n\n<p>Fundamental A2 \u2014 443 Hz standard pitch:<\/p>\n\n\n\n<figure id=\"result_table\" class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td>110.750<\/td><td>A2 plus 0 Cents<\/td><\/tr><tr><td>2<\/td><td>221.500<\/td><td>A3 plus 0 Cents<\/td><\/tr><tr><td>3<\/td><td>332.250<\/td><td>E4 plus 2 Cents<\/td><\/tr><tr><td>4<\/td><td>443.000<\/td><td>A4 plus 0 Cents<\/td><\/tr><tr><td>5<\/td><td>553.750<\/td><td>C#5 minus 14 Cents<\/td><\/tr><tr><td>6<\/td><td>664.500<\/td><td>E5 plus 2 Cents<\/td><\/tr><tr><td>7<\/td><td>775.250<\/td><td>G5 minus 31 Cents<\/td><\/tr><tr><td>8<\/td><td>886.000<\/td><td>A5 plus 0 Cents<\/td><\/tr><tr><td>9<\/td><td>996.750<\/td><td>B5 plus 4 Cents<\/td><\/tr><tr><td>10<\/td><td>1107.500<\/td><td>C#6 minus 14 Cents<\/td><\/tr><tr><td>11<\/td><td>1218.250<\/td><td>D#6 minus 49 Cents<\/td><\/tr><tr><td>12<\/td><td>1329.000<\/td><td>E6 plus 2 Cents<\/td><\/tr><tr><td>13<\/td><td>1439.750<\/td><td>F6 plus 41 Cents<\/td><\/tr><tr><td>14<\/td><td>1550.500<\/td><td>G6 minus 31 Cents<\/td><\/tr><tr><td>15<\/td><td>1661.250<\/td><td>G#6 minus 12 Cents<\/td><\/tr><tr><td>16<\/td><td>1772.000<\/td><td>A6 plus 0 Cents<\/td><\/tr><tr><td>17<\/td><td><strong>1882.750<\/strong><\/td><td><strong>A#6 plus 5 Cents<\/strong><\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Fundamental: A2 \u2014 results for 443 Hz as standard pitch<\/figcaption><\/figure>\n\n\n\n<p>As you can see, the frequencies differ from each other. With 440 Hz as concert pitch the 17th partial of A2 is 1870 Hz (A#6 + 5 Ct.), whereas using a concert pitch of 443 Hz the 17th partial of A2 is 1882.75 Hz (also A#6 + 5 Ct. of course).<\/p>\n\n\n\n<p>Moreover, you can also choose a non-tempered fundamental frequency in relation to any concert pitch you like. Let&#8217;s say, for instance, our concert pitch is 443 Hz and our fundamental is 60 Hz. As the fundamental is (possibly) not equal to a tempered tone, we select <em>Other<\/em> from the list of pitches and also <em>Other <\/em>from the list of octaves (it was somehow difficult to find an appropriate name for the input field and perhaps I&#8217;m gonna rename it as <em>Other <\/em>is admittingly not ideal here). Finally enter <em>60<\/em> in the field <em>Fundamental \/ Grundfrequenz<\/em>. Choose any amount of partials and click <em>Calculate<\/em>. Let&#8217;s have a look at the first 32 partials:<\/p>\n\n\n\n<figure id=\"result_table\" class=\"wp-block-table\"><table><tbody><tr><th>Number<\/th><th>Frequency<\/th><th>Tone<\/th><\/tr><tr><td>1<\/td><td>60.000<\/td><td>A#1 plus 39 Cents<\/td><\/tr><tr><td>2<\/td><td>120.000<\/td><td>A#2 plus 39 Cents<\/td><\/tr><tr><td>3<\/td><td>180.000<\/td><td>F3 plus 41 Cents<\/td><\/tr><tr><td>4<\/td><td>240.000<\/td><td>A#3 plus 39 Cents<\/td><\/tr><tr><td>5<\/td><td>300.000<\/td><td>D4 plus 25 Cents<\/td><\/tr><tr><td>6<\/td><td>360.000<\/td><td>F4 plus 41 Cents<\/td><\/tr><tr><td>7<\/td><td>420.000<\/td><td>G#4 plus 8 Cents<\/td><\/tr><tr><td>8<\/td><td>480.000<\/td><td>A#4 plus 39 Cents<\/td><\/tr><tr><td>9<\/td><td>540.000<\/td><td>C5 plus 43 Cents<\/td><\/tr><tr><td>10<\/td><td>600.000<\/td><td>D5 plus 25 Cents<\/td><\/tr><tr><td>11<\/td><td>660.000<\/td><td>E5 minus 10 Cents<\/td><\/tr><tr><td>12<\/td><td>720.000<\/td><td>F5 plus 41 Cents<\/td><\/tr><tr><td>13<\/td><td>780.000<\/td><td>G5 minus 21 Cents<\/td><\/tr><tr><td>14<\/td><td>840.000<\/td><td>G#5 plus 8 Cents<\/td><\/tr><tr><td>15<\/td><td>900.000<\/td><td>A5 plus 27 Cents<\/td><\/tr><tr><td>16<\/td><td>960.000<\/td><td>A#5 plus 39 Cents<\/td><\/tr><tr><td>17<\/td><td>1020.000<\/td><td>B5 plus 44 Cents<\/td><\/tr><tr><td>18<\/td><td>1080.000<\/td><td>C6 plus 43 Cents<\/td><\/tr><tr><td>19<\/td><td>1140.000<\/td><td>C#6 plus 36 Cents<\/td><\/tr><tr><td>20<\/td><td>1200.000<\/td><td>D6 plus 25 Cents<\/td><\/tr><tr><td>21<\/td><td>1260.000<\/td><td>D#6 plus 10 Cents<\/td><\/tr><tr><td>22<\/td><td>1320.000<\/td><td>E6 minus 10 Cents<\/td><\/tr><tr><td>23<\/td><td>1380.000<\/td><td>F6 minus 33 Cents<\/td><\/tr><tr><td>24<\/td><td>1440.000<\/td><td>F6 plus 41 Cents<\/td><\/tr><tr><td>25<\/td><td>1500.000<\/td><td>F#6 plus 12 Cents<\/td><\/tr><tr><td>26<\/td><td>1560.000<\/td><td>G6 minus 21 Cents<\/td><\/tr><tr><td>27<\/td><td>1620.000<\/td><td>G6 plus 45 Cents<\/td><\/tr><tr><td>28<\/td><td>1680.000<\/td><td>G#6 plus 8 Cents<\/td><\/tr><tr><td>29<\/td><td>1740.000<\/td><td>A6 minus 32 Cents<\/td><\/tr><tr><td>30<\/td><td>1800.000<\/td><td>A6 plus 27 Cents<\/td><\/tr><tr><td>31<\/td><td>1860.000<\/td><td>A#6 minus 16 Cents<\/td><\/tr><tr><td>32<\/td><td>1920.000<\/td><td>A#6 plus 39 Cents<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Fundamental: 60 Hz \u2014 results for 443 Hz as standard pitch<\/figcaption><\/figure>\n\n\n\n<p>That&#8217;s it. Try it out and feel free to use it whenever you need to work with harmonic series.<\/p>\n\n\n\n<p class=\"has-accent-background-color has-background\">Link to the calculator:<br><a href=\"https:\/\/chrenhart.eu\/lib\/ttgen\/ttgen.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/chrenhart.eu\/lib\/ttgen\/ttgen.html<\/a><\/p>\n\n\n\n<p>Special thanks to <a rel=\"noreferrer noopener\" href=\"https:\/\/daniel-mayer.at\/\" target=\"_blank\">Daniel Mayer<\/a> for checking the results with a SuperCollider patch and for some great advise to make the program&#8217;s interface more user-friendly! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wrote a program that computes countably many partials of any harmonic series.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[1,159],"tags":[192,197],"class_list":["post-1964","post","type-post","status-publish","format-standard","hentry","category-misc","category-news","tag-192","tag-software"],"_links":{"self":[{"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/posts\/1964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/comments?post=1964"}],"version-history":[{"count":23,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/posts\/1964\/revisions"}],"predecessor-version":[{"id":2428,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/posts\/1964\/revisions\/2428"}],"wp:attachment":[{"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/media?parent=1964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/categories?post=1964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrenhart.eu\/2021\/wp-json\/wp\/v2\/tags?post=1964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}