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
  #381 (permalink)  
Old 01-02-2012, 9:22 AM
aliby19's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Mar 2005
Location: Whitestown, IN
Posts: 179
Default

Andy,

I am using v52a and just ran into an issue. A set of tones was detected, but no email was ever sent. Almost all other tone sets are working fine. Here is the output from the status window of the application itself:
Code:
Email Sent!
Unknown (Jamestown Fire?) page recieved at 10:01:33
Thorntown/Sugar Creek Fire page recieved at 10:00:54
Witham Medics page recieved at 10:00:48
Email Sent!
Email Sent!

And here is the debug output:
Code:
A Tone Found!
Checking for B Tone
Checking for B Tone
338.0
1
Tone Set Found! 10:01:33
Unknown (Jamestown Fire?) 10:01:33
email@gmail.com,post@posterous.com

delay timer 10:01:33
waiting for audio 10:01:33
recording audio 10:01:34
A Tone Found!
mp3 email sent! 10:01:34
Checking for B Tone
Unhandled exception in thread started by <function alert at 0x01506A70>
Traceback (most recent call last):
  File "<string>", line 380, in alert
  File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\outPYZ1.pyz/wave", line
 500, in open
  File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\outPYZ1.pyz/wave", line
 303, in __init__
IOError: [Errno 2] No such file or directory: './audio/Thorntown/Sugar_Creek_Fir
e_2012-01-0210_01_36_189000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bou
nd method Wave_write.__del__ of <wave.Wave_write instance at 0x01727918>> ignore
d
Checking for Long Tone 10:01:38
Unhandled exception in thread started by <function alert at 0x01506A70>
Traceback (most recent call last):
  File "<string>", line 380, in alert
  File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\outPYZ1.pyz/wave", line
 500, in open
  File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\outPYZ1.pyz/wave", line
 303, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Unknown_(Jamestown
_Fire?)_2012-01-0210_02_15_469000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bou
nd method Wave_write.__del__ of <wave.Wave_write instance at 0x02B4ECB0>> ignore
d
I'm venturing to guess it's because of the question mark in the description of this tone set. Do you have any other thoughts?

Thanks!
__________________
FF/EMT | Boone Co, IN Feeds: Public Safety & Fire/EMS Dispatch
Radios: Moto 1550XLS VHF, XTS2500 800MHz, Yaesu VX7R, FT51R, 7800R
Scanners: BCD396XT, BCD996XT, HomePatrol-1, Regency MX3000
Reply With Quote
Sponsored links
  #382 (permalink)  
Old 01-02-2012, 9:29 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 828
Default

Quote:
Originally Posted by aliby19 View Post
I'm venturing to guess it's because of the question mark in the description of this tone set. Do you have any other thoughts?

Thanks!
I think you're correct. Try removing the question mark, I think it'll work then.

Also, I've pulled v53b because I found another bug. I'll repost it when I get it fixed and tested a little better.

Andy
Reply With Quote
  #383 (permalink)  
Old 01-03-2012, 6:07 PM
MikeOxlong's Avatar
Global DB Admin/Senior Mod
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Jun 2001
Location: Central Ontario
Posts: 5,781
Default

I had some problems using / in my description field which is understandable.

Replaced it with a hyphen and all was good.
__________________
Mike.

To contact me please use the email function through my profile as I do not accept Private Messages.
Reply With Quote
  #384 (permalink)  
Old 01-04-2012, 9:28 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jul 2009
Posts: 636
Default

I'm having issues. No mp3 or email. This program looks like it could be a lot better than the old...I esp like the stacked paging.

Debug:
A Tone Found!
Checking for B Tone
Checking for B Tone
618.0
1
Checking for B Tone
618.0
2
Checking for B Tone
618.0
3
Checking for B Tone
618.0
4
Checking for B Tone
618.0
5
Checking for B Tone
618.0
6
Checking for B Tone
618.0
7
Checking for B Tone
618.0
8
Checking for B Tone
618.0
9
Checking for B Tone
618.0
10
Checking for B Tone
618.0
11
Checking for B Tone
618.0
12
Checking for B Tone
618.0
13
Checking for B Tone
618.0
14
Tone Set Found! 20:09:47
5109 20:09:47
me@myemail.com

delay timer 20:09:47
waiting for audio 20:09:48
recording audio 20:09:48
A Tone Found!
Checking for B Tone
Checking for B Tone
618.0
1
Checking for B Tone
618.0
2
Checking for B Tone
618.0
3
Checking for B Tone
618.0
4
Checking for B Tone
618.0
5
Checking for B Tone
618.0
6
Checking for B Tone
618.0
7
Checking for B Tone
618.0
8
Checking for B Tone
618.0
9
Checking for B Tone
618.0
10
Checking for B Tone
618.0
11
Checking for B Tone
618.0
12
Checking for B Tone
618.0
13
Checking for B Tone
618.0
14
Tone Set Found! 20:10:12
5109 20:10:12
me@myemail.com

