AUTHOR: Cynthia
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)
Determine default speaker connection — USB or 3.5mm audio jack. CL setup is via USB (mic array)
Configure following these setups.
a. Install software and load sound driver
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
d. See current audio configuration
e. Use raspi-config and set Audio, under Advanced Options, to 'Auto'
Test with an audio clip beforehand by generating a sine wave
Install espeak and run espeak for 'Hello World'
(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
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)