<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="new">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">[ mini-project ] Musical intervals and the equal-tempered scale</name>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.1</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2007/08/17 13:55:41.528 GMT-5</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2007/10/31 13:49:44.746 GMT-5</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="doering">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Ed</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Doering</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">doering@rose-hulman.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="doering">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Ed</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Doering</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">doering@rose-hulman.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="SShearman">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Sam</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">D.</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Shearman</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">sam.shearman@ni.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">equal temperament</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">LabVIEW</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">musical intervals</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">scales</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">In this mini-project you will learn about musical intervals, and discover the reason behind the choice of frequencies for the tuning system called "equal temperament."</md:abstract>
</metadata>

<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">

<table xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="labview_banner" frame="none"><tgroup xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" cols="2">
<colspec xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" rowsep="0" colsep="0"/> <colspec xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" colwidth="6in" rowsep="0" colsep="0"/>
<tbody xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <row xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
    <entry xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" morerows="3"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="LabVIEWbanner.png"/></entry>
    <entry xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> This module refers to LabVIEW, a software development environment that features a graphical programming language.
       Please see the <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" document="m15428">LabVIEW QuickStart Guide</cnxn> module for tutorials and documentation that will help you:</entry>
  </row>
  <row xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> <entry xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">• Apply LabVIEW to Audio Signal Processing </entry> </row>
  <row xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> <entry xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">• Get started with LabVIEW</entry> </row>
  <row xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> <entry xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">• Obtain a fully-functional evaluation edition of LabVIEW</entry> </row>
</tbody>
</tgroup>
</table>


<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec1">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Overview</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par2">In this mini-project you will learn about musical intervals, and also discover the reason behind the choice of frequencies for the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">equal-tempered</term> musical scale.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par3">Spend some time familiarizing yourself with the piano keyboard below. Enter the pitch (letter) and its octave number to display the corresponding frequency. For example, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">middle C</term> is C4, and C2 is two octaves below middle C. The frequency 440 Hz is an international standard frequency called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">concert A</term>, and is denoted A4. Concert A is <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">exactly</emphasis> 440 cycles per second, by definition.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par4">The black keys are called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">sharps</term> and are signified by the hash symbol <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">#</term>. For example, G#1 indicates the sharp of G1, and is located to the right of G1.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="vi5">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="application/x-labviewrpvi82" src="keyboard_pitches.llb">
  <param name="lvfppviname" value="keyboard_pitches.vi"/>
  <param name="width" value="975"/>
  <param name="height" value="346"/>
</media>
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par6">Try the following exercises to make sure that you can properly interpret the keyboard:</para>

<exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="exer7">
<problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par8">What is the frequency of the leftmost black key?</para>
</problem>
<solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par9">29.14 Hz</para>
</solution>
</exercise>
<exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="exer10">
<problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par11">What is the name and frequency of the white key to the immediate left of C7?</para>
</problem>
<solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par12">B6, 1976 Hz</para>
</solution>
</exercise>
<exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="exer13">
<problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par14">What is the name of the key that has a frequency of 370.0 Hz?</para>
</problem>
<solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par15">F#4</para>
</solution>
</exercise>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec16">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Deliverables</name>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="list17" type="enumerated">

