CRI ADX  Last Updated: 2025-05-07 13:34 p
Virtual speaker

What is a virtual speaker?

"Virtual speaker" is a function that places a virtual speaker at a different angle from the actual speaker.
When playing normal multi-channel audio, it is only possible to output the audio directly to each channel of the actual speaker.
By using a virtual speaker, it is possible to play the audio of each channel from the angle of the virtual speaker specified by the application.

Example of virtual speaker settings

How to use

You can use a virtual speaker by using the following two functions.
The criAtomEx_SetVirtualSpeakerAngleArray function sets the virtual speaker angle.
Specify the speaker configuration (5.1ch / 7.1ch) and the array of virtual speaker angles as arguments.
The basic operation of this function is the same as the criAtomEx_SetSpeakerAngleArray function.
The criAtomEx_ControlVirtualSpeakerSetting function enables or disables the virtual speaker.
Specify CRI_TRUE to enable, or CRI_FALSE to disable.
The default is disabled.
The basic operation when using virtual speakers is as follows.
  1. Use the criAtomEx_SetVirtualSpeakerAngleArray function to set the virtual speaker angle.
  2. Use the criAtomEx_ControlVirtualSpeakerSetting function to enable the virtual speaker.
Attention
  • If there is no difference between the actual speaker angle set with the criAtomEx_SetSpeakerAngleArray function and the virtual speaker angle, there will be no change in the sound output.
  • The timing when the virtual speaker is reflected in the playback of multi-channel sound is from the newly played voice after enabling the virtual speaker with the criAtomEx_ControlVirtualSpeakerSetting function.
    Also, if the criAtomEx_SetVirtualSpeakerAngleArray function or the criAtomEx_ControlVirtualSpeakerSetting function is executed while a voice is being played, it will not be reflected immediately in the voice being played, but will be reflected from the next time it is played.
  • Swapping L and R may cause unintended behavior.
  • Virtual speakers are reproduced by panning between speakers.
    If the playback environment is not 5.1ch or 7.1ch, the intended effect may not be achieved.
  • The multi-channel center output is not affected by the virtual speaker.
    However, mono audio is played from L and R with the center speaker position as the center, so it is affected by the virtual speaker.
Next:Category