delay timer 20:10:12
waiting for audio 20:10:13
recording audio 20:10:13
done writing WAV 20:10:16
Unhandled exception in thread started by <function alert at 0x0157E470>
Traceback (most recent call last):
File "<string>", line 405, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\ outPYZ1.pyz/subprocess"
, line 679, in __init__
File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\ outPYZ1.pyz/subprocess"
, line 893, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
done writing WAV 20:10:41
Unhandled exception in thread started by <function alert at 0x0157E470>
Traceback (most recent call last):
File "<string>", line 405, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\ outPYZ1.pyz/subprocess"
, line 679, in __init__
File "D:\Python\build\pyi.win32\TwoToneDetect52a_debug\ outPYZ1.pyz/subprocess"
, line 893, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Reply With Quote
  #385 (permalink)  
Old 01-05-2012, 5:42 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 304
Default From an Oct 25 post on page 10 of the forum:

Quote:
Originally Posted by chad3405
Here is my error. Did some searching but didnt find any fixes that I understood.
Any ideas?

Unhandled exception in thread started by <function alert at 0x02C199F0>
Traceback (most recent call last):
File "<string>", line 332, in alert
File "E:\Python\build\pyi.win32\TwoToneDetect49\out PYZ1 .pyz/subprocess", line
679, in __init__
File "E:\Python\build\pyi.win32\TwoToneDetect49\out PYZ1 .pyz/subprocess", line
893, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified


It's not able to run ffmpeg to convert the WAV file to MP3 or AMR format. Make sure that ffmpeg.exe is in the same folder as the program. It could also be a problem with the naming of the WAV file, which is based on your tone description. Make sure you're not using any strange characters in the tone description that might cause file name issues.

Andy
Reply With Quote
Sponsored links
  #386 (permalink)  
Old 01-05-2012, 9:55 AM
Member
   
Join Date: Oct 2009
Posts: 25
Default

Hey, is it possible to disable all audio recording and email features for this program? I need nothing more than the command execution (run a program on tone detection) for my use.
Reply With Quote
  #387 (permalink)  
Old 01-05-2012, 2:58 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 828
Default

Quote:
Originally Posted by jwjkp View Post
Hey, is it possible to disable all audio recording and email features for this program? I need nothing more than the command execution (run a program on tone detection) for my use.
You can't disable the recording, but you can set the record length to something really short like .1 seconds. If you leave the mp3_emails and amr_emails fields blank or omit them in the tones.cfg file, the program won't send any emails. You'll end up with a bunch of .1 second long WAV files in the /audio directory, but that shouldn't be a big deal.

Andy

Last edited by aaknitt; 01-05-2012 at 3:00 PM..
Reply With Quote
  #388 (permalink)  
Old 01-05-2012, 3:33 PM
Member
   
Join Date: Oct 2009
Posts: 25
Default

Quote:
Originally Posted by aaknitt View Post
You can't disable the recording, but you can set the record length to something really short like .1 seconds. If you leave the mp3_emails and amr_emails fields blank or omit them in the tones.cfg file, the program won't send any emails. You'll end up with a bunch of .1 second long WAV files in the /audio directory, but that shouldn't be a big deal.

Andy
Ah, think you could add the ability to disable recording the audio? I'm sure there might be others who don't need it also.
Reply With Quote
  #389 (permalink)  
Old 01-05-2012, 3:42 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 828
Default

Quote:
Originally Posted by jwjkp View Post
Ah, think you could add the ability to disable recording the audio? I'm sure there might be others who don't need it also.
I could, but I don't see a reason to. Is there some reason that recording the audio makes the program unusable for you?

Andy
Reply With Quote
Sponsored links
  #390 (permalink)  
Old 01-06-2012, 6:08 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jul 2009
Posts: 636
Default

Has anyone put this program into full time service yet? My beta testing is working flawlessly now and I don't see any reason why not to put it into service.

Also, Andy, could you please capitalize Page Received again in the new version...thanks.
Reply With Quote
  #391 (permalink)  
Old 01-06-2012, 6:12 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Oct 2008
Location: White County, Tennessee
Posts: 26
Default

Quote:
Originally Posted by sfd119 View Post
Has anyone put this program into full time service yet? My beta testing is working flawlessly now and I don't see any reason why not to put it into service.

