getPredefinedVoices static method

List<GoogleVoiceInfo> getPredefinedVoices()

Get predefined Google TTS voices

Returns a list of all 30 prebuilt voices available in Google TTS

Implementation

static List<GoogleVoiceInfo> getPredefinedVoices() => [
      const GoogleVoiceInfo(name: 'Zephyr', description: 'Bright'),
      const GoogleVoiceInfo(name: 'Puck', description: 'Upbeat'),
      const GoogleVoiceInfo(name: 'Charon', description: 'Informative'),
      const GoogleVoiceInfo(name: 'Kore', description: 'Firm'),
      const GoogleVoiceInfo(name: 'Fenrir', description: 'Excitable'),
      const GoogleVoiceInfo(name: 'Leda', description: 'Youthful'),
      const GoogleVoiceInfo(name: 'Orus', description: 'Firm'),
      const GoogleVoiceInfo(name: 'Aoede', description: 'Breezy'),
      const GoogleVoiceInfo(name: 'Callirrhoe', description: 'Easy-going'),
      const GoogleVoiceInfo(name: 'Autonoe', description: 'Bright'),
      const GoogleVoiceInfo(name: 'Enceladus', description: 'Breathy'),
      const GoogleVoiceInfo(name: 'Iapetus', description: 'Clear'),
      const GoogleVoiceInfo(name: 'Umbriel', description: 'Easy-going'),
      const GoogleVoiceInfo(name: 'Algieba', description: 'Smooth'),
      const GoogleVoiceInfo(name: 'Despina', description: 'Smooth'),
      const GoogleVoiceInfo(name: 'Erinome', description: 'Clear'),
      const GoogleVoiceInfo(name: 'Algenib', description: 'Gravelly'),
      const GoogleVoiceInfo(name: 'Rasalgethi', description: 'Informative'),
      const GoogleVoiceInfo(name: 'Laomedeia', description: 'Upbeat'),
      const GoogleVoiceInfo(name: 'Achernar', description: 'Soft'),
      const GoogleVoiceInfo(name: 'Alnilam', description: 'Firm'),
      const GoogleVoiceInfo(name: 'Schedar', description: 'Even'),
      const GoogleVoiceInfo(name: 'Gacrux', description: 'Mature'),
      const GoogleVoiceInfo(name: 'Pulcherrima', description: 'Forward'),
      const GoogleVoiceInfo(name: 'Achird', description: 'Friendly'),
      const GoogleVoiceInfo(name: 'Zubenelgenubi', description: 'Casual'),
      const GoogleVoiceInfo(name: 'Vindemiatrix', description: 'Gentle'),
      const GoogleVoiceInfo(name: 'Sadachbia', description: 'Lively'),
      const GoogleVoiceInfo(name: 'Sadaltager', description: 'Knowledgeable'),
      const GoogleVoiceInfo(name: 'Sulafat', description: 'Warm'),
    ];