Has anyone a catalog of all the notes produced using the SOUND command?
Looks like 123 is about 2KHz. (1992Hz)
Looks like 118 is about 1KHz. (996Hz)
If not, anyone interesting having me measure the 128 of them whilst I've got the gear out?
Printable View
Has anyone a catalog of all the notes produced using the SOUND command?
Looks like 123 is about 2KHz. (1992Hz)
Looks like 118 is about 1KHz. (996Hz)
If not, anyone interesting having me measure the 128 of them whilst I've got the gear out?
If you do, I can move to thread to Documentation forum (or whatever is appropriate).
Robert
These frequencies were measured using the CCP module of the same chip running the SOUND commands.
Using "Capture" mode, an average of 16 cycles are taken using Timer1 with no prescaler as the time base, OSC = 20Mhz.
Not very many of them line up with musical "Notes".
And yet I've heard some pretty interesting songs played with the SOUND command.
Code:Note Freq
---- ----
001 = 78.2
002 = 79.0
003 = 79.5
004 = 80.2
005 = 80.8
006 = 81.5
007 = 82.2
008 = 82.8
009 = 83.5
010 = 84.2
011 = 85.0
012 = 85.8
013 = 86.5
014 = 87.2
015 = 88.0
016 = 88.8
017 = 89.5
018 = 90.5
019 = 91.2
020 = 92.0
021 = 93.0
022 = 93.8
023 = 94.7
024 = 95.8
025 = 96.5
026 = 97.5
027 = 98.5
028 = 99.5
029 = 100.5
030 = 101.5
031 = 102.5
032 = 103.5
033 = 104.7
034 = 105.8
035 = 107.0
036 = 108.2
037 = 109.3
038 = 110.5
039 = 111.7
040 = 113.0
041 = 114.3
042 = 115.7
043 = 117.0
044 = 118.5
045 = 119.8
046 = 121.2
047 = 122.8
048 = 124.2
049 = 126.0
050 = 127.5
051 = 129.3
052 = 131.0
053 = 132.7
054 = 134.5
055 = 136.3
056 = 138.2
057 = 140.3
058 = 142.2
059 = 144.3
060 = 146.2
061 = 148.5
062 = 150.8
063 = 153.0
064 = 155.5
065 = 158.0
066 = 160.5
067 = 163.2
068 = 165.8
069 = 168.7
070 = 171.5
071 = 174.5 F3
072 = 177.8
073 = 181.0
074 = 184.2
075 = 187.8
076 = 191.5
077 = 195.2
078 = 199.0
079 = 203.3
080 = 207.2
081 = 211.8
082 = 216.5
083 = 221.2
084 = 226.3
085 = 231.5
086 = 237.0
087 = 242.7
088 = 248.8
089 = 255.2
090 = 262.0
091 = 269.0
092 = 276.5
093 = 284.5
094 = 292.8
095 = 301.8
096 = 311.0
097 = 321.3
098 = 331.7
099 = 343.3
100 = 355.5
101 = 368.7
102 = 383.0
103 = 398.3
104 = 414.7
105 = 433.0
106 = 452.5
107 = 474.3
108 = 497.7
109 = 524.0
110 = 553.3
111 = 585.7
112 = 622.3
113 = 663.9
114 = 711.4
115 = 766.3
116 = 830.0
117 = 905.5
118 = 995.8
119 = 1106.5
120 = 1245.1
121 = 1423.2
122 = 1660.3
123 = 1991.9
124 = 2490.2
125 = 3320.5
126 = 4980.6
127 = 9961.5
When I did this project http://www.picbasic.co.uk/forum/showthread.php?t=16708 I mapped out a few and it sounded pretty good. Although the frequency isn't perfect most people won't know the difference and will be able to recognize the tune.
Good luck
The attached is a graph of Tone # versus Frequency.
It is based on my frequency measurements which are slightly different.
Interesting as to the logarithmic response.
Wondering about the how/why the Sound function came into being?
Certainly not straight forward and must involve some magic!