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
Bad interpreter error – linux shell script »

Comments are closed.

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
    • Photos
  • 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

    •  Kyle Cummings Resume
    • Alexei Udarbe
    • Evan Wise
    • John Rivas
    • Mary Redaelli