Also, Andy, could you please capitalize Page Received again in the new version...thanks.
I have v53 up and going and had one issue with it right after installing it. Made some adjustments and so far it is working very well. Andy made the changes that I was needing due to false paging and so far it is working very well. Everyone in our county loves it and is very happy with how the program is running.
Reply With Quote
  #392 (permalink)  
Old 01-07-2012, 6:56 AM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Aug 2011
Location: Center Harbor,NH
Posts: 13
Default

Andy,
I know you pulled 53b, I never got around to taking it out of testing, I never ran 53 or 53a but 53b is the first python version that has not locked up my Echolink Ham radio program using Com 3 a USB adapter.

I have had it running since the day you posted it, only listening for one department.

Ed
Reply With Quote
  #393 (permalink)  
Old 01-07-2012, 10:08 PM
gfdfortynine's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Nov 2011
Location: Eastern, Ontario
Posts: 239
Default Theoretical Question

I have a spare fire pager, you think I could use it activate the ttd software?
It's a minitor II which has the 2.5mm earpiece which I could hook to the computer. Have to find one of them old ear buds somewhere........then I can test.
I know that when its open the tones will play, but I'm not sure if the beeping will interfere.

The reason I am asking is I would like to free up my scanner to host more frequencies like Kingston Fire etc.
Reply With Quote
  #394 (permalink)  
Old 01-07-2012, 10:20 PM
rzq4x4's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jul 2005
Location: Harrison, MT
Posts: 24
Default

I use an old Minitor II with the tone reeds removed (so it will not alert anymore) to monitor the channel and feed Two Tone Detect and it works great.

John
Reply With Quote
  #395 (permalink)  
Old 01-08-2012, 11:57 AM
gfdfortynine's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Nov 2011
Location: Eastern, Ontario
Posts: 239
Default

Quote:
Originally Posted by rzq4x4 View Post
I use an old Minitor II with the tone reeds removed (so it will not alert anymore) to monitor the channel and feed Two Tone Detect and it works great.

John
thanks
Reply With Quote
Sponsored links
  #396 (permalink)  
Old 01-09-2012, 3:51 AM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,517
Default

Wirelessly posted (BlackBerry8530/5.0.0.973 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/105)

Quote:
Originally Posted by rzq4x4
I use an old Minitor II with the tone reeds removed (so it will not alert anymore) to monitor the channel and feed Two Tone Detect and it works great.

John
Did you just have this laying around? If not, it would seem like an old scanner would be easier.
__________________
Generic radio geek, in southeast Michigan.
PSR-500, TM-742, TM-V71,TH-78, HTX-420, IC-2AT, IC-2E (clone), Pro-39, BC-235XLT, TK-290, XTS-5000
Reply With Quote
  #397 (permalink)  
Old 01-09-2012, 4:29 AM
Member
   
Join Date: Apr 2006
Posts: 1,276
Default New TwoToneDetect In The Works - Python based

I just ran across this thread and I may have to try this.
Reply With Quote
  #398 (permalink)  
Old 01-09-2012, 1:40 PM
rzq4x4's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jul 2005
Location: Harrison, MT
Posts: 24
Default

I have about 10 that work just laying around and another 9 that don't work. When we switched to Minitor V's the old II's just went into my parts drawer. I don't have scanners laying around and it was a free receiver already tuned to the frequency I needed. So yes it was just laying around.

John
Reply With Quote
  #399 (permalink)  
Old 01-09-2012, 3:21 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Dec 2009
Posts: 192
Default

Got mine up & running on XP 32-bit no problem. Gonna let it run & see what happens when our pager test rolls around. How hard would it be to add a feature to cutoff the recording during another set of tones? Our dispatch is set up to set our pagers off first, announce the call, then set off another set of tones for the siren, how hard would it be to add that as well as a backup timer?
Reply With Quote
  #400 (permalink)  
Old 01-10-2012, 4:46 PM
gfdfortynine's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Nov 2011
Location: Eastern, Ontario
Posts: 239
Thumbs up

Quote:
Originally Posted by rzq4x4 View Post
I have about 10 that work just laying around and another 9 that don't work. When we switched to Minitor V's the old II's just went into my parts drawer. I don't have scanners laying around and it was a free receiver already tuned to the frequency I needed. So yes it was just laying around.

John
This is my case as well no old scanners lying around but lots of pagers.

I have the pager hooked up and it works well. Getting a bit of an echo but probably due to radio feed which is hooked to my scanner also running. I have the pager on left channel for ttd and radio feed on the right channel for the stream. I have the playback during record checked maybe this is causing the echo? Anyway I am very happy with the results.

What an amazing group we have here.
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 12:12 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2014, 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