RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Computer Aided Monitoring and Programming > Scanner Programming Software


Scanner Programming Software - This is the place to discuss third party scanner programming and control software.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-26-2008, 8:04 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default 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 10:27 PM..
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 09-26-2008, 9:00 PM
Completely Banned for the Greater Good
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2001
Location: Lansing, MI
Posts: 11,438
Default

WOW! Impressive feature set... I'll be installing this soon - in the meantime, fix your URL
Reply With Quote
  #3 (permalink)  
Old 09-26-2008, 9:07 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

Quote:
Originally Posted by rdale View Post
...in the meantime, fix your URL
Whoops, got it, thanks for the catch.
Reply With Quote
  #4 (permalink)  
Old 09-27-2008, 2:31 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2003
Location: Earth Sector 001
Posts: 798
Default

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/
Reply With Quote
  #5 (permalink)  
Old 09-27-2008, 2:59 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

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
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 09-27-2008, 4:00 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2003
Location: Earth Sector 001
Posts: 798
Default

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.
Attached Files
File Type: zip audio_freq-_154.3100.zip (113.3 KB, 525 views)
Reply With Quote
  #7 (permalink)  
Old 09-27-2008, 4:09 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

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
Reply With Quote
  #8 (permalink)  
Old 09-28-2008, 9:13 AM
DaveNF2G's Avatar
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2001
Location: Rensselaer, NY
Posts: 8,725
Default

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 WQMY980 KYR7128
ARRL VE & Registered Licensing Instructor
Reply With Quote
  #9 (permalink)  
Old 09-28-2008, 12:46 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

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
Reply With Quote
  #10 (permalink)  
Old 09-28-2008, 1:26 PM
brandon's Avatar
Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2002
Location: SoCal
Posts: 3,533
Default

Use the BugMeNot extension for Firefox. You'll never have to create an account again
__________________
ScanRiverside.com - solarix.net
Reply With Quote
  #11 (permalink)  
Old 09-28-2008, 1:35 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2003
Location: Earth Sector 001
Posts: 798
Default

Why not host the project on something like http://sourceforge.net/.
Reply With Quote
  #12 (permalink)  
Old 09-28-2008, 1:40 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

Quote:
Originally Posted by webstar22 View Post
Why not host the project on something like http://sourceforge.net/.
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 1:52 PM..
Reply With Quote
  #13 (permalink)  
Old 09-28-2008, 7:54 PM
LordJ's Avatar
Member
   
Join Date: Dec 2002
Location: South-Eastern, Ontario
Posts: 669
Default

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)
Reply With Quote
  #14 (permalink)  
Old 09-28-2008, 7:56 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

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.
Reply With Quote
  #15 (permalink)  
Old 09-28-2008, 8:24 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2003
Location: Earth Sector 001
Posts: 798
Default

Thats how I got my freqs for it.
Reply With Quote
  #16 (permalink)  
Old 09-28-2008, 11:05 PM
Saint's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2002
Location: Fort Erie Ontario Canada
Posts: 2,213
Question 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
__________________
Uniden BC396T Scanner, ARC396T PRO Software

Elad FDM-S2 HF SDR Radio + Software for HF
Wellbrook Antenna ALA1530LNPro IMPERIUM
Reply With Quote
  #17 (permalink)  
Old 09-29-2008, 11:11 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,088
Default

Quote:
Originally Posted by Saint View Post
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-29-2008 at 11:13 PM..
Reply With Quote
  #18 (permalink)  
Old 09-30-2008, 9:35 AM
Saint's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2002
Location: Fort Erie Ontario Canada
Posts: 2,213
Thumbs up Thank you

Quote:
Originally Posted by aaknitt View Post
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
__________________
Uniden BC396T Scanner, ARC396T PRO Software

Elad FDM-S2 HF SDR Radio + Software for HF
Wellbrook Antenna ALA1530LNPro IMPERIUM
Reply With Quote
  #19 (permalink)  
Old 09-30-2008, 12:11 PM
Saint's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2002
Location: Fort Erie Ontario Canada
Posts: 2,213
Default 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
__________________
Uniden BC396T Scanner, ARC396T PRO Software

Elad FDM-S2 HF SDR Radio + Software for HF
Wellbrook Antenna ALA1530LNPro IMPERIUM
Reply With Quote
  #20 (permalink)  
Old 09-30-2008, 12:29 PM
Saint's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2002
Location: Fort Erie Ontario Canada
Posts: 2,213
Default 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
__________________
Uniden BC396T Scanner, ARC396T PRO Software

Elad FDM-S2 HF SDR Radio + Software for HF
Wellbrook Antenna ALA1530LNPro IMPERIUM
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 6:48 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2015 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions