23 lines
701 B
Plaintext
23 lines
701 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://6lortgihx5jy"]
|
|
|
|
[ext_resource type="Script" path="res://Communication/voice_communication.gd" id="1_73l6l"]
|
|
|
|
[sub_resource type="AudioStreamMicrophone" id="AudioStreamMicrophone_e60f1"]
|
|
|
|
[node name="VoiceCommunication" type="Node"]
|
|
script = ExtResource("1_73l6l")
|
|
|
|
[node name="AudioStreamRecord" type="AudioStreamPlayer" parent="."]
|
|
stream = SubResource("AudioStreamMicrophone_e60f1")
|
|
autoplay = true
|
|
bus = &"Record"
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
autoplay = true
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.2
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|