2009年7月28日 星期二

聲音 與 麥克風(Mic)

聲音 與 麥克風(Mic)

程式主音量控制

kernel: 2.6.28

指令: amixer (只下這個指令,可以看到有關amixer的所有狀態)

套件: alsa-utils

聲音:
amixer sset Master 0%~100% (or 0~64)
or
amixer sset Master 1+
(還有PCM、Capture可以設定)

左右聲道要不一樣
amixer sset Master 25%,50%

靜音:
amixer sset Master off
or
amixer sset Master toggle

麥克風:
amixer sset i-Mic 0%~100%
amixer sset 'i-Mic Boost' 0~3 ( or 0%、33%、67%、100% )
or
amixer sset Mic nocap (unmute)
amixer sset Mic cap     (mute)

錄音:
arecord -f cd Filename.wav (副檔沒有太大的關係,看一下 man arecord)

[ 轉貼 ] Mini HOWTO:Alsa-sound
查尋音效卡是否存在:
cat /proc/asound/cards

注意 /proc/asound 在您載入第一個 ALSA 模組後才會出現. 如果沒有 /proc/asound, 那麼就是 "snd" 模組沒有正確安裝好. 您可以在 /proc/asound/cards 檔中找到安裝好的卡, 然後在 /proc/asound/0 找到關於 0 號卡, /proc/asound/1 中關於 1 號卡的資訊.

[ 轉貼 ] DebianEeePC
For the EeePC’s microphone you’ll probably want to adjust these settings: use the tab button to select the all view.

Arrow over to the capture setting and toggle it on using the space bar. Make sure the volume is around 70 %.

Make sure that i-mic (internal mic) is selected as the input source. (If i-mic doesn’t appear, try Front Mic.) Press up and down arrow to select input device.

Arrow over to the i-mic mixer settings. Set the volume at 70 % and then set the i-mic boost to 33 %.


That should give a good basis for playing around with your own settings till you get it perfect. The i-mic boost should be set to zero or 33 %.

Anything above that and I get horrible sound distortion through Ekiga.


ref:
1. DebianEeePC
2. Mini HOWTO:Alsa-sound

沒有留言:

張貼留言