AUTHOR: Cynthia

Outcome

Initial Goal: Run a text-to-speech sample for eventual Reachy voice implementation.

Realized Outcome: Yes (need to be tested on CL setup, partial complete)

Steps to Outcome

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7934ce91-f6aa-49cd-9e6b-7d2bd7c0cda8/IMG_20201113_114227.jpg

  1. Determine default speaker connection — USB or 3.5mm audio jack. CL setup is via USB (mic array)

  2. Configure following these setups.

    a. Install software and load sound driver

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/02499e93-2abf-419d-b38b-b48f8bb7c01d/Untitled.png

    Connect your usb audio device (when your raspberry pi is turned off) and then power on the pi

    b. Run 'lsusb' on the command line to make sure you can see your USB device

    c. Enable USB device via ALSA

    The first step checks that the sound card is loaded

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1ba38464-c0b5-44d3-8d10-2e549c564c5c/Untitled.png

    d. See current audio configuration

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/47a96b47-5604-4726-88cc-d9f5543d9512/Untitled.png

    e. Use raspi-config and set Audio, under Advanced Options, to 'Auto'

  3. Test with an audio clip beforehand by generating a sine wave

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e9e03a95-8547-49c4-ac74-4ac0c0fb3533/Untitled.png

  4. Install espeak and run espeak for 'Hello World'

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5459005d-049d-4165-990f-182473c88f9a/Untitled.png

Sample Voice Clip from Setup

(Starts at the 4s mark) — Tad posh sounding...

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a18ead2b-a88d-49d9-94ff-625411bfdd68/Recording_350.wav

Remaining Gaps

  1. Test on CL setup
  2. Integrate with Reachy's chat/voice system ⇒ to be determined what Reachy voice system we want and how all these parts will work together. espeak TTS utility works with Python scripts
  3. Will add audio clip: 'Welcome to Circuit Launch', once tested

Key Learning

Different types of open source software for audio has setting requirements that determine which one you choose (e.g., 3.5mm jack connection ⇒ festival or espeak software)