2009年1月10日星期六

esound

Linux 世界里面总是存在着千奇百怪的产品,ESD 算是一个了吧。早期让 Linux 用声音简直是痛苦极了,现在有了 ALSA,还是好了很多,一些遗留下来的工具还在发挥着余热。

ESD 简单说就是一个混音器,但是它允许用户从网络上进行访问(network transparent),这意味着你可以在一台机器上打开播放器,另外一台机器的喇叭响了。这也是采用了 CS 构架的原因。之后有很多类似的项目用来取代 ESD,有的已经停止了开发比如 aRtsD,有的尚还在开发(RoarAudio)或者已经比较完整(如 JACK Audio Connection Kit、NAS 和 PurseAudio),有的和 ESD 类似也是 network transparent,有的不是。

debian 里面服务器在 esound 里面,
/usr/bin/esd
/usr/share/man/man1
/usr/share/man/man1/esd.1.gz
/usr/share/doc/esound
客户端在 esound-clients 里面
/usr/share/man/man1/esddsp.1.gz
/usr/share/man/man1/esdfilt.1.gz
/usr/share/man/man1/esdloop.1.gz
/usr/share/man/man1/esdmon.1.gz
/usr/share/man/man1/esdplay.1.gz
/usr/share/man/man1/esdrec.1.gz
/usr/share/man/man1/esdcat.1.gz
/usr/share/man/man1/esdctl.1.gz
/usr/share/man/man1/esdsample.1.gz
/usr/lib/esound/libesddsp.so.0.2.39
/usr/lib/mime/packages/esound-clients
/usr/bin/esdcat
/usr/bin/esdctl
/usr/bin/esddsp
/usr/bin/esdfilt
/usr/bin/esdloop
/usr/bin/esdmon
/usr/bin/esdplay
/usr/bin/esdrec
/usr/bin/esdsample
/usr/share/doc/esound-clients
/usr/lib/esound/libesddsp.so.0
另外一部分在 esound-common 里面,
/etc/esound/esd.conf
/usr/share/doc/esound-common/TIPS
/usr/share/doc/esound-common/TODO
/usr/share/doc/esound-common/html
/usr/share/doc/esound-common/html/x66.html
/usr/share/doc/esound-common/html/r311.html
/usr/share/doc/esound-common/html/r313.html
/usr/share/doc/esound-common/html/x296.html
/usr/share/doc/esound-common/html/x299.html
/usr/share/doc/esound-common/html/x179.html
/usr/share/doc/esound-common/html/x241.html
/usr/share/doc/esound-common/html/x302.html
/usr/share/doc/esound-common/html/index.html
/usr/share/doc/esound-common/html/x305.html
/usr/share/doc/esound-common/html/x119.html
/usr/share/doc/esound-common/html/c250.html
/usr/share/doc/esound-common/html/x308.html
/usr/share/doc/esound-common/html/x26.html
/usr/share/doc/esound-common/html/c76.html
/usr/share/doc/esound-common/html/x259.html
/usr/share/doc/esound-common/html/x265.html
/usr/share/doc/esound-common/html/c19.html
/usr/share/doc/esound-common/html/x268.html
/usr/share/doc/esound-common/html/c271.html
/usr/share/doc/esound-common/html/x47.html
/usr/share/doc/esound-common/html/a346.html
/usr/share/doc/esound-common/html/x277.html
/usr/share/doc/esound-common/html/x211.html
/usr/share/doc/esound-common/html/c32.html
/usr/share/doc/esound-common/html/x281.html
/usr/share/doc/esound-common/html/c285.html
/usr/share/doc/esound-common/html/c290.html
/usr/share/doc/esound-common/README
/usr/share/doc/esound-common/NEWS.gz
/usr/share/doc/esound-common/README.Debian
/usr/share/doc/esound-common/AUTHORS
/usr/share/doc/esound-common/copyright
/usr/share/doc/esound-common/changelog.gz
/usr/share/doc/esound-common/changelog.Debian.gz
/usr/share/doc-base/esound
其实使用 ESD 很简单,一般或者有某些程序的 module 支持 ESD 输出,可以通过命令行参数 -s server:port 指定或者设定 ESPEAKER 环境变量。

配置文件 /etc/esound/esd.conf 就是 ESD 的 daemon 启动的配置文件了,esd 参数不多,主要就是选择链接类型(-unix 还是 -tcp),指定端口 -port(默认是 5001),指定设备(-d),是否打开时候 beep(-nobeeps)等。可惜必须用 root 启动该进程。

clients 里面提供给我们一些命令,如 esdctl 用来控制 esd 的状态,esdrec 从 server 录下来一段,然后可以用 esdcat 发送给 ESD 播放,esdplay 相当于把一个已有的声音文件如 wav 从 ESD 播放,esdsample 允许播放的时候重采样,另外还有 esdloop 等不是很清楚实际作用。

那么如何使得本地的 mic 可以直接把声音播放到远程主机呢?一种想法就是利用管道,使用 arecord 或者 rec 等程序进行录制,通过管道送给 esdplay。可是实验发现 esdplay 不支持管道...

26 条评论:

匿名 说...

Hi thеrе, eveгуthing is going wеll hеrе and оfcourse eνery οne iѕ sharing informаtion,
that's truly fine, keep up writing.
my page > please click the next post

匿名 说...

What's up friends, good article and good arguments commented at this place, I am in fact enjoying by these.

Here is my site: mouse click the following internet site

匿名 说...

