TwoToneDetect New TwoToneDetect in the works - Python based

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
Hi all,

I am trying to get fivetonedetect to work. I have the file downloaded and extracted to the desktop, ffmpeg.exe is in the main folder for it. When I start the application the window comes up and then it closes. When I run the debug one it opens and runs some code and then that window closes. Any ideas on what could be happening?

Any help is appreciated
Thanks!

If you look in the folder with the program there should be a file called log.txt that should contain any error messages generated when the program tries to start. If that doesn't work, try running the _debug version of the program manually from a command prompt and you'll be able to see the errors, which will help you figure out what the problem is.

Andy
 

gradybruton1819

Member
Premium Subscriber
Joined
Jun 14, 2011
Messages
16
Location
Paradise, TX
I'm currently using Two Tone Detect 60 on two different computers running XP covering 3 departments and just added a 4th department. Occasionally some of the members get a text message with no audio, reading:

"One or more of the message components have been deleted by MMS Adaptation. Either the message was too large or the components were unsuitable for your terminal"

while everyone else on the mailing list gets the message just fine. All messages are sent out in .AMR format, since those go out under 1 minute. When I tried using .MP3 format the messages took at least 5 minutes or more to reach the recipients, some took hours. Only 2-3 recipients at a time get this error message out of about 15 total recipients and its always random, its never the same phone number every time. It has affected every number on the mailing list at one time or another. Are there any solutions that may fix this? Is this an issue with .AMR format or is this happening on the phone carriers side of things?
 

Attachments

  • SC20140415-172402.jpg
    SC20140415-172402.jpg
    36.6 KB · Views: 622

adacats

Scanner and Train Nerd
Joined
Apr 30, 2013
Messages
267
Location
South Euclid, OH
Is there anyway to change what Two Tone detect puts in the body of the emails it sends. I use a website where i can upload audio by email, but i need to change what is put in the body of the email. Any way to do this?
 

mattnelson26

Member
Feed Provider
Joined
Mar 20, 2007
Messages
388
Location
Hopkins, Minnesota
can anyone help.. here is my log

Traceback (most recent call last):
File "<string>", line 145, in <module>
NameError: name 'inv_output_device_indices' is not defined
Succesfully retrieved local tone info
Succesfully retrieved local tone info
Tone1
Tone3
Tone4
Tone6
Tone8
Longtone1
Longtone2
Tone9
[945.0, 945.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0]
[767.3, 767.3, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4]
[650.3, 650.3, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0]
[689.9, 689.9, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5]
[537.9, 537.9, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2]
[360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0]
Traceback (most recent call last):
File "<string>", line 730, in <module>
KeyError: ''


thanks,
matt
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
Is there anyway to change what Two Tone detect puts in the body of the emails it sends. I use a website where i can upload audio by email, but i need to change what is put in the body of the email. Any way to do this?

v65 supports a custom Body field that's editable in the TonesEditor program.

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
can anyone help.. here is my log

Traceback (most recent call last):
File "<string>", line 145, in <module>
NameError: name 'inv_output_device_indices' is not defined
Succesfully retrieved local tone info
Succesfully retrieved local tone info
Tone1
Tone3
Tone4
Tone6
Tone8
Longtone1
Longtone2
Tone9
[945.0, 945.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0, 1047.0]
[767.3, 767.3, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4, 569.4]
[650.3, 650.3, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0, 685.0]
[689.9, 689.9, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5, 615.5]
[537.9, 537.9, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2, 331.2]
[360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0, 360.0]
Traceback (most recent call last):
File "<string>", line 730, in <module>
KeyError: ''


thanks,
matt

Are you using a newer computer's onboard sound card? TTD requires an audio output device to be present (even if you're not using the playback during record feature), and some newer computers don't activate the audio output device until a plug is physically inserted into the speaker or headphone jack. You might need a dummy plug in a speaker jack to get it to work.

Andy
 

mattnelson26

Member
Feed Provider
Joined
Mar 20, 2007
Messages
388
Location
Hopkins, Minnesota
Are you using a newer computer's onboard sound card? TTD requires an audio output device to be present (even if you're not using the playback during record feature), and some newer computers don't activate the audio output device until a plug is physically inserted into the speaker or headphone jack. You might need a dummy plug in a speaker jack to get it to work.