<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Completed <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="ams_MP-intervals-worksheet.pdf">mini-project worksheet</link>  </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Hardcopy of your LabVIEW VI from Part 4 (block diagram <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">and</emphasis> front panel) </item>

</list>

</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec18">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Part 1</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par19">One aspect of the design of any scale is to allow a melody to be transposed to different keys (e.g., made higher or lower in pitch) while still sounding "the same." For example, you can sing the song "Twinkle, Twinkle Little Star" using many different starting pitches (or frequencies), but everyone can recognize that the melody is the same.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par20"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="LabVIEW.png"/> 
Download and run <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="tone_player.vi">tone_player.vi</link>, a that VI accepts a vector of frequencies (in Hz) and plays them as a sequence of notes, each with a duration that you can adjust. Listen to the five-note sequence given by the frequencies 400, 450, 500, 533, and 600 Hz (it should sound like the first five notes of "Do-Re-Mi").</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par21">Now, transpose this melody to a lower initial pitch by subtracting a constant 200 Hz from each pitch; write the frequencies on your <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="ams_MP-intervals-worksheet.pdf">mini-project worksheet</link>:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par22"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="LabVIEW.png"/> Modify <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="tone_player.vi">tone_player.vi</link> by inserting an additional front-panel control so that you can add a constant offset to the array of frequencies. Be sure that you keep the "Actual Frequencies" indicator so that you always know to which frequencies you are listening.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par23">Set the offset to -200Hz, and listen to the transposed melody. How does the transposed version compare to the original? Does it sound like the same melody? Enter your response on the worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par24">Transpose the original melody to a higher initial pitch by adding 200 Hz to each pitch; write the frequencies on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par25">Set the offset to 200Hz, and listen to the transposed melody. How does the transposed version compare to the original? How does it compare to the version that was transposed to a lower frequency? Enter your response on the worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par26">Draw a conclusion: Is a <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">constant</emphasis> frequency offset a good way to transpose a melody?</para>

</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec27">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Part 2</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par28">In music theory, an <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">interval</term> is a standard distance between two pitches. For example, if you play middle C, and then the G above that, you have played a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">perfect fifth</term>. If you start with an F#, then a perfect fifth above that is a C#. The first note you play is called the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">fundamental</term>.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par29">Refer back to the piano keyboard diagram at the top of this page. Each step to an adjacent key is called a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">half step</term> (also known as a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">semitone</term>).</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par30">If you play middle C (C4 on the diagram), how many half steps up do you need to go in order to play a perfect fifth interval? Enter answer on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par31">If you begin on A4, which note is a perfect fifth above? Enter answer on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par32">More intervals are listed below; the musical mnemonic may be helpful to hear the interval in your mind:</para>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="list33" type="bulleted">

<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Minor 2nd - one half step above fundamental (shark theme from "Jaws" movie) </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 2nd - two half steps above fundamental ("Do-Re-Mi," first two notes) </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 3rd - four half steps ("Kumbaya", first two notes of phrase) </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Perfect 4th - five half steps ("Here Comes the Bride") </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Perfect 5th - seven half steps ("Twinkle, twinkle, little star", first two notes) </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 6th - nine half steps ("My Bonnie Lies Over the Ocean," first two notes)  </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 7th - eleven half steps ("There's a Place for Us" from West Side Story, first two notes) </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Octave - twelve half steps ("Somewhere Over the Rainbow," first two notes) </item>

</list>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par34">Listen to each of these intervals by entering the frequencies from the keyboard diagram. Remember to set your offset to zero. Also, you can silence a note by entering zero frequency. For example, if you want to hear a perfect 6th interval beginning at B3, you should use the frequencies 246.9 Hz and 415.3 Hz (G#4).</para>

</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec35">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Part 3</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par36">Use C4 as the fundamental. Enter its frequency on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par37">What is the frequency of a major 3rd above the fundamental? Enter its frequency on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par38">What is the frequency <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">ratio</emphasis> of the interval? Express your result in the form "a : 1", where "a" corresponds to the higher of the two frequencies. Enter the ratio on your worksheet: </para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par39">Repeat the previous three questions using C5 as the fundamental (remember, C5 is one octave above C4). Enter the three values on your worksheet: </para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par40">Try this again using A#2 as the fundamental; enter the three values on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par41">Try this again using several different fundamental pitches for another type of interval.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par42">Now, draw a conclusion: Based on what you have experienced about musical intervals so far, can you develop at least part of an explanation for why the frequencies have been selected as they have? Enter your comments on the worksheet:</para>

</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec43">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Part 4</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par44">A variety of scales or tuning systems have been devised for musical instruments, some dating back several millennia. Scales include <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Pythagorean tuning</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">just-tempered</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">mean-tempered</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">well-tempered</term>,  (have you heard of Bach's "Well-Tempered Clavichord"?), and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">equal-tempered</term>. For example, a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">just-tempered</term> scale uses the following ratios of whole numbers for the intervals:</para>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="list45" type="bulleted">

<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 2nd, 9:8 = 1.125:1 </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 3rd, 5:4 = _____ : 1  </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Perfect 4th, 4:3 = _____ : 1 </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Perfect 5th, 3:2 = _____ : 1 </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 6th, 5:3 = _____ : 1	 </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Major 7th, 15:8 = _____ : 1 </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Octave, 2:1 = _____ : 1 </item>

</list>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par46">Complete the table above to show each interval as a ratio of the form "a : 1"; enter these ratios on your worksheet:</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par47">Modify your VI so that you can enter a single fundamental frequency (in Hz) and an array of interval ratios to play. Be sure to keep the "Actual Frequencies" indicator so that you always know to what frequencies you are listening!</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par48">Listen to the scale formed by the following sequence of ratios, and use A4 (440 Hz) as the fundamental: 1, 9/8, 5/4, 4/3, 3/2, 5/3, 15/8, 2. Comment on how well this scale sounds to you (enter your comments on your worksheet):</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par49">Transpose the same scale to G4 as the fundamental, and then F4 as the fundamental. Comment on well this scale transposes to different keys (the differences may be rather subtle); enter your comments on the worksheet:</para>

</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec50">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Part 5</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par51">The frequencies on the keyboard diagram above show the piano tuned using the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">equal-tempered</term> scale. An equal-tempered scale sacrifices the pure whole number ratios scheme for intervals, but offers the advantage that a melody transposed to any other key will sound the same. Thus, an equal-tempered scale is a "global compromise" -- a given melody will be the same level of out of tune no matter which key is used for the fundamental. The other scales mentioned above will cause a given melody to sound quite nice in some keys, and quite out of tune in other keys.</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="par52">Derive a mathematical function to calculate the frequencies used by the equal-tempered scale, i.e., given a fundamental frequency and a semitone offset, calculate the frequency. For example, when your formula is presented with the frequency 440 Hz and an offset of 2 (i.e., two semitones above concert A), it should return 493.9 Hz. Be sure to show your complete derivation <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">process</emphasis> on your worksheet, and not simply the end result.  </para>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="list53" type="bulleted">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Hints: </name> 
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Your function should include a fundamental frequency "f" in Hz. </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Your function should include a way to calculate the interval selected by the number of semitones (or half steps) above or below the fundamental frequency. </item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Your function should double the frequency when you enter 12 semitones above the fundamental (what should it do when you enter 12 semitones below the fundamental?). </item>

</list>

</section>

</content>
</document>
