This project is a fork of AI_StackChan2 by GitHub user robo8080. The original project is located at: https://github.com/robo8080/AI_StackChan2. This is based on AI_StackChan2 as forked on 2023-11-30.
The goals of this project are simple:
-
Parameterize/modularize settings to allow for multiple languages, not just Japanese. At first, we'll support just 'ja' (Japanese) and 'en-US' (English, US).
This should include all utterances by the robot, all texts written on screen, and the primary documentation (comments are of lesser importance).
-
Parameterize/modularize additional settings to improve flexibility. Ideally, as many settings as possible should be able to be set via files located on the robot's microSD card. These settings should be well documented.
(The following has been adapted from a Google Translate translation of the original Japanese README)
This is AI Stack Chan 2.
Features of AI Stack Chan 2
- Use the web version VOICEVOX for speech synthesis.
- You can select either "Google Cloud STT" or "OpenAI Whisper" for voice recognition.
Google Cloud STT was based on "MhageGH"'s esp32_CloudSpeech. thank you very much.
We would like to thank "Inaba" and "kobatan" for their great advice in making "OpenAI Whisper" usable.
For the wake word, I used "MechaUma"'s SimpleVox library.
See here.
- M5Stack Core2
- VSCode
- PlatformIO
Please refer to "platformio.ini" for the libraries used.
~[As of 5/31, it does not work with CoreS3 due to a problem with M5Unified. 】~~
- Set the GPIO number that uses the servo motor near line 46 of main.cpp.
See here.
以下は 2023 年 11 月 30 日時点の日本語の README です。
AIスタックチャン2です。
AIスタックチャン2の特徴
- 音声合成にWeb版 VOICEVOXを使います。
- 音声認識に"Google Cloud STT"か"OpenAI Whisper"のどちらかを選択できます。
Google Cloud STTは、”MhageGH”さんの esp32_CloudSpeech を参考にさせて頂きました。ありがとうございました。
"OpenAI Whisper"が使えるようにするにあたって、多大なご助言を頂いた”イナバ”さん、”kobatan”さんに感謝致します。
ウェイクワードには、”MechaUma”さんのSimpleVoxライブラリを使わせていただきました。
こちらを参照してください。
- M5Stack Core2
- VSCode
- PlatformIO
使用しているライブラリ等は"platformio.ini"を参照してください。
【5/31の時点ではM5Unifiedの不具合の為、CoreS3では動きません。】
- main.cppの46行目付近、サーボモーターを使用するGPIO番号を設定してください。
こちらを参照してください。