Streaming / Broadcasting / Audio RecordingInterested in putting your scanner online for others to hear? Want to listen to other radios on the internet. This forum is here for you to discuss these topics related to streaming scanners online.
I just had a page that did not e-mail last night and I had debugging enabled. Looking at the debug, I see two interesting things:
1. An EMS page was detected at 14:37 but the software shows the e-mail was not sent, but it actually was.
2. A fire page was detected at 17:04 and the software shows an e-mail was sent, but it wasn't. There is also no audio for the page in the audio folder.
Attached is the full debug I was able to copy. Here is just the error:
Unhandled exception in thread started by <function alert at 0x015F1C30>
Traceback (most recent call last):
File "<string>", line 445, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect56_debug\o utPYZ1.pyz/wave", line 500, in open
File "D:\Python\build\pyi.win32\TwoToneDetect56_debug\o utPYZ1.pyz/wave", line 303, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Fire_Page\tNew_Server_2012-10-2417_06_06_046000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bound method Wave_write.__del__ of <wave.Wave_write instance at 0x016616E8>> ignored
Try opening a command prompt and type in the the following without quotes:
"telnet smtp.gmail.com 587"
On my computer I get a reply back of "220 mx.google.com ESMTP s20sm4701642igs.10"
This tells us we can actually connect to smtp.gmail.com on port 587. If it gives you some kind of error, you may have a firewall or network issue.
Please note, telnet is not installed by default on Windows 7. If you have windows 7, you can install it by following the steps here: Install Telnet Client
The MP3 files coming from the software are Stereo. When analyzing them with Audacity, only one channel actually has audio. The other channel is dead noise.
Is there any way we could get the software to output these as Mono to cut the file size down to allow for faster e-mailing?
Please let me know.
Doing some research, this is actually really easy to do. With ffmpeg, all we need to do is add "-ac 1" to the command to force it to output in mono.
Is there anyway this could make its way to the next version?
Did it again, pages received and recorded by two tone detect no email sent, debug screen showed same gmail error.
Logged into gmail - required captcha along with my password.
Its like two tone detect is messing up my login after in sends 2 or 3 pages
Sent from my BlackBerry 9900 using Tapatalk
Can you log onto Gmail and verify two step verification is turned off? Here are some quick steps:
login to google.---
go to 'account setting' -> then 'security'
edit '2 step verification' and remove it.
If this is already off, do you have another gmail account you can use temporarily for testing? If so, please enter that username and password and let us know if it works under that username.
Does anyone know what the upper Hz limit is for TTD? Currently we have it hocked up to an old pager base but when the tones go off the pager beeps. Unfortunately the pager is old so we don't have the correct equipment to reprogram it. I analysed the beeps in audiocity and got three prominent peaks; the highest at 2090 Hz the second highest at 4782 Hz and the last one at 620 Hz. My plan is to use the beeps from the pager as a "long tone" for the program but which of the 3 frequencies should I use?
I just had a page that did not e-mail last night and I had debugging enabled. Looking at the debug, I see two interesting things:
1. An EMS page was detected at 14:37 but the software shows the e-mail was not sent, but it actually was.
2. A fire page was detected at 17:04 and the software shows an e-mail was sent, but it wasn't. There is also no audio for the page in the audio folder.
Attached is the full debug I was able to copy. Here is just the error:
Unhandled exception in thread started by <function alert at 0x015F1C30>
Traceback (most recent call last):
File "<string>", line 445, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect56_debug\o utPYZ1.pyz/wave", line 500, in open
File "D:\Python\build\pyi.win32\TwoToneDetect56_debug\o utPYZ1.pyz/wave", line 303, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Fire_Page\tNew_Server_2012-10-2417_06_06_046000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bound method Wave_write.__del__ of <wave.Wave_write instance at 0x016616E8>> ignored
I think the issue is in the Description field of your Fire Page New Server. It looks like the space between "Page" and "New" is actually a tab character, not a space. See this line in the debug:
Quote:
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Fire_Page\tNew_Ser
ver_2012-10-2413_27_49_671000.wav'
The "\t" is a tab character. The software replaces all spaces with underscores but apparently it doesn't handle tab characters. Someday I need to sit down and add some handling for odd characters, that seems to cause people lots of problems.
Also, just a note about the "status box" at the bottom of the program windows...the newest (most recent) line is always on top, so it's actually showing that it did send the EMS page email at 14:37 but not the fire page emails at 17:04 or 13:26.
I think the issue is in the Description field of your Fire Page New Server. It looks like the space between "Page" and "New" is actually a tab character, not a space.
Andy
Good catch. In notepad it looked like a space. Thanks for the help.
Any idea if you'd be able to add "-ac 1" to the ffmpeg command to force it to output in mono?
I think the issue is in the Description field of your Fire Page New Server. It looks like the space between "Page" and "New" is actually a tab character, not a space. See this line in the debug:
The "\t" is a tab character. The software replaces all spaces with underscores but apparently it doesn't handle tab characters. Someday I need to sit down and add some handling for odd characters, that seems to cause people lots of problems.
Also, just a note about the "status box" at the bottom of the program windows...the newest (most recent) line is always on top, so it's actually showing that it did send the EMS page email at 14:37 but not the fire page emails at 17:04 or 13:26.
Just thought I would take a moment and give some props to Andy. I set TTD up with an old scanner and laptop in my garage and linked it to my departments tones. Added a bunch of volunteers to the email and it works great!
Just dabbling with ideas now and have it uploading the mp3 to a web page that has a player on it so people can see the daily fire pages...
For some reason I can't get the amr to send to a mobile phone, it sends a text about a page but no attachment. When I add the that same number to the mp3 it sends but of course the message states on the phone that the mp3/mms message was removed due to size... does anybody have any ideas?
Does anyone know what the upper Hz limit is for TTD? Currently we have it hocked up to an old pager base but when the tones go off the pager beeps. Unfortunately the pager is old so we don't have the correct equipment to reprogram it. I analysed the beeps in audiocity and got three prominent peaks; the highest at 2090 Hz the second highest at 4782 Hz and the last one at 620 Hz. My plan is to use the beeps from the pager as a "long tone" for the program but which of the 3 frequencies should I use?
How old are we talking? Minitor II's have the programming crystals IIRC that you should be able to just remove.
Just thought I would take a moment and give some props to Andy. I set TTD up with an old scanner and laptop in my garage and linked it to my departments tones. Added a bunch of volunteers to the email and it works great!
Just dabbling with ideas now and have it uploading the mp3 to a web page that has a player on it so people can see the daily fire pages...
For some reason I can't get the amr to send to a mobile phone, it sends a text about a page but no attachment. When I add the that same number to the mp3 it sends but of course the message states on the phone that the mp3/mms message was removed due to size... does anybody have any ideas?
Thanks
Allen
Unfortunately our Canadian cell phone Co's strip the file regardless. There seems to be no free way to send email to mms text. I have done some research and have found companies which you can pay to send mms messages via email.
What I have done is just send the text, which is the alert and also send email to the recipients email address. They then check the email if they wish to hear the page. There are some on my department that use the email only option because their phones show new email just as fast as a new text.
How old are we talking? Minitor II's have the programming crystals IIRC that you should be able to just remove.
you are correct
I am using a Minitor II with the crystals removed. To the OP with the crystals removed the pager works like a normal receiver, meaning it will not beep. You can then enter the correct tones into the TTD software. BTW if you don't know the tone frequencies it should be written on the tone crystals you just removed.
Just thought Id drop in here, and say how much I like Two Tone Detect.
This program did for me what I couldn't find anywhere else! Thanks!!!!
Gr8rcall
__________________ Supporter of Broadcastify!
Play "Travel Scrabble" here: Travel Scrabble (Word Game) For ALL (not some) have sinned, and fall short of the glory of God!Romans 3:23
Don't be fooled, I'm not a LEO!
you are correct
I am using a Minitor II with the crystals removed. To the OP with the crystals removed the pager works like a normal receiver, meaning it will not beep. You can then enter the correct tones into the TTD software. BTW if you don't know the tone frequencies it should be written on the tone crystals you just removed.
Tone reeds, not crystals. If you remove the crystals the pager will no longer recieve.
Still no problems yet! Still would like a feature added to send a "tone alert" text, with no audio, just text saying there is a call. I'm running a second instance that sends a .1 second clip right now, but it can get annoying, lol.