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
  #81 (permalink)  
Old 08-07-2011, 9:28 PM
Forts's Avatar
Mentor
  RadioReference Database Admininstrator
Database Admin
Audio Feed Provider
Audio Feed Provider
 
Join Date: Dec 2002
Location: Strathroy, Ontario Canada
Posts: 3,934
Default

....and the new version gives me this error when I try to start it:

Code:
Traceback (most recent call last):
  File "<string>", line 105, in <module>
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 135, in getint
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 220, in get
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 123, in get
ConfigParser.NoOptionError: No option 'control_scanner' in section: 'Section1'
__________________
Middlesex County/Strathroy-Caradoc Fire Paging Alerts: http://groups.google.com/group/middlesex-fire
Reply With Quote
Sponsored links
  #82 (permalink)  
Old 08-07-2011, 9:53 PM
Jay911's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Feb 2002
Location: Bragg Creek, Alberta
Posts: 6,671
Default

Quote:
Originally Posted by Forts View Post
....and the new version gives me this error when I try to start it:

Code:
Traceback (most recent call last):
  File "<string>", line 105, in <module>
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 135, in getint
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 220, in get
  File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1.pyz/iniparse.compat",
line 123, in get
ConfigParser.NoOptionError: No option 'control_scanner' in section: 'Section1'
Add the bits from the end of the new sample config to your existing one.
Reply With Quote
  #83 (permalink)  
Old 08-07-2011, 10:14 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default Testing

Andy, I had v40 working (sort of) then tried the v46. Now I get the following error:

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

I am cheating a little. I found a good tone generator in a Free App for my IPAD. Use that to generate the tones and then come in through the microphone on the computer. Recognizes the A and B tones right away. Beats waiting for some activity on the scanner.

In v40 I was having trouble with multiple email addresses, sometimes they would work and other times only the first one in the list would go out. Separated by comma and a space. Is the space maybe the problem?
Reply With Quote
  #84 (permalink)  
Old 08-08-2011, 1:08 AM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,801
Default

You could use "virtual audio cable" to do this, I am guessing.
__________________
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
  #85 (permalink)  
Old 08-08-2011, 8:29 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by Jay911 View Post
Add the bits from the end of the new sample config to your existing one.
Yes, sorry, I forgot to mention that the v46 config file has some new parameters (related to scanner control), so you can either use the config file that came with v46 and edit it, or use your existing config file but add the new lines from the v46 config file to it.

Andy
Reply With Quote
Sponsored links
  #86 (permalink)  
Old 08-08-2011, 8:31 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by DC31 View Post
Andy, I had v40 working (sort of) then tried the v46. Now I get the following error:

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

I am cheating a little. I found a good tone generator in a Free App for my IPAD. Use that to generate the tones and then come in through the microphone on the computer. Recognizes the A and B tones right away. Beats waiting for some activity on the scanner.

In v40 I was having trouble with multiple email addresses, sometimes they would work and other times only the first one in the list would go out. Separated by comma and a space. Is the space maybe the problem?
Do you have lame.exe in the folder with the program? If you don't, this is the error you'll get.

Space could be the problem with the email addresses, I'd have to do some digging. Try it without the spaces and see how it goes.

Andy
Reply With Quote
  #87 (permalink)  
Old 08-08-2011, 8:55 AM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Aug 2011
Location: Center Harbor,NH
Posts: 13
Default

Andy,

V46, has drop CPU usage back to normal.

Also I am getting up to 4 recordings with the Python version on my main department, reasons below.

1) Standard page is sent from two towers due to terrain. They are sent about 3 seconds apart, even during multiple alarms they are sent together, this causes the two recordings.

2) Our system sometimes has a pre-alert this causes the 4 recordings. Pre-alert is sent like #1 but then a alternating 500hz 450hz tones are sent 3 times then ends, once the full information of the call is taken then a standard page is sent.


I have been running your older program 24/7 for about a year and a half. Thank you for you work.