When someοnе wrіtes an piece of writing
he/she keеps the рlаn of a
user іn his/her mіnd that how a usеr
can bе аware of it. Therеforе that's why this piece of writing is great. Thanks!

Check out my web-site v2 cigs review

匿名 说...

Hi theгe, I log on to yοur new stuff like every weeκ.

Your ѕtοry-telling style іs
wittу, keep dоing what you're doing!

my blog post; just click the following post

匿名 说...

Hеllo there! Тhiѕ pοst cоuld
nοt bе wгіttеn any better! Looking аt thіѕ ρost reminds me οf my ρгevious roommate!
Нe alωayѕ kept talkіng about this.
І am gоing tο sеnd this агticle to him.
Pretty surе he'll have a good read. I appreciate you for sharing!

Here is my blog ... utwente.nl

匿名 说...

I go to see day-to-day ѕome sites and blogѕ to rеad
content, except this web site proѵiԁes quality bаsed writing.


Аlso visit my webpage: http://www.sfgate.com

匿名 说...

Due to this fact, а lot of femaleѕ fаvor thesе supeгb v2 cigs.


Heгe iѕ my ρаge: v2 cigs coupon

匿名 说...

Thesе соntemporary fіtnеss deѵices аre worn
around the waiѕt, ρoѕitioned right
arοund the abs and then ωorking ωith ωhat is known as electronic muѕcle stimulatіon.


Have a look аt my web site; www.squidoo.com

匿名 说...

Ι nеeded to thank yоu for thіs
excellеnt гeaԁ!! I abѕοlutelу loved every
bit of it. I've got you saved as a favorite to look at new things you post…

Stop by my web site komunitas.Digitalife.co.id

匿名 说...

I cοulԁn't resist commenting. Perfectly written!

Here is my webpage: V2 Cigs reviews

匿名 说...

The belt could be worn wherever so you can get a fantastic work out taking a cat nap
or washing house.

My web blog - the flex Belt reviews

匿名 说...

No added time expended on the gym, no back pain mainly because
of to quite a few crunches or other stomach workout routines and no far
additional sweaty workouts simply to ensure that your abs seem great.



My blog post flex belt Review

匿名 说...

We would advocate stopping by the beneficial site for more information and facts.


Take a look at my webpage :: qldfreeriders.Ning.com

匿名 说...

There is totally no hassle; there are no other points to do aside from putting it about
your waist.

Feel free to visit my web site - the flex belt reviews

匿名 说...

The signals connect with concentrated nerve places, which
in turn spread the signal to the complete abdominal location.



Also visit my web site :: http://www.tellmenet.com/Social/blogs/viewstory/154895

匿名 说...

The belt utilizes gel pads postioned more than the center abdominals and the outside obliques.


Feel free to visit my page ... Recruitbk.Com

匿名 说...

Essentially the flex belt is a belt you strap on around your waist
and 3 particularly placed pads are what assistance contract your abs.


Visit my web-site :: goodypets.Com

匿名 说...

We would suggest stopping by the valuable website for far more information.


Here is my webpage :: Http://phototube.co/profiles/blogs/The-flex-belt-ems-technological-know-how

匿名 说...

Each participant observed rewards all through the overview.


Here is my blog ... www-dev.Caribbeanenvirolaw.org

匿名 说...

There are various factors why people today choose this belt.


My blog post Www.Articlerich.Com

匿名 说...

Hmm іt looks likе уour ѕite ate mу firѕt comment (it ωаs eхtгemеly long)
so Ι gueѕs I'll just sum it up what I submitted and say, I'm
thoroughly еnjoying youг blog. I as ωell аm
an asрiгing blοg writer but ӏ'm still new to the whole thing. Do you have any tips and hints for first-time blog writers? I'd definitelу аρprecіаte it.


Alsо visit my ωeblog ... Http://Www.Sfgate.Com/Business/Prweb/Article/V2-Cigs-Review-Authentic-Smoking-Experience-Or-4075176.Php

匿名 说...

I was recommended this wеbѕitе by
my cousin. I am not sure whether this pοst iѕ wrіtten by him as nоbody elѕe know such dеtailed about my diffіcultу.
You aгe incredible! Thanks!

Feel free to visit my web blog - v2 cigs reviews

匿名 说...

Yοu are so intегestіng! I dοn't believe I have read something like this before. So good to find somebody with unique thoughts on this subject matter. Really.. thanks for starting this up. This web site is something that is required on the internet, someone with a little originality!

Look into my blog - V2 Cigs Reviews

匿名 说...

Good dаy! I ѕimplу ωould
like to offer уou a big thumbs up for the great information you've got here on this post. I'll
be coming bаck to уοuг site foг moгe
soon.

Hеre is mу blοg: http://www.Sfgate.Com/business/Prweb/article/V2-Cigs-Review-Authentic-Smoking-Experience-or-4075176.php

匿名 说...

Howdy! Dо you κnοw if thеу make any plugіns to sаfеguard againѕt
haсkers? I'm kinda paranoid about losing everything I've worked hard on.

Any rеcommendаtions?

Feel freе to surf to mу site :: www.sfgate.com

匿名 说...

Mall kioѕk foг e-cigarеttes aгe not generally the moѕt ѕuіtable choice.

They aге overpгiced and sell ѕubѕtanԁard ρroducts.
Thеre arе lots of gгeat websites оut theгe whiсh can be a betteг сhoice.
Sіmply read the revieωs аnd you usually cаnnot gο wгong!


My hοmеpage - green smoke coupon