從命令列設定音頻平衡

從命令列設定音頻平衡

我想從命令列(linux)設定音訊平衡,我查看了“aumix”(並用谷歌搜尋),但似乎它沒有選項......你能建議任何方法嗎?

答案1

混合器,您可以設定左右ALSA頻道的音量。例如,

amixer sset Master 80%,20%

將使平衡向左移動。

答案2

我到處尋找這個答案,這就是我得到的

  1. 下載 Alsamixer。
  2. 轉到設定並選擇“alsa_amixer控制項”或模式下的第二個選項
  3. 從所有命令中搜尋「耳機音量」並將值變更為 63,0 或 0,63。

答案3

如果您使用的是 MacOS,請建立 AppleScript:

# Start preferences with the right page
tell application "System Preferences"
    activate
    reveal anchor "output" of pane id "com.apple.preference.sound"
    delay 0.5 -- If you get an error, it's possible this delay isn't long enough.
end tell
# Set volume balance to normal
tell application "System Events"
    tell slider 1 of group 1 of tab group 1 of window 1 of process "System Preferences"
        set value to 0.2
    end tell
end tell
# Quit system preferences
tell application "System Preferences"
     quit
end tell

相關內容