CRI ADX  Last Updated: 2024-07-17 10:47 p
Playback Control

Playback Control by ADX

The sound units that ADX use are broadly separated into Cue and Voice .
The feature of limiting the number of playbacks works independently of Cues and Voices.
Both settings can be configured on CRI Atom Craft.

Cue Playback Control

Cue Limit

"Cue Limit" is the limit on how many sounds the Cue can play.
For example, when setting 1 to the Cue limit, just one sound is played.
When specifying the first-arrival priority for the Cue priority type, a request of the second sound playback is canceled. When specifying the last-arrival priority, the Cue already being played back is stopped and a new sound playback starts.
It is the limit on the number of playbacks for a Cue, and is not affected by the numbers of playbacks by other Cues.
Note that the value of Cue limit is not the maximum number of simultaneous playbacks throughout the application, but the number of simultaneous playbacks for the Cue.
(It does not limit the number of playbacks for other Cues.)
If you want to limit the number of simultaneous playbacks throughout the application, for example, register all the Cues in the same "Category" and set the category limit value.

Category Cue Priority

If you want to control the playback priority and the number of playbacks between Cues, use the Category feature.
Register a Cue in a Category, enable the Cue Limit flag, and set the upper limit of the simultaneous playbacks to the Cue Limits on the Category side.
Note that if the Cue Limit flag is not enabled, the playback control by priority does not work.
If you want to control the playback priority within Categories, use the Category Cue Proiroty feature.
If the number of playbacks exceeds the Limits set to the category when playing the Cue in the category, ADX library decides what Cue playback should be stopped based on the Category Cue priority set to the Cue.


For example, create "Voice" category and specify 2 for the Limits, and then register multiple Cues. Cues that belong to the Voice category can play up to 2 sounds simultaneously.
If the third sound is played, the Cue playback with the lowest priority in the category is stopped, and the third sound is played.

For a Cue that does not belong to any category, the Category Cue priority feature does not work. (The priority is ignored.)
For a "Category Group", a Cue can be registered in multiple categories if they belong to different cageory groups.

Voice Playback Control

A Voice is a playback unit by the waveform that is allocated within a Cue.
The Voice playback control works independently of the Cue playback control.
The maximum number of voice playbacks is specified in the "Voice Limits" in the "Voice Limit Group".
"Voice Priority" is used to manage voice priority.
The maximum number of simultaneous voice playbacks specified in the voice limit group is applied only to the voices in this group.
For a voice that does not belong to any group, it is limited to the number of voices that the application actually allocates.
This means that unlike the Cue, the default upper limit of voices exists in the application.
(Number of Voices that the application prepares is the actual upper limit.)
Voice limit group is used in the case where the number of playbacks is limited for a specific type of voice.
For example, when specifying the number of voices in a voice pool for SE on the application side, up to 16 SEs can be played.
If you want to set limits on the number of playbacks, for example, a gun-shot SE is played up to 5 sounds, register a gun-shot in the SE voice limit group, and specify 5 to the limit number.
Using this setting, you can place the playback limit that the number of SEs other than a gun-shot is 16, the number of gun-shots is 5, and up to 16 sounds in total are played.
Even if the gun-shot voice priority is high, it cannot be played with the priority that exceeds the limit number specified in the voice limit group.
Also, the voice priority value is consistently evaluated regardless of whether the Voice belongs to the voice limit group.
(In this regard, its specification is different from the Cue.)
Therefore, when setting 0 to the gun-shot voice priority and setting 1 to the voice priority for the other, a gun-shot sound cannot be played if 16 sounds other than gun-shots are already being played.

Relationship between Cue and Voice Playback Controls

Playback mechanisms of Cue and Voice works independently.
On the other hand, a Voice is an element that can be contained within a Cue, and when the Cue is not played, voices within the Cue cannot be played as well.
First, the Cue playback control works, and secondly, the Voice playback control works.
Therefore, you have to take extra care of the Category Cue Priority in each Cue and the Voice Priority contained within the Cue.
Next:Streaming