RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Software > Streaming / Broadcasting / Audio Recording


Streaming / Broadcasting / Audio Recording Interested 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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #901 (permalink)  
Old 10-25-2012, 9:54 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

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
Attached Images
 
Attached Files
File Type: txt Error.txt (7.4 KB, 42 views)
Reply With Quote
Sponsored links
  #902 (permalink)  
Old 10-25-2012, 10:01 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

Quote:
Originally Posted by URIEMS View Post
Host is smtp.gmail.com
Port is 587

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
Reply With Quote
  #903 (permalink)  
Old 10-26-2012, 11:45 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

Quote:
Originally Posted by TSFD View Post
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?
Reply With Quote
  #904 (permalink)  
Old 10-27-2012, 7:09 AM
smittyj77's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Sep 2004
Location: Brockville
Posts: 94
Send a message via ICQ to smittyj77 Send a message via MSN to smittyj77
Default

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
Reply With Quote
  #905 (permalink)  
Old 10-27-2012, 9:15 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

Quote:
Originally Posted by smittyj77 View Post
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.
Reply With Quote
Sponsored links
  #906 (permalink)  
Old 10-27-2012, 9:28 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Oct 2012
Posts: 4
Default Upper Hz limit

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?
Reply With Quote
  #907 (permalink)  
Old 10-27-2012, 3:55 PM
smittyj77's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Sep 2004
Location: Brockville
Posts: 94
Send a message via ICQ to smittyj77 Send a message via MSN to smittyj77
Default

Just checked, 2 step verification is off

Don't have another google account either to use.



Sent from my BlackBerry 9900 using Tapatalk
Reply With Quote
  #908 (permalink)  
Old 10-29-2012, 10:02 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

Quote:
Originally Posted by smittyj77 View Post
Just checked, 2 step verification is off

Don't have another google account either to use.



Sent from my BlackBerry 9900 using Tapatalk

Setup another gmail account for testing.
Reply With Quote
  #909 (permalink)  
Old 10-30-2012, 8:16 AM
Member
   
Join Date: Aug 2005
Posts: 635
Default

Quote:
Originally Posted by TSFD View Post
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.

Andy
Reply With Quote
Sponsored links
  #910 (permalink)  
Old 10-30-2012, 8:40 AM
Member
   
Join Date: Oct 2012
Posts: 10
Default

Quote:
Originally Posted by aaknitt View Post
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?
Reply With Quote
  #911 (permalink)  
Old 10-30-2012, 8:53 AM
Member
   
Join Date: Aug 2005
Posts: 635
Default

Quote:
Originally Posted by TSFD View Post
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?
See this post about the stereo/mono issue.
Reply With Quote
  #912 (permalink)  
Old 10-30-2012, 8:44 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 146
Default

Quote:
Originally Posted by aaknitt View Post
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.

Andy
You are good, Andy! In fact, the best.
Reply With Quote
  #913 (permalink)  
Old 11-03-2012, 7:53 PM
Member
   
Join Date: Nov 2012
Location: Port Colborne, Ontario
Posts: 1
Default

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
Reply With Quote
  #914 (permalink)  
Old 11-04-2012, 1:19 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2009
Posts: 186
Default

Quote:
Originally Posted by URIEMS View Post
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.
Reply With Quote
  #915 (permalink)  
Old 11-04-2012, 10:43 AM
gfdfortynine's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Nov 2011
Posts: 156
Default

Quote:
Originally Posted by africke View Post
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.
Reply With Quote
Sponsored links
  #916 (permalink)  
Old 11-04-2012, 10:48 AM
gfdfortynine's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Nov 2011
Posts: 156
Default

Quote:
Originally Posted by iceman977th View Post
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.
Reply With Quote
  #917 (permalink)  
Old 11-05-2012, 12:37 PM
gr8rcall's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2012
Location: Alamance County, NC
Posts: 690
Default

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!
Reply With Quote
  #918 (permalink)  
Old 11-05-2012, 1:06 PM
iamhere300's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Jun 2004
Posts: 935
Default

Quote:
Originally Posted by iceman977th View Post
How old are we talking? Minitor II's have the programming crystals IIRC that you should be able to just remove.
Tone reeds, not crystals. If you remove the crystals it will not recieve at all.
Reply With Quote
  #919 (permalink)  
Old 11-05-2012, 1:07 PM
iamhere300's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Jun 2004
Posts: 935
Default

Quote:
Originally Posted by gfdfortynine View Post
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.
Reply With Quote
  #920 (permalink)  
Old 11-08-2012, 2:27 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2009
Posts: 186
Default

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.
Reply With Quote
Reply

Tags
twotonedetect

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 10:51 AM.


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