|
-
Mar 22nd, 2007, 06:35 AM
#1
Thread Starter
Lively Member
Tone recognition help please
Ok here goes!
I have a piece of hardware that stores an ID, this ID can be from 000 to 128. To find out what the ID has been set to, the hardware sounds out 3 tones through its internal speaker. What I am trying to do is write some software that would listen to these tones via a pc microphone and display the ID on the screen.
The hardware uses it's internal oscillator to produce these tones and the only information I know at the moment is -
(8861.5 / 4 = 2215) Tone for ID 0
(8861.5 / 5 = 1772) Tone for ID 1
(8861.5 / 6 = 1476) Tone for ID 2
(8861.5 / 7 = 1265) Tone for ID 3
(8861.5 / 8 = 1107) Tone for ID 4
(8861.5 / 9 = 984) Tone for ID 5
(8861.5 / 10 = 886) Tone for ID 6
(8861.5 / 11 = 805) Tone for ID 7
(8861.5 / 12 = 738) Tone for ID 8
(8861.5 / 13 = 681) Tone for ID 9
Each cycle of tone needs to be at least 16 cycles long
I have looked at CVMichael's code for DTMF Tone Recognition which is very advanced and would like to know if it could be modified to do something like this.
When I have this part working I would then like to sound the above tones out of the PC speaker. This way I could set the Hardware's ID.
I have been using VB for a few years now and still learning!, but never touched Directsound mainly serial communications stuff, so any help with this would be great.
Thanks all...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|