Version: 2022.1
言語: 日本語
コンセプトと AudioMixer の概要
AudioGroup インスペクター

Specifics on the AudioMixer window

Mixers パネル

The Mixers panel displays a complete list of all AudioMixers in the project. Select the AudioMixers in the Mixers panel to quickly switch between them. You can also route one AudioMixer into the AudioGroup of another AudioMixer from this panel.

Select + in the top right of the panel to create a new AudioMixer in the project.

Route AudioMixers into other AudioMixers

Unity supports the use of multiple AudioMixers within a scene at once. By default, each AudioMixer outputs the audio signal directly to the AudioListener.

You can choose to route the audio output of an AudioMixer into an AudioGroup of another AudioMixer. This allows for flexible and dynamic routing hierarchies at game runtime.

You can route an AudioMixer into another AudioGroup through either of the following methods:

  • エディターのミキサーパネルから行う。
  • Dynamically at runtime through the AudioMixer API.

To change the output of an AudioMixer within the Editor:

  1. Select an AudioMixer within the Mixers panel.
  2. Drag the AudioMixer over the top of another AudioMixer.
  3. In the dialog that appears, select the AudioGroup of the AudioMixer you want to route into.
  4. The panel displays the parenting relationship of the AudioMixers. It also displays the target AudioGroup next to the AudioMixer’s name.

Hierarchy パネル

The Hierarchy view is where you define the sound categories of an AudioMixer and the mixing structure. You can define your own custom categories that AudioSources can connect to and play through.

Hierarchy 内のオーディオグループの追加と設定

You can add and modify the topology of an AudioMixer within the AudioGroup Hierarchy panel.

新しいオーディオグループを階層に追加するには、以下のどちらかを行います。

  • Right-click on an existing AudioGroup (there must be at least one in an AudioMixer), and select Add child group or Add sibling group.
  • Select an AudioGroup to add a child to, and select + in the top right of the panel. This adds a new group to the AudioMixer under the selected one.

To change the topology of an AudioMixer:

  1. パネルでオーディオグループを選択します。
  2. 他のオーディオグループの上にドラッグします。

これにより、選択したオーディオグループの上のターゲットオーディオグループが親になります。

オーディオグループ (子も含む) を削除するには、以下のどちらかを行います。

  • 削除したいグループを選択し、Delete キーを押します。
  • 削除したいグループを右クリックし、Remove Group (and children) を選択します。

オーディオグループを複製して兄弟にするには、以下を行います。

  1. 複製したいオーディオグループを右クリックします。
  2. Duplicate Group (and children) を選択します。

これは、グループと子グループを、グループ内に含まれる効果もすべて正確に複製します。

オーディオグループの名前を変更するには、以下を行います。

  1. グループを右クリックします。
  2. Rename を選択します。

AudioGroup ビュー

The AudioGroup view displays a flat arrangement of the AudioGroups in the AudioMixer. This arrangement is organized horizontally within the view. The current view selection dictates the groups shown in the AudioGroup view.

ビュー内で各オーディオグループは縦長の長方形 (“ストリップ”) で表示されます。こういったレイアウトおよびスタイルは Digital Audio Workstations などのオーディオ編集パッケージによくあるものです。このレイアウトは、音楽とビデオのバックグラウンドを持つオーディオエンジニアの移行を促進し、オーディオハードウェアのインテグレーションをサポートします。

ストリップにはタイトルバーがあり、その下に縦長の VU メーターがあります。VU メーターはその時点での、そのオーディオグループを通したオーディオのレベルを示します。VU メーターの隣には音量セレクターがあり、それを使用して、VU メーターと同じ尺度 (dB レベルで示されます) で、そのオーディオグループの減衰を入力できます。

