You are here: Key Audio Design Features > Zone Processing > Zone Processing Examples > Using Priority Inputs without Selection Control

Zone Processing Scenario

Using Priority Inputs without Selection Control

Example Scenario

You are designing the audio system for a chain of pizza restaurants that play background music. Each restaurant also contains a jukebox for customer use. If a customer purchases a song, the restaurant owners want that song to play immediately—with no intervention needed by anyone. When the jukebox stops playing, the background music should fade in again.

To implement this requirement, you decide to configure the jukebox as a priority input so that when it starts playing, HAL will mute the background music, and when it stops playing, HAL will play the background music again. Because no intervention is needed, there is no need for remote control hardware (except, perhaps, to control volume).

Configuring the System
1. Configure the inputs.

This simple scenario requires two inputs, one for the background music and one for the jukebox. Although we are creating only one zone for this restaurant, we'll use the Distributed Program Bus for the background music. Then, if we add more zones later, the background music inputs will automatically be included in those zones.

  1. In the Processing Workspace, add the Distributed Program Bus to your Processing Map and configure it with one background music input.
  2. Add and configure the jukebox input. This input could be a RAD or an analog input.
  3. Optionally, customize the names of the inputs.
2. Add a Zone Processor block and connect the inputs to it.
  1. From the DSP palette, click and drag a Zone Processor block into your Processing Map.
  2. Connect the jukebox output node to the Zone Processor input node. You do not have to connect the background music because a Zone Processor includes the Distributed Program Bus inputs automatically.
3. Configure the input priorities.
  1. Open the Zone Processor properties by double-clicking the block or clicking the properties icon on the block's title bar.
  2. Open the zone's Priority Selector block properties (using the same method as above).
  3. In the Priority Inputs area, click the dropdown arrow for the first item in the priority list, and then select the jukebox input.
  4. Specify the default channel that plays when no priority input is active. To do so, use the radio buttons to select the default channel.
  5. Expand the Detector Settings by clicking its arrow, and then configure any settings you like.

That's all you have to do to configure the jukebox as a higher priority input over the background music. When HAL detects a signal coming from the jukebox, it will mute the background music and play the jukebox input. When the jukebox signal stops, HAL will unmute the background music, fading it back in based on the Ramp Back value.