Menu

#678 SOUND

open
nobody
None
5
2007-11-18
2007-11-18
Anonymous
No

I didn't get any sound in TVtime until i typed this:

#!/bin/sh
sox -c 2 -s -w -r 32000 -t ossdsp /dev/dsp1 -t ossdsp -w -r 32000 /dev/dsp &
tvtime --mixer=/dev/mixer:pcm
wait tvtime
t=`pidof sox`;
kill $t;
amixer -c 0 sset PCM 80%,80% unmute

in my console, but i have to do this every time.
I modified the information found at http://gentoo-wiki.com/HARDWARE_saa7134

#!/bin/sh
sox -c 2 -s -w -r 32000 -t ossdsp /dev/dsp2 -t ossdsp -w -r 32000 /dev/dsp &
tvtime --mixer=/dev/mixer:pcm
wait tvtime
t=`pidof sox`;
kill $t;
amixer -c 0 sset PCM 80%,80% unmute

and all i had to change was /dev/dsp2 to /dev/dsp1.

This command stops all the other sounds in the system until i close TVtime.

Is there any other way to do this or are you able to put it into TVtime somehow?

I don't know if this is a bug or anything since i doesn't even understand most of it...

Discussion

  • Nobody/Anonymous

    Logged In: NO

    This is not a problem of tvtime, this command (aparently) "copies" the sound from your tv-card to your soundcard. You may try the other way mentioned in the HOWTO you used:

    > There are two ways to record audio with your TV card: using a short audio cable that goes
    > from the card's audio out to your computer's audio in (line or mic), or recording the audio
    > with the board's mixer device.

    This is easier and doesn't eat any CPU-resources.

     
  • Nobody/Anonymous

    Logged In: NO

    Thank you for your tips...

    But i don't have an audio output on my card so how can i go about recording the audio with the board's mixer device?

    I have noticed that my fans speed up when i use TVtime, i guess that's because the way of getting sound that i use now eat too much CPU-resources.

     

Log in to post a comment.