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
  #661 (permalink)  
Old 05-23-2017, 5:57 PM
Member
   
Join Date: Mar 2015
Location: Truro, Nova Scotia
Posts: 11
Default

Hi all, I believe I fixed my issue. Here's my solution in case anyone else has this problem.

On my Pi3, I run a script called radiosave. What it does is records the scanner input and splits it up into mp3 files on the hour. It uses pulse audio to function. (in case you want to try it, you can get the script for free here: https://sites.google.com/site/glyman3home/radiosave

Anyhow, the problem was (I think) that I had cron jobs set for everything (TTD & darkice running in separate bash screen sessions, radiosave set to fire without screen in the background)

What happened was radiosave was firing first and hijacking pulse audio. so all I did was change the crontab line from:

Quote:
# Added radio save config
@reboot [ -x /home/pi/radiosave.sh ] && /home/pi/radiosave.sh start > /dev/null
00 * * * * [ -x /home/pi/radiosave.sh ] && /home/pi/radiosave.sh cron > /dev/null
to

Quote:
# Added radio save config
@reboot /bin/sleep 120 ; [ -x /home/pi/radiosave.sh ] && /home/pi/radiosave.sh start > /dev/null
00 * * * * [ -x /home/pi/radiosave.sh ] && /home/pi/radiosave.sh cron > /dev/null
after reboot, that seemed to help. Adding a sleep for 120 seconds to radio save allowed TTD to fire first grabbing PA.

Anyhow, hope that helps someone who has similar issues. PA is finicky.

PS: If anyone is thinking about running radiosave, I would highly recommend you look at running a external hard drive and either saving the mp3's and tmp files to the external or running your entire OS directly from the hard drive as the read/write cycles that are created from recording audio can burn your SD card up quite quickly.

Have a great week.
Reply With Quote
Sponsored links
  #662 (permalink)  
Old 09-02-2017, 6:43 AM
davidVT's Avatar
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Aug 2010
Location: Washington County,Vermont
Posts: 86
Default

Hello All, anyone try TTD on the new Raspian 'Stretch'?
I thought I read the audio support has changed (pulse audio not installed by default) which makes me wonder if TTD will still work 'out of the box'??


Sent from my iPad using Tapatalk
Reply With Quote
  #663 (permalink)  
Old 09-04-2017, 7:23 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 809
Default

Quote:
Originally Posted by davidVT View Post
Hello All, anyone try TTD on the new Raspian 'Stretch'?
I thought I read the audio support has changed (pulse audio not installed by default) which makes me wonder if TTD will still work 'out of the box'??


Sent from my iPad using Tapatalk
DavidVT: I saw the same note about PA not being included with Stretch. However, other notes indicated that it could still be installed manually. I think that you are right TTD/Stretch won't work "out of the box" on the pi. I will try it sometime but it may be at least a couple weeks.

Jim
Reply With Quote
Reply

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 5:35 AM.


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