OmnichordGodot/scenes/Omnichord.tscn
2024-06-26 23:49:24 -03:00

414 lines
10 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://b4fgp0mhbgkfw"]
[ext_resource type="Script" path="res://scripts/StopController.gd" id="1_5jtep"]
[ext_resource type="Script" path="res://scripts/RhythmController.gd" id="2_3cx1r"]
[ext_resource type="Script" path="res://scripts/LoopController.gd" id="3_5v5ci"]
[ext_resource type="Script" path="res://scripts/ChordController.gd" id="4_xrjq4"]
[ext_resource type="Script" path="res://scripts/NoteController.gd" id="5_x2vij"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="NotePlayer" type="AudioStreamPlayer" parent="."]
max_polyphony = 2
[node name="ChordPlayer" type="AudioStreamPlayer" parent="."]
[node name="RhythmPlayer" type="AudioStreamPlayer" parent="."]
[node name="App" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -262.5
offset_top = -70.0
offset_right = 262.5
offset_bottom = 70.0
grow_horizontal = 2
grow_vertical = 2
[node name="Sliders" type="HBoxContainer" parent="App"]
layout_mode = 2
[node name="GridContainer" type="GridContainer" parent="App/Sliders"]
layout_mode = 2
[node name="HSlider" type="HSlider" parent="App/Sliders/GridContainer"]
layout_mode = 2
[node name="Buttons" type="HBoxContainer" parent="App"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="RhythmControls" type="VBoxContainer" parent="App/Buttons"]
layout_mode = 2
[node name="Stop" type="Button" parent="App/Buttons/RhythmControls"]
layout_mode = 2
text = "Stop"
script = ExtResource("1_5jtep")
[node name="Rhythm" type="GridContainer" parent="App/Buttons/RhythmControls"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
columns = 2
[node name="rock" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Rock"
script = ExtResource("2_3cx1r")
[node name="waltz" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Waltz"
script = ExtResource("2_3cx1r")
[node name="slowrock" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Slow Rock"
script = ExtResource("2_3cx1r")
[node name="latin" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Latin"
script = ExtResource("2_3cx1r")
[node name="foxtrot" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Fox Trot"
script = ExtResource("2_3cx1r")
[node name="swing" type="Button" parent="App/Buttons/RhythmControls/Rhythm"]
layout_mode = 2
text = "Swing"
script = ExtResource("2_3cx1r")
[node name="Chords" type="GridContainer" parent="App/Buttons"]
layout_mode = 2
columns = 10
[node name="Loop" type="CheckButton" parent="App/Buttons/Chords"]
layout_mode = 2
text = "Loop"
script = ExtResource("3_5v5ci")
[node name="Eb" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "Eb"
[node name="Bb" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "Bb"
[node name="F" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "F"
[node name="C" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "C"
[node name="G" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "G"
[node name="D" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "D"
[node name="A" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "A"
[node name="E" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "E"
[node name="B" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
text = "B"
[node name="Major" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 4
text = "Major"
[node name="eb" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Q"
script = ExtResource("4_xrjq4")
[node name="bb" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "W"
script = ExtResource("4_xrjq4")
[node name="f" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "E"
script = ExtResource("4_xrjq4")
[node name="c" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "R "
script = ExtResource("4_xrjq4")
[node name="g" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "T"
script = ExtResource("4_xrjq4")
[node name="d" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Y"
script = ExtResource("4_xrjq4")
[node name="a" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "U"
script = ExtResource("4_xrjq4")
[node name="e" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "I"
script = ExtResource("4_xrjq4")
[node name="b" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "O"
script = ExtResource("4_xrjq4")
[node name="Minor" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 4
text = "Minor
"
[node name="ebm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "A"
script = ExtResource("4_xrjq4")
[node name="bbm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "S"
script = ExtResource("4_xrjq4")
[node name="fm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "D"
script = ExtResource("4_xrjq4")
[node name="cm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "F"
script = ExtResource("4_xrjq4")
[node name="gm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "G"
script = ExtResource("4_xrjq4")
[node name="dm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "H"
script = ExtResource("4_xrjq4")
[node name="am" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "J"
script = ExtResource("4_xrjq4")
[node name="em" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "K"
script = ExtResource("4_xrjq4")
[node name="bm" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "L"
script = ExtResource("4_xrjq4")
[node name="7th" type="Label" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 4
text = "7th
"
[node name="eb7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Z"
script = ExtResource("4_xrjq4")
[node name="bb7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "X"
script = ExtResource("4_xrjq4")
[node name="f7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "C"
script = ExtResource("4_xrjq4")
[node name="c7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "V"
script = ExtResource("4_xrjq4")
[node name="g7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "B"
script = ExtResource("4_xrjq4")
[node name="d7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "N"
script = ExtResource("4_xrjq4")
[node name="a7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "M"
script = ExtResource("4_xrjq4")
[node name="e7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = ","
script = ExtResource("4_xrjq4")
[node name="b7" type="Button" parent="App/Buttons/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "."
script = ExtResource("4_xrjq4")
[node name="Notes" type="GridContainer" parent="App/Buttons"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
columns = 3
[node name="11" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "/"
script = ExtResource("5_x2vij")
[node name="10" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "*"
script = ExtResource("5_x2vij")
[node name="9" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "-"
script = ExtResource("5_x2vij")
[node name="6" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "7"
script = ExtResource("5_x2vij")
[node name="7" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "8"
script = ExtResource("5_x2vij")
[node name="8" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "9"
script = ExtResource("5_x2vij")
[node name="3" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "4"
script = ExtResource("5_x2vij")
[node name="4" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "5"
script = ExtResource("5_x2vij")
[node name="5" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "6"
script = ExtResource("5_x2vij")
[node name="0" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "1"
script = ExtResource("5_x2vij")
[node name="1" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "2"
script = ExtResource("5_x2vij")
[node name="2" type="Button" parent="App/Buttons/Notes"]
layout_mode = 2
text = "3"
script = ExtResource("5_x2vij")