Andy

i had the audio plug into the line in and speakers pluged into the output
 

goode552

Member
Joined
May 10, 2013
Messages
2
Same Error

I am also running several departments and i also get this mesage every once in a while and i sure would like to know how to fix it.

I'm currently using Two Tone Detect 60 on two different computers running XP covering 3 departments and just added a 4th department. Occasionally some of the members get a text message with no audio, reading:

"One or more of the message components have been deleted by MMS Adaptation. Either the message was too large or the components were unsuitable for your terminal"

while everyone else on the mailing list gets the message just fine. All messages are sent out in .AMR format, since those go out under 1 minute. When I tried using .MP3 format the messages took at least 5 minutes or more to reach the recipients, some took hours. Only 2-3 recipients at a time get this error message out of about 15 total recipients and its always random, its never the same phone number every time. It has affected every number on the mailing list at one time or another. Are there any solutions that may fix this? Is this an issue with .AMR format or is this happening on the phone carriers side of things?
 

dustanh

Member
Joined
Mar 29, 2013
Messages
15
Location
COndon, OR
Out of the blue... the recordings that are sent sound like a robot is speaking. Any help?

No changes have been recently made.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
I am also running several departments and i also get this mesage every once in a while and i sure would like to know how to fix it.

It might be that the file size happened to be too large. This could happen if you're using dynamic record time and it was an especially long dispatch, or if you're already on the borderline and the mp3/AMR compression didn't quite compress it enough. You can try reducing your mp3/AMR bit rate to get smaller file sizes.

Andy
 

timkilbride

Member
Database Admin
Joined
Feb 9, 2006
Messages
1,891
Location
Linn Co Iowa
Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25)

Would it be possible to allow the RTL dongles to be used as a receiver? I'm talking about where the TTD program controls the device, no third party software.

Tim
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25)

Would it be possible to allow the RTL dongles to be used as a receiver? I'm talking about where the TTD program controls the device, no third party software.

Tim

It's not something I've looked into, so not any time soon. I'd be leery of using an RTL dongle with TTD because of the dynamic range issues. Strong nearby transmitters could potentially prevent pages from being received.

Andy
 

timkilbride

Member
Database Admin
Joined
Feb 9, 2006
Messages
1,891
Location
Linn Co Iowa
It's not something I've looked into, so not any time soon. I'd be leery of using an RTL dongle with TTD because of the dynamic range issues. Strong nearby transmitters could potentially prevent pages from being received.

Andy

Thanks for the reply.

Tim
 

TheKilowatt

Member
Joined
Jun 16, 2009
Messages
6
Location
Nederland, Colorado
Hi,

I'm wondering if two tone could be used with streaming feeds. What I'd like to to is run it on the feed server and have it decode the tone and have the decoded agency names added to the meta data of the stream.

Its a little different then the current implementation where its looking for specific agencies and sending emails.
 

ejd91717

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
10
Location
Summerville, Ga
Ubuntu 12.04

I thought that I would report back that twotonedetect runs on Ubuntu 12.04 without issue. I have it installed on a web server and It has run without issue for 28 days. If anyone is interested I will do a writeup.
 

dustanh

Member
Joined
Mar 29, 2013
Messages
15
Location
COndon, OR
My recordings now contain a lot of static. I've tried different scanners with the same results. No changes made in the past few months. Static started randomly. Scanner transmits clearly, but not the recordings.

Any Two tone settings or computer settings to correct the static?
 

krokus

Member
Premium Subscriber
Joined
Jun 9, 2006
Messages
6,227
Location
Southeastern Michigan
What sound card? What are you calling static?

How do things sound, If you connect something else to that input?

Sent via Tapatalk
 

firefighterjh

Member
Feed Provider
Joined
Jul 12, 2012
Messages
28
Location
Waterville Vermont
Hi All, I have been using this great program for a while now and have it upgraded to the lastest version which is working well just one question, I tried using a new email address from justhost.com, they have non-SSL setting and secure SSl/TLS setting and have tried both with no luck. Has anyone else tried using an address from them? Thanks
 
Top