parameters: (raw_settings)
return_statement: return AudioSettings(
          enabled=raw_audio_settings["Enabled"] == "True",
          text_to_speech_settings_list=text_to_speech_settings_list,
      )
docstring: Creates an AudioSettings() object based on the data structure in the YAML
      file
docstring_summary: Creates an AudioSettings() object based on the data structure in the YAML
      file
docstring_tokens: Creates an AudioSettings () object based on the data structure in the YAML file
function: def _convert_audio_settings(raw_settings):
      """
      Creates an AudioSettings() object based on the data structure in the YAML
      file
      """
      if "Audio" not in raw_settings:
          return AudioSettings()
  
      raw_audio_settings = raw_settings["Audio"]
  
      if raw_audio_settings["Enabled"]:
          text_to_speech_settings_list = _convert_text_to_speech_settings_list(
              raw_audio_settings
          )
      else:
          text_to_speech_settings_list = []
  
      return AudioSettings(
          enabled=raw_audio_settings["Enabled"] == "True",
          text_to_speech_settings_list=text_to_speech_settings_list,
      )
function_tokens: def _convert_audio_settings ( raw_settings ) : if "Audio" not in raw_settings : return AudioSettings ( ) raw_audio_settings = raw_settings [ "Audio" ] if raw_audio_settings [ "Enabled" ] : text_to_speech_settings_list = _convert_text_to_speech_settings_list ( raw_audio_settings ) else : text_to_speech_settings_list = [ ] return AudioSettings ( enabled = raw_audio_settings [ "Enabled" ] == "True" , text_to_speech_settings_list = text_to_speech_settings_list , )