TwoToneDetect New TwoToneDetect in the works - Python based

designed

Member
Joined
Nov 16, 2007
Messages
2
Thanks for the tip. Unfortunately, it didn't work. Program still sits at an empty prompt and does nothing, although two instances still appear in task manager.

Stumped.

Try downloading an older version and see if that produces the same problem. Make sure you restart after you install the older version before you try to run it.
 

scorbin8190

Newbie
Joined
Mar 29, 2010
Messages
2
Location
Shepherdsville, KY 40165
TwoToneDetect problems

i got it installed and it loads and even detects the tone but this is the error that it shows on the dos screen, this is on a xp machine
Long Tone Found! 15:15:46
delay timer 15:15:46
473.0 Atone1
473.0Atone2
A Tone Found! 15:15:46
Checking for B Tone 15:15:46
Checking for Long Tone 15:15:50
waiting for audio 15:15:52
recording audio 15:15:52
Unhandled exception in thread started by <function alert at 0x015D63B0>
Traceback (most recent call last):
File "<string>", line 427, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/wave", line
500, in open
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/wave", line
303, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Test_Tone\t2_2012-
04-0815_16_06_583000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bou
nd method Wave_write.__del__ of <wave.Wave_write instance at 0x01678198>> ignore
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
i got it installed and it loads and even detects the tone but this is the error that it shows on the dos screen, this is on a xp machine
Long Tone Found! 15:15:46
delay timer 15:15:46
473.0 Atone1
473.0Atone2
A Tone Found! 15:15:46
Checking for B Tone 15:15:46
Checking for Long Tone 15:15:50
waiting for audio 15:15:52
recording audio 15:15:52
Unhandled exception in thread started by <function alert at 0x015D63B0>
Traceback (most recent call last):
File "<string>", line 427, in alert
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/wave", line
500, in open
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/wave", line
303, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: './audio/Test_Tone\t2_2012-
04-0815_16_06_583000.wav'
Exception AttributeError: "Wave_write instance has no attribute '_file'" in <bou
nd method Wave_write.__del__ of <wave.Wave_write instance at 0x01678198>> ignore

Are you using any special characters in the tone description? If so, try removing them and see if that clears the problem up for you.

Andy
 

scorbin8190

Newbie
Joined
Mar 29, 2010
Messages
2
Location
Shepherdsville, KY 40165
next step

thank you andy for the quick reply, what i did was delete the space and took the numbers out of the tone description and it seems to work however there was alot of errors on the debugger i wanted to pass along to you, below is the info on the screen, also im having problems getting it to send to the firefighters with at&t service some dont get it at all and the ones that do get it , it says the *.wav file was removed from the message, everyone else works fine any suggestions its there phone # @mms.att.net look below is that normal
recording audio 19:10:32
Checking for Long Tone 19:10:34
[-999, -999, 7.0]
7.0
0
2.8 19:10:34
done sleeping at 19:10:37
317.0
473.0 Atone1
311.0Atone2
done writing WAV 19:10:46
ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 3 2012 20:20:04 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[wav @ 0219AAC0] max_analyze_duration 5000000 reached at 5015510
Input #0, wav, from './audio/Testt_2012-04-0819_10_46_088000.wav':
Duration: 00:00:13.93, bitrate: 352 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, 2 channels,
s16, 352 kb/s
Please use -b:a or -b:v, -b is ambiguous
[mp3 @ 022BE920] Unsupported sample rate.
Output #0, mp3, to './audio/Testt_2012-04-0819_10_46_088000.mp3':
Metadata:
TSSE : Lavf54.3.100
Stream #0:0: Audio: mp3, 11025 Hz, 2 channels, s16
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
size= 55kB time=00:00:13.93 bitrate= 32.3kbits/s
video:0kB audio:55kB global headers:0kB muxing overhead 0.060482%
done converting to MP3 19:10:46
mp3 email sent! 19:10:48
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
thank you andy for the quick reply, what i did was delete the space and took the numbers out of the tone description and it seems to work however there was alot of errors on the debugger i wanted to pass along to you, below is the info on the screen, also im having problems getting it to send to the firefighters with at&t service some dont get it at all and the ones that do get it , it says the *.wav file was removed from the message, everyone else works fine any suggestions its there phone # @mms.att.net look below is that normal
recording audio 19:10:32
Checking for Long Tone 19:10:34
[-999, -999, 7.0]
7.0
0
2.8 19:10:34
done sleeping at 19:10:37
317.0
473.0 Atone1
311.0Atone2
done writing WAV 19:10:46
ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 3 2012 20:20:04 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[wav @ 0219AAC0] max_analyze_duration 5000000 reached at 5015510
Input #0, wav, from './audio/Testt_2012-04-0819_10_46_088000.wav':
Duration: 00:00:13.93, bitrate: 352 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, 2 channels,
s16, 352 kb/s
Please use -b:a or -b:v, -b is ambiguous
[mp3 @ 022BE920] Unsupported sample rate.
Output #0, mp3, to './audio/Testt_2012-04-0819_10_46_088000.mp3':
Metadata:
TSSE : Lavf54.3.100
Stream #0:0: Audio: mp3, 11025 Hz, 2 channels, s16
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
size= 55kB time=00:00:13.93 bitrate= 32.3kbits/s
video:0kB audio:55kB global headers:0kB muxing overhead 0.060482%
done converting to MP3 19:10:46
mp3 email sent! 19:10:48

