
セットソースボリュームとセットソース出力ボリュームの違いは何ですか?ソースはマイクを表します。では、出力量はどのくらいですか?
マニュアルページは実際には役に立ちません...
set-source-volume SOURCE VOLUME [VOLUME ...]
Set the volume of the specified source (identified by its symbolic name or
numerical index). VOLUME can be specified as an integer (e.g. 2000, 16384), a
linear factor (e.g. 0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value
(e.g. 0dB, 20dB). If the volume specification start with a + or - the volume
adjustment will be relative to the current source volume. A single volume value
affects all channels; if multiple volume values are given their number has to match
the source's number of channels.
set-source-output-volume OUTPUT VOLUME [VOLUME ...]
Set the volume of the specified source output (identified by its numerical index).
VOLUME can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g.
0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If
the volume specification start with a + or - the volume adjustment will be relative
to the current source output volume. A single volume value affects all channels; if
multiple volume values are given their number has to match the source output's
number of channels.
答え1
と を使うことpactl
の違いが何なのかよくわかりませんが、後者pacmd
を使うのにlist-source-outputs
コマンドがあります。
返されたインデックスを使用して、pacmd list-source-outputs
各ソース出力の出力量を設定できます。
たとえば、現在のマイク/ライン入力入力の電話音楽をコンピュータのサウンドとミキシングし、スピーカーを介して再生するloobpackモジュールがあります。以下に別々に記載されています。
index: 291
driver: <module-loopback.c>
flags: START_CORKED
state: RUNNING
source: 213 <alsa_input.pci-0000_00_14.2.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 66.67 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
owner module: 204
properties:
media.role = "abstract"
module-stream-restore.id = "source-output-by-media-role:abstract"
media.name = "Loopback to Built-in Audio Analog Stereo"
media.icon_name = "audio-card-pci"
以下を使用してボリュームを50%に設定できます。
pacmd set-source-output-volume 291 32768
もちろん、入力に基づいて同じことを実行できますが、粒度は小さくなります。ライン入力として使用するために、ボリュームをプライマリボリュームである10%(6554)に設定しました。この入力はマイク入力としても使用されるため、プリアンプを減らす必要があります。
ソース受信機のボリューム設定を使用すると、同じ単一入力から複数の受信機の異なるボリュームレベルを取得することもできます。私は恋人のために行うことができます。複数のマスターチャンネルを100%で録音しながら、モニターのさまざまなレベルにミキシングします。