|
|
|
|
| Scanner Programming Software This is the place to discuss scanner programming and control software. |

09-26-2008, 09:04 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
TwoToneDetect Beta
I've put together a program for detecting two tone pages and upon detection, recording 30 seconds of audio and sending it to a specified email address as a .WAV file. I wrote this for my own use, but am making it available for others who might find it helpful. It's not very polished at this point, but it does what I need it to do. Requests for new features may or may not be acted on, depending on complexity and the time I have available.

Features include: - Audio frequency counter for finding tone frequencies with PC sound card
- Decodes up to 5 two-tone pairs and 3 long tones
- Upon detecting a valid tone set, records 30 seconds of audio and emails it to a specified address as a .wav file attachment
- Provides limited serial port control of BCD396T and similar scanners to provide fire tone out functionality on multiple frequencies at the same time by skipping transmissions that are not valid tones
Installation is somewhat of a pain in the neck because of the large runtime engines that have to be downloaded in order to make the program run. I wrote it in LabView because that made it easy. I'm starting to play around with C# programming, and if I figure that out, I may make a version in that language that should be much easier to install.
Install instructions, basic instructions, and a rudimentary download are at http://radioetcetera.googlepages.com/twotoneprogram
Feedback through this thread is welcome.
Regards,
Andy
Last edited by aaknitt; 09-26-2008 at 11:27 PM..
|

09-26-2008, 10:00 PM
|
|
Member
|
|
|
Join Date: Feb 2001
Location: Lansing, MI
Posts: 7,313
|
|
WOW! Impressive feature set... I'll be installing this soon - in the meantime, fix your URL 
|

09-26-2008, 10:07 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Quote:
Originally Posted by rdale
...in the meantime, fix your URL 
|
Whoops, got it, thanks for the catch.
|

09-27-2008, 03:31 PM
|
|
|
This kicksass.
I run a streaming scanner so I wonder if it's possible to have it play a wav file depending on the tones and to add more tones then the current 5.
I'm just looking for a way to announce the dept being paged over the stream. I was going to ask for it to mute a select port while the wav plays but thats just asking too much. :-p/
|

09-27-2008, 03:59 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Supporting tone sets won't be too much trouble...it's planned in the future. Playing a .wav file upon tone detection is certainly possible, but doesn't the dispatcher say the name of the department right away anyway? I'll put it on the list, but lower down.
Right now I'm still working out some bugs in the tone detection algorithm, so it's not 100% where I want it to be...getting there.
Andy
|

09-27-2008, 05:00 PM
|
|
|
Thanks for the extra tones. I think we have 17 different depts county wide and also EMS paging too.
As for the wav on tones. I've attached one of them and I think they go long enough to play something if the file starts to play just as the 2nd tone starts.
|

09-27-2008, 05:09 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
For anyone who's already downloaded it, I just uploaded a newer version that should work better. Someday I might get organized to attach version numbers and create revision notes, but for now this is kind of a fly-by-night endeavor.
Andy
|

09-28-2008, 10:13 AM
|
|
|
Is there another way to get the drivers for it? I don't want to have to create little accounts all over the place for one-time downloads.
__________________
David T. Stark, NF2G
Educator - Criminal Justice, Sociology
NF2G's Forensic Scannist Pages http://nf2g.com/scannist
Don't run from the police. Motorola always beats Mopar!
|

09-28-2008, 01:46 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Sorry, I wanted to post an installer that includes all of the drivers built in to it, but googlepages has a max file size of 10 MB.
Andy
|

09-28-2008, 02:26 PM
|
 |
Member
|
|
 Database Admin
|

Audio Feed Provider
|
|
Join Date: Dec 2002
Location: Riverside County, California
Posts: 1,919
|
|
Use the BugMeNot extension for Firefox. You'll never have to create an account again 
|

09-28-2008, 02:40 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Quote:
Originally Posted by webstar22
|
Because then I'd have to create another account
I just uploaded a new version with a fix that should reduce some falsing. Working on another update to further improve.
Last edited by aaknitt; 09-28-2008 at 02:52 PM..
|

09-28-2008, 08:54 PM
|
 |
Member
|
|
|
Join Date: Dec 2002
Location: South-Eastern, Ontario
Posts: 553
|
|
Are you able to make this detect any tone to give a readout of what the tone is?
__________________
Just because I can, doesn't mean I will. (But I might)
|

09-28-2008, 08:56 PM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Yes, it does that already. It displays the most dominant frequency of the sound card input in the "Tone Freq" field on the display. When a tone is coming across the air, it will display the frequency of that tone.
|

09-28-2008, 09:24 PM
|
|
|
Thats how I got my freqs for it.
|

09-29-2008, 12:05 AM
|
 |
Member
|
|