Ed
Reply With Quote
  #88 (permalink)  
Old 08-08-2011, 9:27 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Oct 2003
Location: Westminster, Ma
Posts: 88
Default

I got v46 downloaded and running. When the program starts, it starts the input and output device as "Microsoft Sound Mapper". I changed the index numbers from "0" to "1" and the input device in the config file and it now shows "My Sound Card" as the input device, but the output device still shows as "Microsoft Sound Mapper". I then changed the output index to "2" and the program now starts with the sound card in both input and output,

Great program, keep the improvements coming.
__________________
John
www.scannorthcounty.net
Reply With Quote
  #89 (permalink)  
Old 08-08-2011, 9:36 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by johnmac View Post
I got v46 downloaded and running. When the program starts, it starts the input and output device as "Microsoft Sound Mapper". I changed the index numbers from "0" to "1" and the input device in the config file and it now shows "My Sound Card" as the input device, but the output device still shows as "Microsoft Sound Mapper". I then changed the output index to "2" and the program now starts with the sound card in both input and output,

Great program, keep the improvements coming.
On the main screen, the sound card selections are drop down boxes so you can select them from there without having to guess in the config file. Select the in/out that you want from the main screen, and those selections will be saved when you exit the program by clicking the "exit" button. If you close the program by clicking the "X" in the upper right corner, the changes won't be saved.

Andy
Reply With Quote
Sponsored links
  #90 (permalink)  
Old 08-08-2011, 11:26 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by N1EO View Post
Andy,

V46, has drop CPU usage back to normal.

Also I am getting up to 4 recordings with the Python version on my main department, reasons below.

1) Standard page is sent from two towers due to terrain. They are sent about 3 seconds apart, even during multiple alarms they are sent together, this causes the two recordings.

2) Our system sometimes has a pre-alert this causes the 4 recordings. Pre-alert is sent like #1 but then a alternating 500hz 450hz tones are sent 3 times then ends, once the full information of the call is taken then a standard page is sent.


I have been running your older program 24/7 for about a year and a half. Thank you for you work.

Ed
Ed,

You may be able to play with the "Record Delay" parameter to eliminate some of the duplicate emails if the timing of the multiple pages is consistent.

Adding the capability of decoding "stacked pages" leads to issues like you're describing.

Andy
Reply With Quote
  #91 (permalink)  
Old 08-08-2011, 11:29 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by aaknitt View Post
Ed,

You may be able to play with the "Record Delay" parameter to eliminate some of the duplicate emails if the timing of the multiple pages is consistent.

Adding the capability of decoding "stacked pages" leads to issues like you're describing.

Andy
Wait a minute, strike that. The "Record Delay" parameter doesn't kick in until an alert has already been generated, so it won't keep the program from generating multiple alerts if the same tone set is sent multiple times.

Anyone have any ideas on how to handle this situation?

Andy
Reply With Quote
  #92 (permalink)  
Old 08-08-2011, 12:51 PM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Aug 2011
Location: Center Harbor,NH
Posts: 13
Default

Quote:
Originally Posted by aaknitt View Post
Wait a minute, strike that. The "Record Delay" parameter doesn't kick in until an alert has already been generated, so it won't keep the program from generating multiple alerts if the same tone set is sent multiple times.

Anyone have any ideas on how to handle this situation?

Andy
Not a programmer here, but could another line be added to the tone.cfg like below

[Tone1]
Atone =
Btone =
Description =
Emails =
Wait in secs = number of seconds before listing for the next Atone if left at 0 it could act as it does now.

Ed
Reply With Quote
  #93 (permalink)  
Old 08-08-2011, 7:49 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default Runnng fine

Thanks for the help, andy. I have v46 up and runnin fine now. My problems were local and realated to the lame.exe file as you suggested. I was testing on a Wvista machine. When i tried it on the xp machine, no problems.

all your hard work is truly appreciated.