Yeah that's all normal, working fine. You may try sending to those phones as an AMR instead of mp3 (use the amr_emails field), or reducing the bit rate of the mp3 encoder to make the mp3 files smaller (in the edit config window).

Andy
 

KC2PPE

Member
Joined
Dec 19, 2002
Messages
27
Location
Pine City New York State FN12
Tool I used in tasting

Hi everyone, I just wanted to put this out if anyone needs it. When I was setting up TTD on my laptop at first I had just my email and phone number to test it. After setting it all up I used an APP for my Droid X phone called Ted Tones Out it's in the market. It's a Two tone (Motorola Minitor®) sequential pager tone generator. Allows user to input tone frequencies, tone durations and an optional voice dispatch message.

When testing I was using the microphone on mu laptop to pick up the tones. this way I didn't have to wait on a dispatch to see if I had set it up right. With Ted Tones Out I can also use it to send out special announcements to members like training tonight at 1900 or work bee today at 0800, Thanks everyone for your input.

Eddie Murphy
KC2PPE
kc2ppe@stny.rr.com
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
not sending email

Hi All,
Thanks for a great product. I have set it up and received this message: Fire Department 1 page recieved at 18:00:23. I am assuming that the software is working but did not receive an email with the audio file. I believe I have the email info correct. outbound.att.net port 465. any ideas?
Joe
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
this is what i got in the debog:
1796.0 Atone1
1796.0Atone2
A Tone Found! 19:20:05
Checking for B Tone 19:20:05
Checking for B Tone2 19:20:09
Tone Set Found! 19:20:09
Fire Department 1 19:20:09
silfam1@sbcglobal.net,8608823072@vtext.com,8608823072@vzwpix.com
8608823072@VTEXT.com
delay timer 19:20:09
'c:\test.bat' is not recognized as an internal or external command,
operable program or batch file.
731.0 Atone1
1591.0Atone2
waiting for audio 19:20:15
recording audio 19:20:15
731.0 Atone1
419.0Atone2
742.0 Atone1
1462.0Atone2
done writing WAV 19:20:43
ffmpeg.exe not found, sending as WAV file instead of mp3
Unhandled exception in thread started by <function alert at 0x015FE4F0>
Traceback (most recent call last):
File "<string>", line 469, in alert
File "<string>", line 301, in mail
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/smtplib", l
ine 242, in __init__
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/smtplib", l
ine 303, in connect
File "D:\Python\build\pyi.win32\TwoToneDetect54c_debug\outPYZ1.pyz/smtplib", l
ine 352, in getreply
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
Actually disregard all responses. The program is working great. Thanks for a great program!
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
Bcc

Hi all,
I am looking to find where to click the BCC checkbox. I looked in the config mgr but don't see it. Could someone shoot me a screen shot of where it might be please. Thanks for your help.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
Hi all,
I am looking to find where to click the BCC checkbox. I looked in the config mgr but don't see it. Could someone shoot me a screen shot of where it might be please. Thanks for your help.

What version are you using? The BCC was just added in version 55. For some reason, SourceForge was listing version 54c as the latest version, so I've fixed that. The BCC option should be right between the MP3 Encoding Bitrate and the Save & Exit button.

Andy
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
Hi Andy

Thanks for the quick response. I am not sure what version it is because I looked for that too and couldn't find it. Could you tell me where Please where that info is located? And if I do have the older version I will certainly download the newest. Thanks again.
Joe
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
Thanks for the quick response. I am not sure what version it is because I looked for that too and couldn't find it. Could you tell me where Please where that info is located? And if I do have the older version I will certainly download the newest. Thanks again.
Joe

It's in the filename for the .exe file. TwoToneDetect54c.exe is version 54c, TwoToneDetect55.exe is version 55, etc.

Andy
 

pete133

Member
Feed Provider
Joined
Nov 13, 2006
Messages
11
thank you and quick question

thank you aaknitt for this great program, i have been running it non stop for months without a problem.

quick question : i am starting to add alot of tones and numbers , is there a way to incorporate possibly a spreadsheet instead of notepad ? ( putting cell numbers into columns ) as i add numbers i have to scroll way over to get to the end of the list.

thank you again


pete
 

KC1IMD

Member
Feed Provider
Joined
Feb 6, 2007
Messages
182
Location
Connecticut
Hi Pete
I started a file in Notepad and after I add an email or text number. I just copy and paste. I hope this helps.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,547
Location
Massachusetts
IO Err Invalid number of channels

Andy,

Excuse me if this one has been answered previously, I can't find it. I am trying to set up V55 on a vista computer. the tone detection algorithm seems to be working fine but no emails being sent. It seems to indicate an invalid number of channels. Any suggestions?

Thanks

Jim
 
Last edited:

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
Andy,

Excuse me if this one has been answered previously, I can't find it. I am trying to set up V55 on a vista computer. the tone detection algorithm seems to be working fine but no emails being sent. It seems to indicate an invalid number of channels. Any suggestions?

Thanks

Jim

I seem to remember something similar in a previous post, although I can't find it at the moment. If I recall correctly, restarting the program or the computer (can't remember which) seemed to fix it.

Andy
 
Top