TwoToneDetect Beta

Status
Not open for further replies.

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,323
Reaction score
116
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.
TwoToneDetect-full;init:.jpg

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:

plectron25

Member
Premium Subscriber
Joined
Feb 18, 2008
Messages
18
Reaction score
0
Multiple tone-out pairs?

I have TwoToneDetect v.20 working nicely on my PC in conjunction with Orb (to review previously recorded tone outs). The question: our local fire/rescue folks tend to tone out fire, rescue and EMS whenever there is a carbon monoxide alarm called in. That means there are three pairs of tones. Or for a fire with smoke showing they will tone out fire plus rescue for two pairs of tones.

What is the best way to configure TwoToneDetect so that when there are multiple tone pairs delivered sequentially the e-mail generated is for the priority (perhaps fire) tone pair?

Thanks in advance.
 

GTR8000

NY/NJ Database Guy
Database Admin
Joined
Oct 4, 2007
Messages
16,738
Reaction score
15,714
Location
BEE00
There really is none, as the program will lock up on the first valid tones it detects that are on your list. If they always send the Fire tones first, then you shouldn't have any problem, but it sounds like that isn't the case. If Fire is the middle or last set of tones sent, then the only way to have it "prioritize" them is to not have EMS or Rescue on your tone list, so that the program won't lock up on them. Which, of course, defeats what you're trying to do by having multiple tone sets. Bottom line is, the program is not really designed for or equipped to handle multiple sets of tones in a single dispatch. First valid tones always get priority.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,323
Reaction score
116
Version 21 Now Available

I just posted a version 21 with two relatively minor changes:

  • "Exclude Email Addresses" between time limits. Rather than not sending any emails during set times, this allows you to specify email addresses to NOT send to between the times. This allows me to always send emails to my web email, but exclude emails to my phone during daily test pages.
  • The email header has been changed slightly so that it now sends audio files correctly to my non-mp3 phone through Verizon. The file is sent as an mp3, but shows up as an AAC on my phone, which my phone can handle.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,323
Reaction score
116
Has anyone tried the serial commands with a Uniden BC246T?
David

The only scanner I've tested the serial commands on is a BCD-396T, but the command protocol is the same on the BC246T, so I don't see any reason why it wouldn't work.

Andy
 

dimab

Member
Joined
Dec 19, 2002
Messages
528
Reaction score
105
Location
CT
Has anyone had any luck getting an MMS message to come through from this program with AT&T phones?

i have not directly BUT you need to send it (replace the zeros with your cell number) 00000000@mms.att.net and make sure your phone can receive MMS messages.
If you have an iPhone, forget it as it will not accept MMS and needs to be emailed. I know email work b/c it's exactly what I'm doing with this setup.
 

dimab

Member
Joined
Dec 19, 2002
Messages
528
Reaction score
105
Location
CT
I just posted a version 21 with two relatively minor changes:

  • "Exclude Email Addresses" between time limits. Rather than not sending any emails during set times, this allows you to specify email addresses to NOT send to between the times. This allows me to always send emails to my web email, but exclude emails to my phone during daily test pages.
  • The email header has been changed slightly so that it now sends audio files correctly to my non-mp3 phone through Verizon. The file is sent as an mp3, but shows up as an AAC on my phone, which my phone can handle.

can you add a version # somewhere on the main screen or within a menu, otherwise need to dig up the executable and check file versions.
 

JasonL

Member
Joined
Sep 6, 2008
Messages
0
Reaction score
0
The problem I am having is that when the program emails the mp3 to a cell phone via the mms address (**********@mms.att.net) I get an error on the phone at says " the file was removed from the message as not supported". This only happens when an mms is sent from the program. When I send an email from my gmail account with an mp3 attached to the mms address it comes accross just fine. It seems that the problem must be in the way the program attaches the file to the email. Anyone have a fix or suggestions to fix this? Thanks


I was actually wondering if anyone else is having problems with this. I am still having this problem even with the new versions.
 

dimab

Member
Joined
Dec 19, 2002
Messages
528
Reaction score
105
Location
CT

if you send an mp3 attached from GMAIL (web interface) does it work? and do you have another email address that you could attempt from? Unfortunately I have an iPhone and can't test MMS :evil:
I have to run it through email.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,323
Reaction score
116
You may want to try uninstalling, redownloading, and reinstalling. Shortly after I posted the latest version I found a small bug and reposted it without a version rev. If you happened to download it right after I originally posted it, you might have the buggy version. Bad practice on my part I know, but you get what you pay for :p

Andy
 

byndhlptom

Member
Joined
Nov 1, 2005
Messages
399
Reaction score
43
Location
JoCo, KS (SoDak native)
2-tone

Sir:

Setting multiple tone pairs is common for the local county dispatch. It would be nice that you could detect multiple agencies tones sent as part of a set. Between 'closest unit resonse', Mutual aid agreements, staff support, and dual responses, they seem to rarely send just a single tone pair. Hope that you can support this eventually, otherwise it's still a GREAT program

thanks
 

Napsterbater

Member
Joined
Dec 2, 2007
Messages
57
Reaction score
0
Location
Milledgeville, GA
Would be cool for it to be able to run the recording in like a separate process then just have 1 process per pair received or something like that, like have a "supervisory" process (the current one) then have the recording done and launced in a separate processes.

During Idle have only the 1 process, Tone 1 received launch a recording process and count down for tone 1, before tone 1's timer runs out tone 2 is detected the launch a new record process for tone 2 and start countdown separate from tone 1. then tone 1's timer runs out stop and e-mail then do them same for 2.

I know it might not be possible but would be neat.

Also I was wondering if you could ad a option to the radio control to allow for normal scanning (not skip if no tone scanning as I belive its implamented) until a tone is recived then hold on that channel till A. Record timer runs out or B. settable time limit, I run a scanner that broadcast to the internet so I need normal scanning fuction but because of that durring the record I can get outher unwanteed traffic like if the dispathcer let the carrier drop befor transmitting my scanner might start listing to anouther channels trafic and recording the instead.
BTW this is an awsome program I have it sending e-mailed pages to some of my fellow firefighters, keep up the good work.
 
Status
Not open for further replies.
Top