bosesoundtouchapi.models.audiodspaudiomodes
@export
class
AudioDspAudioModesAudio DSP Audio Modes enumeration.
Dialog =
<AudioDspAudioModes.Dialog: 'AUDIO_MODE_DIALOG'>
Dialogue mode improves the clarity of dialogue and vocals in movies, TV programs and podcasts by adjusting the tonal balance of the system.
Direct =
<AudioDspAudioModes.Direct: 'AUDIO_MODE_DIRECT'>
No optimizations made; the audio is directly from the source.
Unspecified =
<AudioDspAudioModes.Unspecified: 'AUDIO_MODE_UNSPECIFIED'>
Audio Mode is not specified.
@staticmethod
def
GetNameByValue(value: str) -> str:
Returns a name for the given audioMode value. No exception will be thrown by this method if the value is not found.
Arguments:
- value (str): The audio mode value (e.g. "AUDIO_MODE_NORMAL", etc). Value is case-sensitive, and must match exactly.
Returns:
A name if the value argument was found; otherwise, None.
@staticmethod
def
GetValueByName(name: str) -> str:
Returns a value for the given audioMode name. No exception will be thrown by this method if the name is not found.
Arguments:
- name (str): The audio mode name (e.g. "Normal", "Dialog", etc). Value is case-sensitive, and must match exactly.
Returns:
A value if the name argument was found; otherwise, None.