Skip to content

Configuration

Mayank Chawdhari edited this page May 24, 2023 · 1 revision

Configuration

To configure Mash for speech recognition and text-to-speech conversion, follow these steps:

  1. Obtain API keys for the speech recognition service and text-to-speech engine you want to use.

  2. Open the config.py file in your Mash project.

  3. Replace the placeholders for the API keys with your actual keys.

    # Speech Recognition API key
    speech_api_key = "your-speech-api-key"
    
    # Text-to-Speech API key
    tts_api_key = "your-tts-api-key"
  4. Save the config.py file.

Usage

Once Mash is set up and configured, you can start using its features:

  1. Launch the Mash application.

  2. Say "start" to initiate speech recognition.

  3. If you want to perform math calculations, say "math" and provide a mathematical expression. Mash will evaluate and compute the result.

  4. To pause math calculations, say "stop".

  5. To continue with regular speech processing, say "speech".

  6. Mash will transcribe your speech input and provide a response.

Clone this wiki locally