Premium Subscriber
|
|
Join Date: Dec 2002
Location: Niagara Region/Ontario Canada
Posts: 985
|
|
How to uninstall @ other questions
First thank you for taking the time to make a program that will help us find these tones,
#1 I am running Windows Home Premium Edition, Will your program work with this.
#2 There are several downloads we need to get to run your program, do all these programs install into the control panel of Windows and install a Uninstall program so we can easily uninstall these downloads.
#3 Will this program run without setting up the email notification side of the program.
Thanks for any information you can provide.
Steve
__________________
BC396T Scanner
Pro-2045 Scanner Discriminator Tap
ARC396TPRO Software
|

09-30-2008, 12:11 AM
|
|
Member
|
|
|
Join Date: Aug 2005
Posts: 140
|
|
Quote:
Originally Posted by Saint
First thank you for taking the time to make a program that will help us find these tones,
#1 I am running Windows Home Premium Edition, Will your program work with this.
#2 There are several downloads we need to get to run your program, do all these programs install into the control panel of Windows and install a Uninstall program so we can easily uninstall these downloads.
#3 Will this program run without setting up the email notification side of the program.
Thanks for any information you can provide.
Steve
|
1) Yes, it should, that's what I'm running at home
2) The VISA runtime engine is removable through the Windows control panel. Select "National Instruments Software". To uninstall the Labview runtime, rerun the installer and select uninstall, or follow other instructions as shown here: http://forums.ni.com/ni/board/messag...read.id=288533
3) Yes it will run, but it may throw an error when it tries to send the email. If it does, I can add an error handler to eliminate that, or make emailing a user selectable option.
I'm also working on an update that will play the audio in real time as it records, rather than waiting until the 30 second WAV file has finished recording before starting playback.
Finally, if all you want to do is find the tone frequencies of certain pages, I've created a document that explains how to do this with Audacity. There is a link to it at the very bottom of the TwoToneDetect page under "Additional Resources"
Andy
Last edited by aaknitt; 09-30-2008 at 12:13 AM..
|

09-30-2008, 10:35 AM
|
 |
Member
|
|

Premium Subscriber
|
|
Join Date: Dec 2002
Location: Niagara Region/Ontario Canada
Posts: 985
|
|
Thank you
Quote:
Originally Posted by aaknitt
1) Yes, it should, that's what I'm running at home
2) The VISA runtime engine is removable through the Windows control panel. Select "National Instruments Software". To uninstall the Labview runtime, rerun the installer and select uninstall, or follow other instructions as shown here: http://forums.ni.com/ni/board/messag...read.id=288533
3) Yes it will run, but it may throw an error when it tries to send the email. If it does, I can add an error handler to eliminate that, or make emailing a user selectable option.
I'm also working on an update that will play the audio in real time as it records, rather than waiting until the 30 second WAV file has finished recording before starting playback.
Finally, if all you want to do is find the tone frequencies of certain pages, I've created a document that explains how to do this with Audacity. There is a link to it at the very bottom of the TwoToneDetect page under "Additional Resources"
Andy
|
Thanks Andy for answering all my questions, I know your busy with trying to get the program up and running, I'll download your program and install it and do some bata testing for you I have several fire departments to test it on down hear in Ontario Canada, I did try to get Audacity working but could not, I received a lot of wrong tones from the software but I think it was because I did not have the program set up right or something.
Steve
__________________
BC396T Scanner
Pro-2045 Scanner Discriminator Tap
ARC396TPRO Software
|

09-30-2008, 01:11 PM
|
 |
Member
|
|

Premium Subscriber
|
|
Join Date: Dec 2002
Location: Niagara Region/Ontario Canada
Posts: 985
|
|
error
Everytime I shut down your program I get an error box that comes
Error 8 occurred at Open/Create/Replace File in Write Spreadsheet String.vi->Write To Spreadsheet File (string).vi->TwoToneDetect10.vi
and any changes I have made to the program are lost when starting the program again.
Steve
__________________
BC396T Scanner
Pro-2045 Scanner Discriminator Tap
ARC396TPRO Software
|

09-30-2008, 01:29 PM
|
 |
Member
|
|

Premium Subscriber
|
|
Join Date: Dec 2002
Location: Niagara Region/Ontario Canada
Posts: 985
|
|
Where are the tones
I must be doing something wrong, I have your program set up with my 396t scanner and the program is decoding the tones, I have (play wave file after recording check off) and it's playing a 30 second clip after it catches a tone but the program is not sending anything to my email box.
is there a way for your program to save the frequency, tone, and the .wav file and send this information to either a directory on your computer or send the information to you email address so then you have all the information pertaining to the frequency and tone. Many times there are several tones on the same frequency to tone out different fire departments and this way you can figure out what tone belongs to what company.
Steve
__________________
BC396T Scanner
Pro-2045 Scanner Discriminator Tap
ARC396TPRO Software
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:43 AM.
|
|
|
|
| |
|
|