Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

Can't get sound out of TVcard (as-good-as solved)

Help & support for Ultimate Edition 1.9


Re: Can't get sound out of TVcard (half-solved)

Postby Uffe » Mon Jan 05, 2009 4:31 pm

LeadFingers wrote:I presume you have a TVtime launcher either on your desktop or your panel, have you tried to add that code to the launcher?
Right click on the TVtime launcher
select properties
if on the panel... add the code in the command box after TVtime
if on the desktop... select the launcher tab... add the code in the command box after TVtime
if that doesn't work like you want it, you can always create a new launcher and add that code to the command line. Sorry I don't remember how make a code start every boot, something about edit fstab is as far as I get.


Thank you for the answer, but sadly enough it don't work. On the other hand, I learned something new again - thats positive :)
I have a wild guess on what's wrong: Could it be that "tvtime" and the command string after have to be separated by some command sign for "enter" and again "enter" after the command string ?

How do one write "enter" in a command, is there a code or sign for that ? ( I have used more than an hour googleling for that - with no luck ) :( :(

Or is the solution to it this:
http://www.ax697.org/writing-a-basic-ubuntu-script-200786.html
writing a script, save it and let the launcher tab point this instead ?
Uffe

Ubuntu minimal w/ Mate desktop 64bit
Asrock N68-GE3 UCC - AMD X4 640 - 4 Gb Kingston ram
OCZ Vertex 4 SSD 60 Gb + 500 Gb WD sATA HD

Ultimate Edition 2.9 64bit
Asrock 2core 1333-2.66G - 2 Gb Kingston ram
750 Gb Samsung WD sATA HD
Plextor DVD-RW - Asus 24" fladskærm

If your Danish, try http://www.linux-abc.dk to share your knowledge and questions
User avatar
Uffe
Moderator
 
Posts: 458
Joined: Sun Oct 12, 2008 2:45 pm
Location: Djursland, Denmark
Age: 69
Operating System: Ultimate Edition 3.2 64 BIT



Re: Can't get sound out of TVcard (half-solved)

Postby Uffe » Tue Jan 06, 2009 11:42 am

YES :D

http://www.ax697.org/writing-a-basic-ubuntu-script-200786.html
This guide combined with some of all the other bits and pieces I have found in my search and this important tip from LeadFingers
Right click on the TVtime launcher
select properties
if on the desktop... select the launcher tab... add the code in the command box after TVtime

That didn't work but it was the trigger for :idea: instead I wrote this in the command box:
Code: Select all
./setv.sh

made a file in gedit with the name "./setv.sh" witch contains this:
Code: Select all
#!/bin/sh
echo
tvtime -m &

sleep 4

echo
arecord -D hw:1,0 -c 2 -r 32000 -f S16_LE -t wav | aplay - &

Is the correct way to do this - I don't know - but it works !

Now it's only a little bit out of sync, but somewhere in my search I found a solution for that too, but where ???
Anyway, thanks for helping me on the way. :)
Uffe

Ubuntu minimal w/ Mate desktop 64bit
Asrock N68-GE3 UCC - AMD X4 640 - 4 Gb Kingston ram
OCZ Vertex 4 SSD 60 Gb + 500 Gb WD sATA HD

Ultimate Edition 2.9 64bit
Asrock 2core 1333-2.66G - 2 Gb Kingston ram
750 Gb Samsung WD sATA HD
Plextor DVD-RW - Asus 24" fladskærm

If your Danish, try http://www.linux-abc.dk to share your knowledge and questions
User avatar
Uffe
Moderator
 
Posts: 458
Joined: Sun Oct 12, 2008 2:45 pm
Location: Djursland, Denmark
Age: 69
Operating System: Ultimate Edition 3.2 64 BIT



Re: Can't get sound out of TVcard (as-good-as solved)

Postby Uffe » Sun Jul 19, 2009 8:02 am

Well, I know it's quite an old tread, but occasionaly - when it bother me too much that the sound isn't in sync - I have been looking for some way to fix it.
I finally found it. http://www.linuxtv.org/wiki/index.php/Saa7134-alsa
When using the script above and changing the last line to
Code: Select all
sox --buffer 2048 -r 32000 -t alsa hw:1,0 -t alsa hw:0,0

sound works perfect.
I just have one problem left: When closing TVtime sox still runs and it can block sound from other things. Is there any way of fixing that, so sox close with TVtime - besides making a new script for closing TVtime :?:
Uffe

Ubuntu minimal w/ Mate desktop 64bit
Asrock N68-GE3 UCC - AMD X4 640 - 4 Gb Kingston ram
OCZ Vertex 4 SSD 60 Gb + 500 Gb WD sATA HD

Ultimate Edition 2.9 64bit
Asrock 2core 1333-2.66G - 2 Gb Kingston ram
750 Gb Samsung WD sATA HD
Plextor DVD-RW - Asus 24" fladskærm

If your Danish, try http://www.linux-abc.dk to share your knowledge and questions
User avatar
Uffe
Moderator
 
Posts: 458
Joined: Sun Oct 12, 2008 2:45 pm
Location: Djursland, Denmark
Age: 69
Operating System: Ultimate Edition 3.2 64 BIT

Previous

Return to Ultimate Edition 1.9

Who is online

Users browsing this forum: No registered users and 1 guest