Record ouput from jack

From ProAudioOverlay

(Difference between revisions)
Jump to: navigation, search
(ok, I think that's all the spam removed)
Line 1: Line 1:
-
对于红彤[http://www.100woman.cn 美容整形]也许大家还不太相信它的神奇,看看韩国好多整过形的美女演员出演的电视剧,整形前是多么地
 
-
 
-
难看,整形后判若两人,大家看到的都是他们[http://www.100woman.cn 整形]后的美丽容颜,那在中国的整形美容行业发展的怎么样呢?我们
 
-
 
-
现在来设想下,如果要是把网络红人“芙蓉姐姐”整形成香港明星李嘉欣,那么结果会怎么样呢?她们两个不同风格的人能整形出来什么效果
 
-
 
-
?芙蓉能整出李嘉欣的形象气质出来吗?
 
-
美容整形在国外一直是很热门的产业,许多面部有缺陷的女孩子经过整形以后能成为耀眼的明星。一些
 
-
 
-
[http://www.100woman.cn/zxxm/rfsx/c01.htm 胸部整形]过女星也能跟美国的艳星乔丹相媲美,演艺事业也蒸蒸日上,导演也亲睐她们,经常
 
-
 
-
给她们抛来橄榄枝。[http://www.100woman.cn/zxmr/10.htm 处女膜修复]手术,还你一个做纯洁女人的机会,
 
-
 
-
[http://www.100woman.cn/zxmr/01.htm 双眼皮手术] 手术,能给那些单眼皮女生一次跨越的机会,一下子跻身双眼皮行列,男生们好象比较
 
-
 
-
流行单眼皮,像Rain!割个双眼皮,轻松;做个双眼皮,方便;[http://www.100woman.cn 光子脱毛],快捷;
 
-
 
-
[http://www.100woman.cn/zxxm/qcyx.htm 清除腋臭],简单;去整形美容医院,给自己一次完美的机会,去雅靓看看,能给你一个意外的惊喜
 
-
 
-
 
-
[http://www.100woman.cn/zxmr/10.htm 处女膜修复]
 
-
[http://www.100woman.cn/zxmr/01.htm 双眼皮手术]
 
-
[http://www.100woman.cn/news/zxmr/20051226155422.htm 光子嫩肤]
 
-
[http://www.100woman.cn/zxxm/qcyx.htm 清除腋臭]
 
-
[http://www.100woman.cn/zxxm/rfsx/c01.htm 胸部整形]
 
This is a simple howto that describes how to record the output from any app directly using jack.
This is a simple howto that describes how to record the output from any app directly using jack.
==Prerequisites==
==Prerequisites==

Revision as of 16:20, 1 June 2008

This is a simple howto that describes how to record the output from any app directly using jack.

Prerequisites

To capture the output from jack, there is a nice and simple commandline tool called jack_capture.

emerge -av jack_capture

It can record to WAV or to FLAC directly. In order to encode to flac, you'll need libsndfile with FLAC support

USE="flac" emerge -av libsndfile

And of course we need jackd running.

jack-aware apps

This is easy. Just connect your app to jack and start playing. If you want the to record just what you listen, type

jack_capture

For more details see

jack_capture --help

non-jack-aware apps

Here we first need to define a pseudo ALSA device. Therefore we need the ALSA jack plugin

USE="jack" emerge -av alsa-plugins

Then we have to create or edit ~/.asoundrc (per-user) or /etc/asound.conf (system-whide) with following lines:

pcm.jackplug {
    type plug
    slave { pcm "jack" }
}

pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}

Now we can test this with

aplay -Djackplug some.wav

Works? Cool.

Now we set the alsa device in our app (e.g. realplayer 10) to jackplug, and start playing and capturing.

Personal tools