1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Node-RED MCU Edition版 #スタックチャン (Stack-chan)の作例②

Posted at

はじめに

Node-RED MCU Edition版 #スタックチャン (Stack-chan)の動作に必要なモジュールが揃ってきたので、作例を紹介します。

作例①はこちらです。
Moddable SDKとNode-RED MCU Editionの開発環境の構築方法はこちらを参照してください。

作例② (入力した文章をおしゃべり)

構成

全体構成は下図のようになっています。
クラウドから入力されたテキストメッセージをおしゃべりしてくれます。

スクリーンショット 2024-09-02 8.41.34.png

Node-RED Dashboardからテキストメッセージを入力します。
インターネット上のMQTTブローカー(中央のNode-RED)へ接続し、入力されたテキストメッセージを送信します。

中央

Node-REDでAedesノード(MQTTブローカー)を動かしています。

中央(elevenlabs)

REST APIで入力されたテキストメッセージを音声(mp3)に変換します。

テキストメッセージの情報を受信します。
受信したテキストメッセージをElevenLabsへ送信し、変換された音声データ(mp3)を取得して再生します。

右(デバイス側)

スクリーンショット 2024-09-02 8.26.00.png

中央(MQTTブローカー)

左(クラウド側)

スクリーンショット 2024-09-02 8.12.37.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?