MintTv

February 6th, 2009

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

« Previous Entries
Next Entries »
potatoeskillme
  • Stuff

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

    • TI-86 Intervalometer for Canon XTi
    • Bad interpreter error – linux shell script
    • MintTv
    • PHP cURL
    • Export MySQL Data to CSV File
  • Categories

    • Code
    • Older Projects
    • Uncategorized
  • Links

    • Evan Wise