TwoToneDetect New TwoToneDetect in the works - Python based

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Reaction score
0
Location
Deshler, NE
NameError: name 'inv_input_device_indices' is not defined

Ah. This would appear to be a sound card issue. Is any scanner or audio plugged into the computer, or did you just try setting up the software and starting it? If there is nothing plugged into the computer try plugging something - scanner patch cable, any pair of headphones, an old 3.5mm (1/8") stereo jack by itself - into the microphone or line in jack. See if the computer recognizes it in the sound control panel as an input source. Then try relaunching the software. If that doesn't work we will need to see why the computer / TTD is not detecting an audio input device.

Sometimes the new "intelligent" drivers try to disable the inputs if nothing is plugged in. Had this happen on an HP machine. Have to leave an old headphone cable plugged into the speaker port just so the soundcard driver thinks there is an output device connected. Otherwise TTD would crash as well. Check both and try again.
 

jhsands

Member
Feed Provider
Joined
Sep 6, 2006
Messages
570
Reaction score
110
Location
Texarkana, Arkansas
Hi everyone,

Has anyone had any luck sending to Nextel users? I'm trying to send AMR attachments to number@messaging.nextel.com but the messages are bouncing back.

Do I need to send as MP3? Since Sprint bought Nextel do I need to send to the Sprint MMS gateway instead? Any advice is appreciated.

Thanks,

Andy

Andy,

Send an email to yourself from their phone SMS/MMS app. It will show their phone email address.
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
TTD60

Hi all,
I am trying to set up TTD60 on an Acer Windows Vista computer as a dedicated page to text system for the FD I belong to. I have also disabled automatic updates and power saving modes. After setting up a dedicated gmail account, the tone sets, and cell phone contact list TTD60 will log and record the pages but will not email them out. I have tried using just the gmail user ID and the gmail account name with no success. I have the email server set for smtp.gmail.com and the port set to 465(the settings that are being used by Window Mail). Ran degug and log says "Succesfully retrieved local tone info" and then tone 1, tone 2, tone 3, then a list of what I think are DTMF freq's that are being scanned. Any help getting this up and running will be greatly appreciated, as my chief and several others really want this.
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
TTD60

Thanks, just reset the port. One other thing I just noticed after returning from a call the audio folder is empty.
Call was logged but no stored audio. Any suggestions on where to look? TTD60 is configured to use the Realtek high def microphone input.

Thanks in advance,
Sparky 604
 

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Reaction score
0
Location
Deshler, NE
Call was logged but no stored audio. Any suggestions on where to look? TTD60 is configured to use the Realtek high def microphone input.

Sparky604,
Do you have FFMPEG.exe from the archive linked by Andy on his site? It might be that Andy set the software to not retain the WAV files anymore. If FFMpeg is not there it wont convert and then deletes the software. Also check the log.txt after your tones are detected (or make a fake tone and activation mp3 and play it into the computer) to see if it says MP3 email sent and, if enabled, AMR email. If FFMPEG is messing those will not be sent.

Next thing to do is to check to see if the audio level is going into the software. You said the call was logged meaning it detected right?
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
Hi,
Yes on the monitor page I see when our call came in. FFMPEG was downloaded and log.txt only says local tone received successfully. Will try reloading the ffmpeg file.

Thanks,
Sparky 604
 

Chappellld

Member
Joined
Jan 4, 2007
Messages
2
Reaction score
0
Recieving this message in the LOG

812.0 32767
812.0 32767
812.0 32767
Arlington Fire Tone Set Found
Traceback (most recent call last):
File "<string>", line 476, in alert
File "C:\Users\Deer Creek Fire Dept\Documents\Python\build\pyi.win32\TwoToneDetect60\outPYZ1.pyz/pyaudio", line 747, in open
IOError: [Errno Device unavailable] -9985
Succesfully retrieved local tone info
Tone1
Tone2
Longtone1
Tone3
delay timer Arlington Fire 11:25:42 on 06/02/13
Traceback (most recent call last):
File "<string>", line 549, in alert
UnboundLocalError: local variable 'recordstream' referenced before assignment
812.0 32767
812.0 32767


Anyone have any ideas?
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,324
Reaction score
118
Recieving this message in the LOG

812.0 32767
812.0 32767
812.0 32767
Arlington Fire Tone Set Found
Traceback (most recent call last):
File "<string>", line 476, in alert
File "C:\Users\Deer Creek Fire Dept\Documents\Python\build\pyi.win32\TwoToneDetect60\outPYZ1.pyz/pyaudio", line 747, in open
IOError: [Errno Device unavailable] -9985
Succesfully retrieved local tone info
Tone1
Tone2
Longtone1
Tone3
delay timer Arlington Fire 11:25:42 on 06/02/13
Traceback (most recent call last):
File "<string>", line 549, in alert
UnboundLocalError: local variable 'recordstream' referenced before assignment
812.0 32767
812.0 32767


Anyone have any ideas?

Do you have another sound card you can try it with? I think that when people have had this problem in the past it's been related to a sound card that doesn't play well for some reason. You could also try using the "Microsoft Sound Mapper" as the input instead of that specific sound card, and set that sound card as the default recording device in Windows.

Andy
 

Chappellld

Member
Joined
Jan 4, 2007
Messages
2
Reaction score
0
Do you have another sound card you can try it with? I think that when people have had this problem in the past it's been related to a sound card that doesn't play well for some reason. You could also try using the "Microsoft Sound Mapper" as the input instead of that specific sound card, and set that sound card as the default recording device in Windows.

Andy

I have tried this on the same machine, My Audio Input Level is 3/4 of the bar. While on the old version that i am running it is barely viable. My old version is 21 and the new version is 60. Will try a different scanner tonight along with a different PC. See if i can duplicate this issue.
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
TTD60

Reloaded FFMPEG yesterday. Today it logged and e-mailed an EMS page and logged an FD page. It appears progress is being made.

Thanks for the help,
Sparky604
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,324
Reaction score
118
Hi,
Yes on the monitor page I see when our call came in. FFMPEG was downloaded and log.txt only says local tone received successfully. Will try reloading the ffmpeg file.

Thanks,
Sparky 604

You are unzipping FFMPEG right? You need ffmpeg.exe in your program directory, not ffmpeg.zip.

Andy
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
Tecker,
Monitor page: EMS page received at 00:30:46 on 6/04/13
EMS WAV Email sent at 00:31:28 (did not actually get transmitted to phones)
Log page: Succesfully retrieved local tone info, tone 1, tone 2, tone 3; followed by: 263.0 32767
247.0 32767 247.0 24802 957.0 32767 736.0 32767. This was after reloading FFMPEG and switching to an XP based computer(the Vista based did the same thing).
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
Andy,
I have unzipped the latest 32-bit static build each time I saved it to the TTD 60 folder. I have deleted the previous files before loading the new.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,324
Reaction score
118
Tecker,
Monitor page: EMS page received at 00:30:46 on 6/04/13
EMS WAV Email sent at 00:31:28 (did not actually get transmitted to phones)
Log page: Succesfully retrieved local tone info, tone 1, tone 2, tone 3; followed by: 263.0 32767
247.0 32767 247.0 24802 957.0 32767 736.0 32767. This was after reloading FFMPEG and switching to an XP based computer(the Vista based did the same thing).

It's not seeing ffmpeg for some reason. Can you confirm that the file ffmpeg.exe is in the TwoToneDetect program directory? That file should be in the same directory as your tones.cfg file. It should not be in a subfolder within that directory.

Andy
 

sparky604

Member
Joined
Jun 1, 2013
Messages
14
Reaction score
0
Location
woolwich, maine
Andy,
I was unzipping FFMPEG into it's own folder within the TTD60 folder. Took the FFMPEG application file and moved it to the TTD60 folder. EMS was paged out this afternoon, call was logged MP3 was emailed as well as an amr email sent out, and the audio of the page recorded in the audio folder. Have not confirmed whether message actually went out to phones(working on that now). One interesting thing I did notice is that the audio file was 1:30 when record time is set at 0:30. Is this because the "ignore after" is set at 0:60 in tone editor.

Thanks,
Sparky604
 

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Reaction score
0
Location
Deshler, NE
]One interesting thing I did notice is that the audio file was 1:30 when record time is set at 0:30. Is this because the "ignore after" is set at 0:60 in tone editor.

Actually that sounds more like a release_time issue. When the dispatcher unkeys the mic does the audio go back below the squelch level? When there is nothing being transmitted you want to adjust the system to say "no audio". This ill trip the release_time. Andy has it set for 60 seconds of time AFTER the record time if the audio doesn't go silent. Check that release parameter (it is a global in config). If it is set to long the system might not drop out and send quickly. Otherwise see what the audio file has in it with a program like Audacity.
 
Top