OmnichordGodot/Omnichord.tscn

385 lines
8.7 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://b4fgp0mhbgkfw"]
[ext_resource type="Script" path="res://RhythmController.gd" id="1_judyc"]
[ext_resource type="Script" path="res://ChordController.gd" id="2_ha4gq"]
[ext_resource type="Script" path="res://NoteController.gd" id="2_w8g0m"]
[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="Player" type="HBoxContainer" 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 = -250.0
offset_top = -68.0
offset_right = 250.0
offset_bottom = 68.0
grow_horizontal = 2
grow_vertical = 2
[node name="Rhythm" type="GridContainer" parent="Player"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
columns = 2
[node name="rock" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Rock"
script = ExtResource("1_judyc")
[node name="waltz" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Waltz"
script = ExtResource("1_judyc")
[node name="slowrock" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Slow Rock"
script = ExtResource("1_judyc")
[node name="latin" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Latin"
script = ExtResource("1_judyc")
[node name="foxtrot" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Fox Trot"
script = ExtResource("1_judyc")
[node name="swing" type="Button" parent="Player/Rhythm"]
layout_mode = 2
text = "Swing"
script = ExtResource("1_judyc")
[node name="Chords" type="GridContainer" parent="Player"]
layout_mode = 2
columns = 10
[node name="Corner" type="Control" parent="Player/Chords"]
layout_mode = 2
[node name="Eb" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "Eb"
[node name="Bb" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "Bb"
[node name="F" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "F"
[node name="C" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "C"
[node name="G" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "G"
[node name="D" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "D"
[node name="A" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "A"
[node name="E" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "E"
[node name="B" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "B"
[node name="Major" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "Major"
[node name="eb" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Q"
script = ExtResource("2_ha4gq")
[node name="bb" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "W"
script = ExtResource("2_ha4gq")
[node name="f" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "E"
script = ExtResource("2_ha4gq")
[node name="c" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "R "
script = ExtResource("2_ha4gq")
[node name="g" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "T"
script = ExtResource("2_ha4gq")
[node name="d" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Y"
script = ExtResource("2_ha4gq")
[node name="a" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "U"
script = ExtResource("2_ha4gq")
[node name="e" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "I"
script = ExtResource("2_ha4gq")
[node name="b" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "O"
script = ExtResource("2_ha4gq")
[node name="Minor" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "Minor
"
[node name="ebm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "A"
script = ExtResource("2_ha4gq")
[node name="bbm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "S"
script = ExtResource("2_ha4gq")
[node name="fm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "D"
script = ExtResource("2_ha4gq")
[node name="cm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "F"
script = ExtResource("2_ha4gq")
[node name="gm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "G"
script = ExtResource("2_ha4gq")
[node name="dm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "H"
script = ExtResource("2_ha4gq")
[node name="am" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "J"
script = ExtResource("2_ha4gq")
[node name="em" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "K"
script = ExtResource("2_ha4gq")
[node name="bm" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "L"
script = ExtResource("2_ha4gq")
[node name="7th" type="Label" parent="Player/Chords"]
layout_mode = 2
text = "7th
"
[node name="eb7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "Z"
script = ExtResource("2_ha4gq")
[node name="bb7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "X"
script = ExtResource("2_ha4gq")
[node name="f7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "C"
script = ExtResource("2_ha4gq")
[node name="c7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "V"
script = ExtResource("2_ha4gq")
[node name="g7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "B"
script = ExtResource("2_ha4gq")
[node name="d7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "N"
script = ExtResource("2_ha4gq")
[node name="a7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "M"
script = ExtResource("2_ha4gq")
[node name="e7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = ","
script = ExtResource("2_ha4gq")
[node name="b7" type="Button" parent="Player/Chords"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
text = "."
script = ExtResource("2_ha4gq")
[node name="Notes" type="GridContainer" parent="Player"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
columns = 3
[node name="11" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "/"
script = ExtResource("2_w8g0m")
[node name="10" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "*"
script = ExtResource("2_w8g0m")
[node name="9" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "-"
script = ExtResource("2_w8g0m")
[node name="6" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "7"
script = ExtResource("2_w8g0m")
[node name="7" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "8"
script = ExtResource("2_w8g0m")
[node name="8" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "9"
script = ExtResource("2_w8g0m")
[node name="3" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "4"
script = ExtResource("2_w8g0m")
[node name="4" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "5"
script = ExtResource("2_w8g0m")
[node name="5" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "6"
script = ExtResource("2_w8g0m")
[node name="0" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "1"
script = ExtResource("2_w8g0m")
[node name="1" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "2"
script = ExtResource("2_w8g0m")
[node name="2" type="Button" parent="Player/Notes"]
layout_mode = 2
text = "3"
script = ExtResource("2_w8g0m")