godot-psd-training/trainings/training1.tscn
soul-walker 104a16955c 添加回复用音频(文本转语音生成的)
语音会话添加play_reply方法实现播放回复
探索录音方式
2024-05-09 20:05:07 +08:00

18 lines
886 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dvsauaycyah6j"]
[ext_resource type="Script" path="res://trainings/training1.gd" id="1_71wgx"]
[ext_resource type="PackedScene" uid="uid://qh8b3g6n3k2u" path="res://trainings/training_desc_dialog.tscn" id="2_oc00d"]
[ext_resource type="PackedScene" uid="uid://6lortgihx5jy" path="res://Communication/voice_communication.tscn" id="3_ceo1a"]
[node name="Training1" type="Node"]
script = ExtResource("1_71wgx")
trainingName = "站台单档滑动门关门故障处置"
trainingDesc = "列车关门作业,突发单个站台门未正常关闭。"
[node name="TrainingDescDialog" parent="." instance=ExtResource("2_oc00d")]
size = Vector2i(400, 300)
[node name="VoiceCommunication" parent="." instance=ExtResource("3_ceo1a")]
[connection signal="StartTraining" from="TrainingDescDialog" to="." method="_on_training_desc_dialog_start_training"]