godot-psd-training/Communication/voi27D6.tmp

23 lines
790 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="."]
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true
[connection signal="finished" from="AudioStreamPlayer" to="." method="_on_audio_stream_player_finished"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]