スタックチャンの顔と声をいろいろ組み合わせてみたくて作ってみました。 ゆくゆくは2台で通信させてバーコードバトラーぽくしてみたいですね。
M5Stack用QRコードスキャナーユニットで読み取った値を元に、スタックチャンの目、口、眉をそれぞれ10種類からランダムで組み合わせることができます。 また、顔生成が完了した時の口の形ごとに簡単なセリフもしゃべります(*1)。 バーコードはEAN-13を想定しており、公開中のWebサイトで生成したバーコードを読み取ることができます。 https://u-tanick.github.io/your-barcode-maker/
*1 VOICEVOXを使用しており、口の形毎に次の10種類の声を使用しています。
[English]
The values read by the barcode reader(STM32F030) can be used to randomly combine the eyes, mouth, and eyebrows of Stack-chan from 10 different types each. Additionally, once the face generation is complete, Stack-chan will speak a short phrase based on the shape of the mouth (*1). The barcodes are assumed to be EAN-13 and can be read from the barcodes generated on the following website:
https://u-tanick.github.io/your-barcode-maker/
*1 Using VOICEVOX, the following 10 types of voices are used for each mouth shape.
ハードウェア1を組み合わせてスタックチャンを作成。
ソフトウェア1のスタックチャンの顔作成ライブラリを使って、ハードウェア2のバーコードリーダーを利用できるようにした自製のプログラムを作成。
口のパーツごとに台詞をしゃべる仕組みにWebサービス1のVOICEVOXを利用。
読み取るバーコードはEAN-13を想定し、その形式のバーコードを作成するサイトとしてWebサービス2をGitHub上に公開。