I know that it is getting quite trivial, but page recieved should really be page received
Reply With Quote
  #94 (permalink)  
Old 08-08-2011, 8:53 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by DC31 View Post
I know that it is getting quite trivial, but page recieved should really be page received
Whoops, that's embarrassing! That'll be fixed in the next release

Andy
Reply With Quote
  #95 (permalink)  
Old 08-09-2011, 6:57 AM
Member
   
Join Date: Jun 2011
Posts: 9
Default

Nice to see new development.
I'm the other Andy... I posted the batch command stuff to do some other trick with the old version. It would be really nice to incorporate that into the new version if you could find the time. Here's some of the stuff that would be nice...
Each one of these things are for each tone set separately
- mp3 email list and record duration (allow 3 sets per tone [1])
- amr email list and record duration (allow 3 sets per tone [1]) (for sending to amr format audio to cell phones)
- configurable subjects with access to system variables such as tone name, date, time
- removal of gaps, and its configuration
- amount of audio compression
- normalization (have one crappy dispatcher that mumbles)
- low pass and high pass filters (drop out PL and noise)

Plus a lot of log file writing (if enabled) for troubleshooting.

Some ideas for other things...
Would be nice to specify instance 1 to use right channel audio, and instance 2 to use left channel. That way one sound input can alert on 2 different streams.
Have stacked tones send one message, but to all emails listed for each tone name.

NOTES
[1] multiple emails are to let me send out the audio after 30 seconds to cell phone to get a basic dispatch out right away. then 3 minutes of audio to get entire dispatch, then one hour to get the entire call (usually).
that works because of gap deletion.

But please leave in the "trigger external file" functionality so we can do custom things.


Thank you so much
Andy (the other one)
Reply With Quote
Sponsored links
  #96 (permalink)  
Old 08-09-2011, 7:59 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default Amr

The AMR format mentioned by "other Andy" would be a great enhancement
Reply With Quote
  #97 (permalink)  
Old 08-10-2011, 8:29 PM
medictod's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Mar 2008
Posts: 31
Default

Any hints on this one?

waiting for audio
recording audio
0
Unhandled exception in thread started by <function alert at 0x01E15830>
Traceback (most recent call last):
File "<string>", line 272, in alert
File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1 .pyz/os", line 150, in
makedirs
File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1 .pyz/os", line 157, in
makedirs
WindowsError: [Error 3] The system cannot find the path specified: '.'
Reply With Quote
  #98 (permalink)  
Old 08-11-2011, 8:48 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by medictod View Post
Any hints on this one?

waiting for audio
recording audio
0
Unhandled exception in thread started by <function alert at 0x01E15830>
Traceback (most recent call last):
File "<string>", line 272, in alert
File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1 .pyz/os", line 150, in
makedirs
File "E:\Python\build\pyi.win32\TwoToneDetect46\outPYZ1 .pyz/os", line 157, in
makedirs
WindowsError: [Error 3] The system cannot find the path specified: '.'
Do you have lame.exe in the program's directory?

Andy
Reply With Quote
  #99 (permalink)  
Old 08-11-2011, 8:59 AM
medictod's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Mar 2008
Posts: 31
Default

It was in the same directory, the solution was to not run the program from a folder on the desktop. Once I moved everything to the C: drive it worked better.
The program also does not like symbols in your email passord.
My old password had the # symbol in it, and it would hang up because of it.
I'll keep plugging along with it...
Reply With Quote
  #100 (permalink)  
Old 08-12-2011, 2:07 PM
Member
   
Join Date: Aug 2006
Posts: 18
Default

Is there a way to run more then just one V46 program so I could use 1 for county freq and 1 for local freq. I tried it and both run but the tones detected are way off. If I have 1 running and the tone detected is 949.0 Hz when I start the 2nd one that 949.0 Hz tone now comes in as 626.0 Hz. I tried changing the name of the V46 program so both are not the same and still has the same problem with the tones.
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 7:18 AM.


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