MintTv

A modified script (based on the earlier one for feisty) to sync audio with TvTime in Ubuntu 8.10 — I’m actually testing this on Linux Mint 6 which is based on 8.10. So for those of you out there with SAA7134 tuner chipsets, look closely at the sox line below. I’m using alsa rather than ossdsp this time, and once I got it working the volume was very faint so I also added the -v flag to adjust the volume of the input. BE CAREFUL with the -v flag… the number value is a FACTOR, not the actual volume level! 8 bumps up the volume quite a bit.

?View Code BASH
1
2
3
4
5
6
7
8
#!/bin/sh
tvtime &
t=`pidof tvtime`
sleep 5
sox -c 2 -v 8 -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0 &
wait $t
killall -9 sox
exit 0

This entry was posted on Friday, February 6th, 2009 at 11:03 pm and is filed under Code. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

« PHP cURL
TI-86 Intervalometer for Canon XTi »

Comments are closed.

potatoeskillme
  • Stuff

    • Tioga Pass Eastern Yosemite
    • Mammoth Thanksgiving 2011
    • Road Trip to Monfuckintana
    • Silverton Road Trip 2011
    • Mammoth Thanksgiving 2010
    • Sequoia 2010
    • Big Bear Session
    • Deer Valley Spring Skiing
    • Jackson Hole Road Trip Redux
    • Mammoth Thanksgiving 09
    • NJ Surf Trip Sept 2009
    • Yosemite Aug 2009
    • Big Bear B-day Bash
    • Wedge 7.24.09
    • Morning Surf 7.25.09
    • Morning Surf 7.24.09
    • July 4th, 2009 – 41st Newport
    • Lake Don Pedro
    • Trails Highlights
    • Jackson Hole Road Trip
    • Building a Carputer