ChocolateBird/test/audio_system.tscn

75 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-07-13 20:08:51 +09:30
[gd_scene load_steps=7 format=2]
2023-07-27 19:58:29 +09:30
[ext_resource path="res://test/audio_system.gd" type="Script" id=1]
[ext_resource path="res://theme/menu_theme.tres" type="Theme" id=2]
[ext_resource path="res://test/audio_renderer.gd" type="Script" id=3]
[ext_resource path="res://shaders/audio_renderer.gdshader" type="Shader" id=4]
2024-07-13 20:08:51 +09:30
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 0 ), 0.0, 2.46705, 0, 1, Vector2( 0.335329, 0.827273 ), 2.46705, -1.6562, 1, 1, Vector2( 0.631737, 0.336364 ), -1.6562, 1.80207, 1, 1, Vector2( 1, 1 ), 1.80207, 0.0, 1, 0 ]
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 4 )
2024-07-11 22:49:53 +09:30
shader_param/instrument_samples_size = Vector2( 2048, 128 )
shader_param/reference_note = 71.0
shader_param/output_mixrate = 32000.0
shader_param/midi_events_size = Vector2( 2048, 16 )
2023-07-27 19:58:29 +09:30
[node name="audio_system" type="Node2D"]
script = ExtResource( 1 )
2024-07-13 20:08:51 +09:30
curve = SubResource( 3 )
2023-08-23 17:26:16 +09:30
[node name="viewport_audio_renderer" type="Viewport" parent="."]
size = Vector2( 4096, 4096 )
size_override_stretch = true
transparent_bg = true
handle_input_locally = false
hdr = false
render_target_update_mode = 3
[node name="audio_renderer" type="Control" parent="viewport_audio_renderer"]
unique_name_in_owner = true
material = SubResource( 2 )
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 3 )
2023-08-23 17:26:16 +09:30
[node name="inst_buttons" type="ReferenceRect" parent="."]
margin_right = 348.0
margin_bottom = 118.0
[node name="sfx_buttons" type="ReferenceRect" parent="."]
margin_top = 130.0
margin_right = 198.0
margin_bottom = 176.0
[node name="sb_bgm" type="SpinBox" parent="."]
margin_top = 192.0
margin_right = 38.0
margin_bottom = 216.0
2023-08-23 17:26:16 +09:30
rect_min_size = Vector2( 38, 0 )
align = 2
[node name="btn_bgm" type="Button" parent="."]
margin_left = 40.0
margin_top = 192.0
margin_right = 102.0
margin_bottom = 216.0
2023-08-23 17:26:16 +09:30
text = "Play BGM"
[node name="btn_stop" type="Button" parent="."]
margin_left = 320.0
margin_top = 192.0
margin_right = 374.0
margin_bottom = 216.0
text = "Stop All"
[node name="btn_hack_loop_extension" type="CheckBox" parent="."]
margin_left = 105.0
margin_top = 192.0
margin_right = 315.0
margin_bottom = 216.0
theme = ExtResource( 2 )
pressed = true
text = "HACK: Loop Extension"