RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Computer Aided Monitoring and Programming > 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
  #3521 (permalink)  
Old 04-25-2017, 1:54 PM
Member
   
Join Date: Oct 2015
Posts: 34
Default Little bug with body text

Decided the [mp3] link was not working great as it only creates the link for the text users and MP3/AMR users just see a bad [mp3] link in the body. Used the remote admit to clear my body. A day later I was still seeing the [mp3] link. I logged into the local computer and looked at the tones file and body was blank. I continued to get the links in my messages. I had to close and restart TTD before it would stop including the previous body text.

Seems like a minor bug.
Reply With Quote
Sponsored links
  #3522 (permalink)  
Old 04-25-2017, 2:00 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2007
Posts: 91
Default

Quote:
Originally Posted by motomeso View Post
I'm having the same issue using V68 and I'm also using the redundant tone feature.
Yes. I've not been able to figure out as nothing is logged. The only way I've found around it is to schedule it to restart every day at 3am. Sometimes it's fine, but other times I'll miss a few hours between when it hangs and when the restart happens.
Reply With Quote
  #3523 (permalink)  
Old 04-29-2017, 10:27 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2014
Location: Dickens TX
Posts: 33
Default Redundant Instructions

On the Redundant instructions page in tip #1 of the tips section the link that says "remote tones.cfg capabilities" goes to page not found.

marvin
Reply With Quote
  #3524 (permalink)  
Old 04-30-2017, 2:38 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,051
Default

Quote:
Originally Posted by MikeOrlando02 View Post
Decided the [mp3] link was not working great as it only creates the link for the text users and MP3/AMR users just see a bad [mp3] link in the body.
I'll fix this in the next release.


Quote:
Originally Posted by Westernbound
On the Redundant instructions page in tip #1 of the tips section the link that says "remote tones.cfg capabilities" goes to page not found.
Fixed, thanks for the heads up.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #3525 (permalink)  
Old 05-05-2017, 10:11 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2002
Location: Fremont, CA
Posts: 305
Default

Hi,

Is it possible (sorry if I missed this answered somewhere), is it possible to use this on a wav / mp3 file?
Thanks!
Reply With Quote
Sponsored links
  #3526 (permalink)  
Old 05-30-2017, 4:06 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2006
Location: Coshocton, OH
Posts: 5
Default Error

I am getting the following error when trying to open TwoToneDetect in the debug:

"Please build and install the PortAudio Python bindings first"

I have gotten the error in the past and just tried a few more times and it opened, but this time I can not get it to open at all.
Reply With Quote
  #3527 (permalink)  
Old 06-28-2017, 9:06 AM
motomeso's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Dec 2002
Location: Ontario
Posts: 962
Default

How can I edit this if I don't want the machine to reboot? Just remove this line?

"tasklist /nh /fi "imagename eq %appName%" | find /i "%appName%" > nul || shutdown -r && goto EXIT"

Quote:
Originally Posted by MikeOrlando02 View Post
I created the attached batch file script to monitor the TTD application running on a Windows PC. I added the batch file to Windows Scheduler to run hourly to monitor the application.

This script will check to see if TTD is running and if it is checks that it is not responding. If the TTD application is not running or unresponsive it attempts to start TTD. If the script is unable to load TTD it restarts the computer, presuming that you have TTD set to start when Windows loads.

I hope to build on this so if you have an FTP server the script can upload a log file showing if TTD was running on last check or not. That will be phase II of the project.

Just change the file type to .bat and place it in the same folder as TTD. Make sure appName is set to the exact name of the TTD EXE version you are running.


Hope this helps someone
Reply With Quote
  #3528 (permalink)  
Old 06-29-2017, 3:45 AM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Would you be able to do TTD monitoring for Linux?
Reply With Quote
  #3529 (permalink)  
Old 06-29-2017, 10:10 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,051
Default

Quote:
Originally Posted by nsc View Post
Would you be able to do TTD monitoring for Linux?
Yes, there is a .pyc file included in the download that will run on Linux. However, it will require a number of dependencies to be installed. You can get some idea of what the dependencies are by looking at the Raspberry Pi page for TTD. Beyond that, just attempt to run the .pyc file and if there are errors, those error messages should tell you what dependencies are missing.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #3530 (permalink)  
Old 07-02-2017, 1:28 PM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Quote:
Originally Posted by MikeOrlando02 View Post
I created the attached batch file script to monitor the TTD application running on a Windows PC. I added the batch file to Windows Scheduler to run hourly to monitor the application.

This script will check to see if TTD is running and if it is checks that it is not responding. If the TTD application is not running or unresponsive it attempts to start TTD. If the script is unable to load TTD it restarts the computer, presuming that you have TTD set to start when Windows loads.

I hope to build on this so if you have an FTP server the script can upload a log file showing if TTD was running on last check or not. That will be phase II of the project.

