asingcrow/godot/Components/MicMeterHoriz.tscn

32 lines
786 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://UI/src/meter.png" type="Texture" id=1]
[ext_resource path="res://Components/MicMeterHoriz.gd" type="Script" id=2]
[sub_resource type="AudioStreamMicrophone" id=1]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RecordMeter" type="TextureProgress" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 0, 16 )
size_flags_horizontal = 3
size_flags_vertical = 0
texture_progress = ExtResource( 1 )
nine_patch_stretch = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamRecorder" type="AudioStreamPlayer" parent="."]
stream = SubResource( 1 )
autoplay = true
bus = "Record"