Talk:AVerMedia AVerTV Hybrid+FM PCI (A16D): Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(HOWTO exstract the sound.)
 
No edit summary
Line 2: Line 2:


1. The simplest one is
1. The simplest one is
<pre>

$ arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -
arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -
</pre>

It gives stereo, but with too long delay in sound.
It gives stereo, but with too long delay in sound.




2. No delay, but mono only:
2. No delay, but mono only:
<pre>

$ sox -r 32000 -w -t alsa hw:2,0 -t alsa hw:0,0
$ sox -r 32000 -w -t alsa hw:2,0 -t alsa hw:0,0
</pre>

The neighbour method for stereo
The neighbour method for stereo
<pre>

$ sox -r 32000 -c 2 -w -t alsa hw:2,0 -t alsa hw:0,0
$ sox -r 32000 -c 2 -w -t alsa hw:2,0 -t alsa hw:0,0
</pre>

lacks :(
lacks :(




3. Experimentally I found the middle technique:
3. Experimentally I found the middle technique:
<pre>

arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000 -w -t wav - -t alsa hw:0,0
arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000 -w -t wav - -t alsa hw:0,0
</pre>

Stereo, no lacks, delays rarely.
Stereo, no lacks, delays rarely.


--[[User:IDamir|IDamir]] 18:12, 11 March 2007 (CET)
--[[User:IDamir|IDamir]] 18:23, 11 March 2007 (CET)
----
----

Revision as of 17:23, 11 March 2007

There are some techniques to extract the sound exist:

1. The simplest one is

arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -

It gives stereo, but with too long delay in sound.


2. No delay, but mono only:

$ sox -r 32000 -w -t alsa hw:2,0 -t alsa hw:0,0

The neighbour method for stereo

$ sox -r 32000 -c 2 -w -t alsa hw:2,0 -t alsa hw:0,0

lacks :(


3. Experimentally I found the middle technique:

arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000 -w -t wav - -t alsa hw:0,0

Stereo, no lacks, delays rarely.

--IDamir 18:23, 11 March 2007 (CET)