<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.17496">
<STYLE>@page  {mso-endnote-separator: url("cid:header.htm\@01D02212.9E541290") es; mso-endnote-continuation-separator: url("cid:header.htm\@01D02212.9E541290") ecs; }
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-footer: url("cid:header.htm\@01D02212.9E541290") f1; }
P.MsoNormal {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
LI.MsoNormal {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
P.MsoHeader {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
LI.MsoHeader {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
DIV.MsoHeader {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
P.MsoFooter {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
LI.MsoFooter {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
DIV.MsoFooter {
        FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman"; MARGIN: 0in 0in 0pt
}
A:link {
        TEXT-DECORATION: underline; COLOR: blue
}
SPAN.MsoHyperlink {
        TEXT-DECORATION: underline; COLOR: blue
}
A:visited {
        TEXT-DECORATION: underline; COLOR: purple
}
SPAN.MsoHyperlinkFollowed {
        TEXT-DECORATION: underline; COLOR: purple
}
SPAN.EmailStyle17 {
        FONT-FAMILY: Arial; COLOR: windowtext; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue bgColor=#ffffff vLink=purple>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial>It's been a ridiculously long time since I popped 
in here, but I've been fighting with e-mail settings forever and got tired of 
dealing with it. Now I finally got it sorted.</FONT></DIV>
<DIV><FONT size=2 face=Arial>The numbers used in Dectalk's tone command 
represent note frequencies. Basically, the number represents how many times the 
wave travels up and down in one second. The higher the frequency, the higher the 
pitch of the tone.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Unfortunately, all this isn't very useful when it 
comes to musical synthesizers. So there are several methods to convert 
musical notes to frequency.</FONT></DIV>
<DIV><FONT size=2 face=Arial>One thing that holds true though, is that 
the A above middle C has a frequency of 440 hertz, so you'd use 440 in 
Dectalk's tone command to generate that A. If you wanted the octave above, 
you'd use 880, for the octave above that, you'd use 1760, etc. And for the 
octaves below, you'd use 220, 110, etc. just doubling or halving the frequency 
depending on which direction you wanted to go. </FONT><FONT size=2 
face=Arial>"Fine," you say, "What about other notes?"</FONT></DIV>
<DIV><FONT size=2 face=Arial>The easiest way to get other notes is to go online 
and try searching for a frequency to musical notes reference table. Many exist, 
with varrying degrees of accuracy. I wouldn't spend too much time nit picking on 
accuracy at least for Dectalk use, because I think Dectalk can only do whole 
numbers anyway. One or two values off the mark isn't going to make too much of 
an audible difference. The main thing to check for is that there is an A 440 on 
the chart, and every A above that is doubling, and every A below is half 
like I said above.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Now, the really dirty approach that you can do if 
you don't feel like looking at a chart but instead want to do your own math. Why 
you would use this approach over a simple chart is beyond me unless you're 
genuinely interested in the maths, but here goes anyway.</FONT></DIV>
<DIV><FONT size=2 face=Arial>If you want to calculate other frequencies for 
other notes yourself, you can multiply a bass frequency, such as 440, by the 
12th root of two. I'm not sure what that is but I did have it written down 
before. I've done a quick calculation and if you multiply by 1.0594631, that is 
pretty close. So, 440 multiplied by 1.0594631 is about 466, so that 466 in 
Dectalk's tone command would get you A sharp.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Now, that multiplication figure I gave above isn't 
totally accurate; the A an octave above, as I said, should be at 880 hertz 
exactly, but if you do the multiplication as suggested above, you'll get 
something like 880.00006. Which won't make an audible difference to even 
the most trained ear. Even if you'd come up with 881, I doubt most people would 
notice, even if you'd played 440 right before.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I</FONT><FONT size=2 face=Arial>f you keep 
multiplying it out to get higher and higher using the figure I gave, you're not 
going to run into a huge margin of error until you get into ultrasonics, and 
dectalk can only go up to 5512 HZ. Which is just a step up from telephony. In 
other words it's not high enough to pose a problem here. That said, however, if 
you actually multiply by the 12th route of 2 properly, you'll avoid that margin 
of error, or at the very least, keep it negligible.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I hope all of this has helped. Don't let the 
complicated multiplication by the 12th root of 2 and the like overwhelm you. I 
just put it here to show how to do it scientifically if you were interested to 
take that route. Like I said, just looking them up on a reference table really 
should be all you have to do to get satisfactory results.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=dectalk@bluegrasspals.com 
  href="mailto:dectalk@bluegrasspals.com">Blake Roberts via Dectalk</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=dectalk@bluegrasspals.com 
  href="mailto:dectalk@bluegrasspals.com">'DECtalk'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 27, 2014 8:20 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [DECtalk] the tone command</DIV>
  <DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT size=2 face=Arial><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have known for years about the 
  Dectalk command for generating musical tones.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT size=2 face=Arial><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[:tone]<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT size=2 face=Arial><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">However, I have never understood 
  which tones represent what notes. Does anyone know of a method for figuring 
  that out? As an example of a file with tones, I am attaching We All Live In A 
  Yellow Submarine text file. I have no idea who made it. The fact that the tone 
  command is used near the end to create a melody amazes 
  me.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT size=2 face=Arial><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Blake<o:p></o:p></SPAN></FONT></P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Dectalk mailing 
  list<BR>Dectalk@bluegrasspals.com<BR>http://bluegrasspals.com/mailman/listinfo/dectalk<BR></BLOCKQUOTE></BODY></HTML>