update readme for 01 Light speaker sample rate

pull/279/head
Ben Xu 7 months ago
parent 5b60ec2d11
commit ef48e9c8fb

@ -129,7 +129,7 @@ If you want to run local speech-to-text using Whisper, you must install Rust. Fo
To customize the behavior of the system, edit the [system message, model, skills library path,](https://docs.openinterpreter.com/settings/all-settings) etc. in the `profiles` directory under the `server` directory. This file sets up an interpreter, and is powered by Open Interpreter.
To specify the text-to-speech service for the 01 `base_device.py`, set `interpreter.tts` to either "openai" for OpenAI, "elevenlabs" for ElevenLabs, or "coqui" for Coqui (local) in a profile.
To specify the text-to-speech service for the 01 `base_device.py`, set `interpreter.tts` to either "openai" for OpenAI, "elevenlabs" for ElevenLabs, or "coqui" for Coqui (local) in a profile. For the 01 Light, set `SPEAKER_SAMPLE_RATE` to 24000 for Coqui (local) or 22050 for OpenAI TTS. We currently don't support ElevenLabs TTS on the 01 Light.
## Ubuntu Dependencies

@ -576,7 +576,7 @@ void tryReconnectToServer() {
#define MAX_DATA_LEN (1024 * 9)
#define MIC_SAMPLE_RATE 16000
#define SPEAKER_SAMPLE_RATE 24000 // or 22050 for OpenAI TTS
#define SPEAKER_SAMPLE_RATE 24000 // set to 24000 for Coqui (local) or 22050 for OpenAI TTS
uint8_t microphonedata0[1024 * 10];
uint8_t speakerdata0[1024 * 1];

Loading…
Cancel
Save