VU メーターの下には、以下の機能を持った 3 つのボタンが配置されています。

  • Solo - このボタンは、ミックス全体を聞くか、ソロになっているオーディオグループの子に再生するオーディオソースのみを聞くかを切り替えます。
  • Mute - このボタンは、その時点でのオーディオグループを可聴ミックスに含むか、あるいはグローバルミックス中で聴こえないように除外するかを切り替えます。
  • Bypass - このボタンは、オーディオグループのすべての効果を無視するか有効にするかを切り替えます。

オーディオグループには、オーディオグループ内の DSP 効果ユニットと減衰ユニットのリストも含まれています。減衰は、オーディオグループ内の効果ユニットチェーンのどこにでも適用でき、ボリューム調整を適用する場所を正確に決定できます。これは、非リニア効果や送信/受信ユニットに役立ちます。

各効果ユニットスロットには、適用されている効果のユニット名が表示されます。効果の左側にある円は、その個々の効果を有効にしたり、無効にするためのボタンです。効果を右クリックして、Allow Wet Mixing を選択すると、画面下部のカラーバーがアクティブになります。このカラーバーは、効果を通過するウェットシグナルの量を示します。

効果は オーディオグループ内で上下にドラッグして順序を変えることができます。別のオーディオグループに効果を移動することも可能です。

新しい効果ユニットを追加するには、既存の効果を右クリックし、それを前後のいずれかに加えるか、ストリップの下部にある Add.. をクリックします。

Snapshots パネル

In the Snapshot panel, you can create, switch between, and tweak different Snapshots in the AudioMixer. There is always at least one snapshot active. Selection of a snapshot within the Snapshot panel indicates that further edits of the AudioMixer are edits to that snapshot.

Snapshots defined in the Snapshot panel also display as sub-assets of the AudioMixer. This allows you to access the snapshots elsewhere in the editor and within scripts.

You can also define a Start Snapshot. A Start Snapshot has a star icon to its right on the snapshot list. The Start Snapshot is the snapshot that the AudioMixer initializes to when it loads. For example, when the scene starts.

新しいスナップショットを作成するには、以下の手順を行います。

  1. パネル右上の + を選択します。
  2. 新しいスナップショットの名前を入力します。

異なる開始スナップショットを定義する場合は、以下を行います。

  1. スナップショットを右クリックします。
  2. Set as Start Snapshot を選択します。

Views パネル

Views allow you to create groups of visible AudioGroups in the AudioMixer. With views, you can create perspectives of interest into the AudioMixer, instead of always being presented with the full hierarchy. Views are only for workflow optimization and don’t affect runtime setup or performance.

Snapshot パネル同様、Views パネルでも常に 1 つビューが選択され、それが AudioGroup ビューで表示されています。デフォルトではすべてのオーディオグループが表示された状態になっています。Hierarchy パネルの目のアイコンは、ビューに含まれるものを設定します。

ビューのリストに新しいビューを追加するには、以下を行います。

  1. Views パネルの右上にある + を選択します。
  2. 新しいビューの名前を入力します。

現在のビューを変更するには、VIew パネルにあるビューのリストから 1 つを選択します。

View を削除するには以下を行います。

  1. 削除したいビュー上で右クリックします。
  2. Delete を選択します。

現在のビューの設定をすべて残したまま、ビューを複製するには以下を行います。

  1. 複製したいビューの上で右クリックします。
  2. Duplicate を選択します。

オーディオグループの目のアイコン

Hierarchy パネル上の各オーディオグループの左側に、小さな目のアイコンがあります。この目のアイコンには以下の 2 つの役割があります。

  • 目のアイコンを選択すると、現在選択されているビューでのこのオーディオグループの可視性が切り替わります。
  • Right-click on the eye icon to select from a range of colors to tag this AudioGroup with. Select a color other than No Colour to create a small color tag to the left of the eye icon and a color tag under the AudioGroup’s name in the AudioGroup view. These color indicators visually group different concepts and collections of AudioGroups in the AudioMixer.
コンセプトと AudioMixer の概要
AudioGroup インスペクター