97 lines
2.6 KiB
Plaintext
97 lines
2.6 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Measurement.gd" type="Script" id=1]
|
|
[ext_resource path="res://Waveform.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
flags_unshaded = true
|
|
flags_use_point_size = true
|
|
params_line_width = 2.0
|
|
params_point_size = 5.0
|
|
|
|
[sub_resource type="AudioStreamMicrophone" id=1]
|
|
|
|
[sub_resource type="Environment" id=2]
|
|
background_mode = 1
|
|
background_color = Color( 0.0627451, 0.0627451, 0.0627451, 1 )
|
|
|
|
[node name="Spatial" type="Spatial"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0196915, 0.00950098, -0.00387096 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Waveform" type="ImmediateGeometry" parent="."]
|
|
material_override = SubResource( 3 )
|
|
cast_shadow = 0
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnalysisPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = SubResource( 1 )
|
|
bus = "Analysis"
|
|
|
|
[node name="UI" type="MarginContainer" parent="."]
|
|
margin_right = 415.0
|
|
margin_bottom = 301.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
|
|
margin_right = 415.0
|
|
margin_bottom = 301.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="UI/VBoxContainer"]
|
|
margin_right = 415.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="StatusLight" type="ColorRect" parent="UI/VBoxContainer/HBoxContainer"]
|
|
margin_right = 20.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 20, 20 )
|
|
|
|
[node name="StatusText" type="Label" parent="UI/VBoxContainer/HBoxContainer"]
|
|
margin_left = 24.0
|
|
margin_top = 3.0
|
|
margin_right = 63.0
|
|
margin_bottom = 17.0
|
|
text = "Status"
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="UI/VBoxContainer"]
|
|
margin_top = 24.0
|
|
margin_right = 415.0
|
|
margin_bottom = 44.0
|
|
|
|
[node name="Source Mic A" type="OptionButton" parent="UI/VBoxContainer/HBoxContainer3"]
|
|
margin_right = 65.0
|
|
margin_bottom = 20.0
|
|
text = "Mic A"
|
|
|
|
[node name="Source Mic B" type="OptionButton" parent="UI/VBoxContainer/HBoxContainer3"]
|
|
margin_left = 69.0
|
|
margin_right = 134.0
|
|
margin_bottom = 20.0
|
|
text = "Mic B"
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="UI/VBoxContainer"]
|
|
margin_top = 48.0
|
|
margin_right = 415.0
|
|
margin_bottom = 68.0
|
|
|
|
[node name="Record" type="Button" parent="UI/VBoxContainer/HBoxContainer2"]
|
|
margin_right = 56.0
|
|
margin_bottom = 20.0
|
|
text = "Record"
|
|
|
|
[node name="Analyse" type="Button" parent="UI/VBoxContainer/HBoxContainer2"]
|
|
margin_left = 60.0
|
|
margin_right = 122.0
|
|
margin_bottom = 20.0
|
|
disabled = true
|
|
text = "Analyse"
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6 )
|
|
environment = SubResource( 2 )
|