Just change the file type to .bat and place it in the same folder as TTD. Make sure appName is set to the exact name of the TTD EXE version you are running.


Hope this helps someone
Anyone create TTDMon on Linux too?
Reply With Quote
  #3531 (permalink)  
Old 07-02-2017, 4:04 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 800
Default

Quote:
Originally Posted by nsc View Post
Anyone create TTDMon on Linux too?
Yes, there is a simple script that runs at a prescribed interval. Mine runs every two minutes. If it does not find ttd running it restarts it and logs the hiccup. On my RPi I don't know that has ever really been called on. I am away and can send it to you when i return in a week or so
Reply With Quote
  #3532 (permalink)  
Old 07-02-2017, 4:33 PM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Quote:
Originally Posted by DC31 View Post
Yes, there is a simple script that runs at a prescribed interval. Mine runs every two minutes. If it does not find ttd running it restarts it and logs the hiccup. On my RPi I don't know that has ever really been called on. I am away and can send it to you when i return in a week or so
Thank you..I'm waiting
Reply With Quote
  #3533 (permalink)  
Old 07-02-2017, 9:35 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 1,051
Default

Quote:
Originally Posted by nsc View Post
Anyone create TTDMon on Linux too?
What I do is use screen to run TTD in a detached shell window. I use two shell scripts for this. The first one, called TTDcheck.sh is executed once per minute via a cron task. This script uses grep to check to see if TwoToneDetect is already running. If not, it starts it in a detached screen session by calling startTTD.sh. All startTTD.sh does is start TwoToneDetect using a specific USB sound card, as I have more than one on the Pi that I'm using. If your'e only using a single USB sound card, you can start TTD directly in TTDcheck.sh. Both files are linked to for you to take a look at.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #3534 (permalink)  
Old 07-03-2017, 5:56 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 800
Default

Quote:
Originally Posted by nsc View Post
Thank you..I'm waiting
Mine does essentially the same thing as Andy's, so you really don't need to wait on me. If you encounter priblems setting it up, let us know.
Reply With Quote
  #3535 (permalink)  
Old 07-04-2017, 3:48 PM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Does PulseAudio is only one way to use TwoToneDetection? or this way works too?

https://computers.tutsplus.com/artic...-pi--mac-55876
Reply With Quote
  #3536 (permalink)  
Old 07-04-2017, 7:43 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 800
Default

Quote:
Originally Posted by nsc View Post
Does PulseAudio is only one way to use TwoToneDetection? or this way works too?

https://computers.tutsplus.com/artic...-pi--mac-55876
TTD requires pulse.

From TwoToneDetect.net:

Setting up pulseaudio

Unlike under Windows, we won’t be able to specify our USB sound card as the audio input to TwoToneDetect. This is because the Pi’s audio driver system doesn’t support different sampling rates for the sound card. It will only allow us to sample at the default rate. Instead, we’ll use pulseaudio as the input to TwoToneDetect, since pulseaudio will perform resampling from the USB sound card to TwoToneDetect. To set our audio input levels, we can use the pulse audio control GUI under XWindows. From a terminal window in the XWindows GUI, type pavucontrol to bring up the GUI. Click on the “Input” tab and set the volume of your USB sound card appropriately, using your radio with open squelch or tuned to a weather broadcast channel to get the levels correct. Set any other inputs to zero volume. Note: If you are running a GUI-less version of Raspbian (like Jessie Lite), you can use an environment variable to set the sound input device that you want to use with TTD. See the section below on “Running Multiple TwoToneDetect Instances” for instructions on how to do this.
Reply With Quote
  #3537 (permalink)  
Old 07-05-2017, 1:40 AM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Thank you how to use USB sound card and 3G modem on same time. I have no internet. 3G modem is best solution.
Reply With Quote
  #3538 (permalink)  
Old 07-09-2017, 1:34 PM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

One question more. What microphone usb sound card supported? i try many different microphone, but nothing - doesn't work.
Reply With Quote
  #3539 (permalink)  
Old 07-09-2017, 7:53 PM
Member
  Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Jul 2009
Location: Macedonia, Ohio
Posts: 142
Default

Quote:
Originally Posted by nsc View Post
Thank you how to use USB sound card and 3G modem on same time. I have no internet. 3G modem is best solution.
Can the modem connect to the pi via USB, wifi, or ethernet? If you just get the rPi to talk to the 3G modem TTD won't know the difference.
Reply With Quote
  #3540 (permalink)  
Old 07-10-2017, 12:41 AM
nsc nsc is offline
Member
   
Join Date: Dec 2013
Location: Kuressaare, Saaremaa
Posts: 7
Default

Quote:
Originally Posted by northernsummit View Post
Can the modem connect to the pi via USB, wifi, or ethernet? If you just get the rPi to talk to the 3G modem TTD won't know the difference.
I wish use USB 3G Modem.
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 3:16 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2015 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions