• Convenience function to record speech and save directly to file

    Parameters

    • text: string

      The text to convert to speech

    • outputPath: string

      Path where to save the audio file

    • options: Omit<SpeechOptions, "outputPath"> = {}

      Additional speech synthesis options

    Returns Promise<boolean>

    Promise resolving to success status