| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830 |
- [gd_scene load_steps=9 format=3 uid="uid://duy5epq25pj8u"]
- [ext_resource type="Script" uid="uid://bifsyv5gxrddm" path="res://scenes/Nodes/inputfile.gd" id="1_8x08j"]
- [ext_resource type="PackedScene" uid="uid://csapiqka522fh" path="res://scenes/Nodes/audioplayer.tscn" id="2_b6nw4"]
- [ext_resource type="Script" uid="uid://cqwwhjwatkghf" path="res://scenes/Nodes/outputfile.gd" id="3_0jqh0"]
- [ext_resource type="Script" uid="uid://cdbx1dt3ohqte" path="res://scenes/Nodes/node_logic.gd" id="3_uv17x"]
- [ext_resource type="Script" uid="uid://cy8x5wubj2kr6" path="res://scenes/Nodes/notes_to_hz.gd" id="4_0jqh0"]
- [ext_resource type="FontFile" uid="uid://bfnlymfdfb0e7" path="res://theme/BravuraText_SoundThread.otf" id="5_0jqh0"]
- [ext_resource type="Script" uid="uid://cuk68115uw1ge" path="res://scenes/Nodes/convert_time.gd" id="7_w2x51"]
- [ext_resource type="Script" uid="uid://catbcnplcacvv" path="res://scenes/Nodes/calculator.gd" id="8_5syjs"]
- [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
- [node name="inputfile" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 21.0
- offset_top = 6.0
- offset_right = 449.0
- offset_bottom = 236.0
- tooltip_text = "Stores your input file to be processed. Supports mono and stereo .wav files."
- title = "Input File"
- slot/0/left_enabled = false
- slot/0/left_type = 0
- slot/0/left_color = Color(1, 1, 1, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = true
- slot/0/right_type = 0
- slot/0/right_color = Color(1, 1, 1, 0.564706)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- slot/1/left_enabled = false
- slot/1/left_type = 0
- slot/1/left_color = Color(1, 1, 1, 1)
- slot/1/left_icon = null
- slot/1/right_enabled = false
- slot/1/right_type = 0
- slot/1/right_color = Color(1, 1, 1, 1)
- slot/1/right_icon = null
- slot/1/draw_stylebox = true
- script = ExtResource("1_8x08j")
- metadata/command = "inputfile"
- metadata/input = true
- [node name="Control" type="Control" parent="inputfile"]
- layout_mode = 2
- [node name="AudioPlayer" parent="inputfile" groups=["inputnode"] instance=ExtResource("2_b6nw4")]
- layout_mode = 2
- metadata/loadenable = true
- metadata/inputfunction = "audioplayer"
- [node name="preview" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 26.0
- offset_top = 283.0
- offset_right = 454.0
- offset_bottom = 513.0
- tooltip_text = "Stores your input file to be processed. Supports mono and stereo .wav files."
- title = "Preview"
- slot/0/left_enabled = true
- slot/0/left_type = 0
- slot/0/left_color = Color(1, 1, 1, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 0
- slot/0/right_color = Color(1, 1, 1, 0.564706)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- slot/1/left_enabled = false
- slot/1/left_type = 0
- slot/1/left_color = Color(1, 1, 1, 1)
- slot/1/left_icon = null
- slot/1/right_enabled = false
- slot/1/right_type = 0
- slot/1/right_color = Color(1, 1, 1, 1)
- slot/1/right_icon = null
- slot/1/draw_stylebox = true
- script = ExtResource("3_uv17x")
- metadata/command = "preview"
- metadata/input = false
- [node name="Control" type="Control" parent="preview"]
- layout_mode = 2
- [node name="AudioPlayer" parent="preview" groups=["inputnode"] instance=ExtResource("2_b6nw4")]
- layout_mode = 2
- metadata/inputfunction = "audioplayer"
- [node name="outputfile" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 523.0
- offset_top = 6.0
- offset_right = 954.0
- offset_bottom = 519.0
- tooltip_text = "Handles everything to do with audio output. "
- title = "Output File"
- slot/0/left_enabled = true
- slot/0/left_type = 0
- slot/0/left_color = Color(1, 1, 1, 0.564706)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 0
- slot/0/right_color = Color(1, 1, 1, 1)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- slot/1/left_enabled = false
- slot/1/left_type = 0
- slot/1/left_color = Color(1, 1, 1, 1)
- slot/1/left_icon = null
- slot/1/right_enabled = false
- slot/1/right_type = 0
- slot/1/right_color = Color(1, 1, 1, 1)
- slot/1/right_icon = null
- slot/1/draw_stylebox = true
- slot/2/left_enabled = false
- slot/2/left_type = 0
- slot/2/left_color = Color(1, 1, 1, 1)
- slot/2/left_icon = null
- slot/2/right_enabled = false
- slot/2/right_type = 0
- slot/2/right_color = Color(1, 1, 1, 1)
- slot/2/right_icon = null
- slot/2/draw_stylebox = true
- slot/3/left_enabled = false
- slot/3/left_type = 0
- slot/3/left_color = Color(1, 1, 1, 1)
- slot/3/left_icon = null
- slot/3/right_enabled = false
- slot/3/right_type = 0
- slot/3/right_color = Color(1, 1, 1, 1)
- slot/3/right_icon = null
- slot/3/draw_stylebox = true
- slot/4/left_enabled = false
- slot/4/left_type = 0
- slot/4/left_color = Color(1, 1, 1, 1)
- slot/4/left_icon = null
- slot/4/right_enabled = false
- slot/4/right_type = 0
- slot/4/right_color = Color(1, 1, 1, 1)
- slot/4/right_icon = null
- slot/4/draw_stylebox = true
- slot/5/left_enabled = false
- slot/5/left_type = 0
- slot/5/left_color = Color(1, 1, 1, 1)
- slot/5/left_icon = null
- slot/5/right_enabled = false
- slot/5/right_type = 0
- slot/5/right_color = Color(1, 1, 1, 1)
- slot/5/right_icon = null
- slot/5/draw_stylebox = true
- slot/6/left_enabled = false
- slot/6/left_type = 0
- slot/6/left_color = Color(1, 1, 1, 1)
- slot/6/left_icon = null
- slot/6/right_enabled = false
- slot/6/right_type = 0
- slot/6/right_color = Color(1, 1, 1, 1)
- slot/6/right_icon = null
- slot/6/draw_stylebox = true
- slot/7/left_enabled = false
- slot/7/left_type = 0
- slot/7/left_color = Color(1, 1, 1, 1)
- slot/7/left_icon = null
- slot/7/right_enabled = false
- slot/7/right_type = 0
- slot/7/right_color = Color(1, 1, 1, 1)
- slot/7/right_icon = null
- slot/7/draw_stylebox = true
- slot/8/left_enabled = false
- slot/8/left_type = 0
- slot/8/left_color = Color(1, 1, 1, 1)
- slot/8/left_icon = null
- slot/8/right_enabled = false
- slot/8/right_type = 0
- slot/8/right_color = Color(1, 1, 1, 1)
- slot/8/right_icon = null
- slot/8/draw_stylebox = true
- slot/9/left_enabled = false
- slot/9/left_type = 0
- slot/9/left_color = Color(1, 1, 1, 1)
- slot/9/left_icon = null
- slot/9/right_enabled = false
- slot/9/right_type = 0
- slot/9/right_color = Color(1, 1, 1, 1)
- slot/9/right_icon = null
- slot/9/draw_stylebox = true
- slot/10/left_enabled = false
- slot/10/left_type = 0
- slot/10/left_color = Color(1, 1, 1, 1)
- slot/10/left_icon = null
- slot/10/right_enabled = false
- slot/10/right_type = 0
- slot/10/right_color = Color(1, 1, 1, 1)
- slot/10/right_icon = null
- slot/10/draw_stylebox = true
- slot/11/left_enabled = false
- slot/11/left_type = 0
- slot/11/left_color = Color(1, 1, 1, 1)
- slot/11/left_icon = null
- slot/11/right_enabled = false
- slot/11/right_type = 0
- slot/11/right_color = Color(1, 1, 1, 1)
- slot/11/right_icon = null
- slot/11/draw_stylebox = true
- slot/12/left_enabled = false
- slot/12/left_type = 0
- slot/12/left_color = Color(1, 1, 1, 1)
- slot/12/left_icon = null
- slot/12/right_enabled = false
- slot/12/right_type = 0
- slot/12/right_color = Color(1, 1, 1, 1)
- slot/12/right_icon = null
- slot/12/draw_stylebox = true
- script = ExtResource("3_0jqh0")
- metadata/command = "outputfile"
- metadata/utility = true
- metadata/input = false
- [node name="Control" type="Control" parent="outputfile"]
- layout_mode = 2
- [node name="Label2" type="Label" parent="outputfile"]
- layout_mode = 2
- text = "File Name:"
- [node name="MarginContainer5" type="MarginContainer" parent="outputfile"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="FileNameField" type="LineEdit" parent="outputfile" groups=["outputnode"]]
- layout_mode = 2
- tooltip_text = "Your output file name."
- metadata/outputfunction = "filename"
- [node name="MarginContainer3" type="MarginContainer" parent="outputfile"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 5
- [node name="RunProcess" type="Button" parent="outputfile" groups=["outputnode"]]
- custom_minimum_size = Vector2(0, 43)
- layout_mode = 2
- tooltip_text = "Runs the CDP commands in the thread."
- text = "Run Thread"
- metadata/outputfunction = "runprocess"
- [node name="DeleteIntermediateFilesToggle" type="CheckButton" parent="outputfile" groups=["outputnode"]]
- custom_minimum_size = Vector2(0, 43)
- layout_mode = 2
- tooltip_text = "SoundThread makes a lot of files. When toggled on this deletes everything but the output file."
- text = "Delete Intermediate Files"
- expand_icon = true
- metadata/outputfunction = "deleteintermediate"
- [node name="ReuseFolderToggle" type="CheckButton" parent="outputfile" groups=["outputnode"]]
- custom_minimum_size = Vector2(0, 43)
- layout_mode = 2
- tooltip_text = "Stops you from being prompted for new folder each time you run a thread."
- text = "Reuse Last Output Folder"
- expand_icon = true
- metadata/outputfunction = "reusefolder"
- [node name="OpenOutputFolder" type="Button" parent="outputfile" groups=["outputnode"]]
- custom_minimum_size = Vector2(0, 43)
- layout_mode = 2
- tooltip_text = "Opens the folder on your computer where the output file is saved."
- text = "Open Folder"
- metadata/outputfunction = "openfolder"
- [node name="MarginContainer2" type="MarginContainer" parent="outputfile"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 5
- [node name="HBoxContainer" type="HBoxContainer" parent="outputfile"]
- layout_mode = 2
- [node name="Label" type="Label" parent="outputfile/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "Rendered Output File:"
- [node name="Autoplay" type="CheckButton" parent="outputfile/HBoxContainer" groups=["outputnode"]]
- layout_mode = 2
- text = "Autoplay"
- [node name="MarginContainer4" type="MarginContainer" parent="outputfile"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="AudioPlayer" parent="outputfile" groups=["outputnode"] instance=ExtResource("2_b6nw4")]
- layout_mode = 2
- metadata/outputfunction = "audioplayer"
- [node name="notes" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 1042.0
- offset_top = 32.0
- offset_right = 1425.0
- offset_bottom = 329.0
- tooltip_text = "A node just for taking notes."
- title = "Notes"
- slot/0/left_enabled = false
- slot/0/left_type = 1
- slot/0/left_color = Color(0, 0, 0, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 1
- slot/0/right_color = Color(0, 0, 0, 1)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- script = ExtResource("3_uv17x")
- metadata/command = "notes"
- metadata/utility = true
- metadata/input = false
- [node name="CodeEdit" type="CodeEdit" parent="notes"]
- custom_minimum_size = Vector2(0, 10)
- layout_mode = 2
- size_flags_vertical = 3
- wrap_mode = 1
- [node name="note_to_hz" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 1528.0
- offset_top = 31.0
- offset_right = 1911.0
- offset_bottom = 257.0
- tooltip_text = "Converts from a musical note to Hz"
- title = "Convert Note to Hz"
- slot/0/left_enabled = false
- slot/0/left_type = 1
- slot/0/left_color = Color(0, 0, 0, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 1
- slot/0/right_color = Color(0, 0, 0, 1)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- slot/1/left_enabled = false
- slot/1/left_type = 0
- slot/1/left_color = Color(1, 1, 1, 1)
- slot/1/left_icon = null
- slot/1/right_enabled = false
- slot/1/right_type = 0
- slot/1/right_color = Color(1, 1, 1, 1)
- slot/1/right_icon = null
- slot/1/draw_stylebox = true
- slot/2/left_enabled = false
- slot/2/left_type = 0
- slot/2/left_color = Color(1, 1, 1, 1)
- slot/2/left_icon = null
- slot/2/right_enabled = false
- slot/2/right_type = 0
- slot/2/right_color = Color(1, 1, 1, 1)
- slot/2/right_icon = null
- slot/2/draw_stylebox = true
- script = ExtResource("4_0jqh0")
- metadata/command = "note_to_hz"
- metadata/utility = true
- metadata/input = false
- [node name="Note" type="ItemList" parent="note_to_hz"]
- layout_mode = 2
- theme_override_font_sizes/font_size = 20
- allow_search = false
- auto_height = true
- item_count = 7
- max_columns = 7
- same_column_width = true
- fixed_column_width = 45
- icon_mode = 0
- item_0/text = "A"
- item_1/text = "B"
- item_2/text = "C"
- item_3/text = "D"
- item_4/text = "E"
- item_5/text = "F"
- item_6/text = "G"
- [node name="Accidental" type="ItemList" parent="note_to_hz"]
- custom_minimum_size = Vector2(0, 40)
- layout_mode = 2
- theme_override_fonts/font = ExtResource("5_0jqh0")
- theme_override_font_sizes/font_size = 30
- allow_search = false
- auto_height = true
- item_count = 7
- max_columns = 7
- same_column_width = true
- fixed_column_width = 45
- icon_mode = 0
- item_0/text = ""
- item_1/text = ""
- item_2/text = ""
- item_3/text = ""
- item_4/text = ""
- item_5/text = ""
- item_6/text = ""
- [node name="FreqOutput" type="CodeEdit" parent="note_to_hz"]
- custom_minimum_size = Vector2(0, 10)
- layout_mode = 2
- size_flags_vertical = 3
- editable = false
- wrap_mode = 1
- [node name="convert_time" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 1982.0
- offset_top = 34.0
- offset_right = 2365.0
- offset_bottom = 330.0
- tooltip_text = "Converts between various units of time"
- title = "Convert Time Units"
- slot/0/left_enabled = false
- slot/0/left_type = 1
- slot/0/left_color = Color(0, 0, 0, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 1
- slot/0/right_color = Color(0, 0, 0, 1)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- script = ExtResource("7_w2x51")
- metadata/command = "convert_time"
- metadata/utility = true
- metadata/input = false
- [node name="VBoxContainer" type="VBoxContainer" parent="convert_time"]
- layout_mode = 2
- [node name="HBoxContainer" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Milliseconds"
- [node name="MsEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time in ms"
- [node name="MarginContainer5" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer2" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer2"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Seconds"
- [node name="SEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer2"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time in seconds"
- [node name="MarginContainer4" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer7" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer7"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "1/4 Notes"
- [node name="CrotchetEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer7"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time as a number of 1/4 notes at the given BPM"
- [node name="Label2" type="Label" parent="convert_time/VBoxContainer/HBoxContainer7"]
- layout_mode = 2
- text = "at"
- [node name="BPMEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer7"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The BPM to calculate 1/4 notes at"
- [node name="MarginContainer6" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer3" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer3"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Hertz"
- [node name="HzEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer3"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time in Hz"
- [node name="MarginContainer3" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer4" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer4"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "MIDI Note"
- [node name="MIDIEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer4"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time as a MIDI note number"
- [node name="MarginContainer2" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer5" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer5"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Samples"
- [node name="SampleNoEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time as a number of samples at the given sample rate"
- [node name="Label2" type="Label" parent="convert_time/VBoxContainer/HBoxContainer5"]
- layout_mode = 2
- text = "at"
- [node name="SampleRateEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The sample rate to calculate samples at"
- [node name="MarginContainer" type="MarginContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 2
- [node name="HBoxContainer6" type="HBoxContainer" parent="convert_time/VBoxContainer"]
- layout_mode = 2
- [node name="Label" type="Label" parent="convert_time/VBoxContainer/HBoxContainer6"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "% of Time (s)"
- [node name="PercentEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer6"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time as a percentage of the given time in seconds"
- [node name="Label3" type="Label" parent="convert_time/VBoxContainer/HBoxContainer6"]
- layout_mode = 2
- text = "of"
- [node name="LengthEdit" type="LineEdit" parent="convert_time/VBoxContainer/HBoxContainer6"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "The length of time in seconds to a percentage of"
- [node name="calculator" type="GraphNode" parent="."]
- layout_mode = 0
- offset_left = 2453.0
- offset_top = 33.0
- offset_right = 2836.0
- offset_bottom = 330.0
- tooltip_text = "A simple calculator for quick maths"
- title = "Calculator"
- slot/0/left_enabled = false
- slot/0/left_type = 1
- slot/0/left_color = Color(0, 0, 0, 1)
- slot/0/left_icon = null
- slot/0/right_enabled = false
- slot/0/right_type = 1
- slot/0/right_color = Color(0, 0, 0, 1)
- slot/0/right_icon = null
- slot/0/draw_stylebox = true
- slot/1/left_enabled = false
- slot/1/left_type = 0
- slot/1/left_color = Color(1, 1, 1, 1)
- slot/1/left_icon = null
- slot/1/right_enabled = false
- slot/1/right_type = 0
- slot/1/right_color = Color(1, 1, 1, 1)
- slot/1/right_icon = null
- slot/1/draw_stylebox = true
- slot/2/left_enabled = false
- slot/2/left_type = 0
- slot/2/left_color = Color(1, 1, 1, 1)
- slot/2/left_icon = null
- slot/2/right_enabled = false
- slot/2/right_type = 0
- slot/2/right_color = Color(1, 1, 1, 1)
- slot/2/right_icon = null
- slot/2/draw_stylebox = true
- slot/3/left_enabled = false
- slot/3/left_type = 0
- slot/3/left_color = Color(1, 1, 1, 1)
- slot/3/left_icon = null
- slot/3/right_enabled = false
- slot/3/right_type = 0
- slot/3/right_color = Color(1, 1, 1, 1)
- slot/3/right_icon = null
- slot/3/draw_stylebox = true
- slot/4/left_enabled = false
- slot/4/left_type = 0
- slot/4/left_color = Color(1, 1, 1, 1)
- slot/4/left_icon = null
- slot/4/right_enabled = false
- slot/4/right_type = 0
- slot/4/right_color = Color(1, 1, 1, 1)
- slot/4/right_icon = null
- slot/4/draw_stylebox = true
- slot/5/left_enabled = false
- slot/5/left_type = 0
- slot/5/left_color = Color(1, 1, 1, 1)
- slot/5/left_icon = null
- slot/5/right_enabled = false
- slot/5/right_type = 0
- slot/5/right_color = Color(1, 1, 1, 1)
- slot/5/right_icon = null
- slot/5/draw_stylebox = true
- slot/6/left_enabled = false
- slot/6/left_type = 0
- slot/6/left_color = Color(1, 1, 1, 1)
- slot/6/left_icon = null
- slot/6/right_enabled = false
- slot/6/right_type = 0
- slot/6/right_color = Color(1, 1, 1, 1)
- slot/6/right_icon = null
- slot/6/draw_stylebox = true
- script = ExtResource("8_5syjs")
- metadata/command = "calculator"
- metadata/utility = true
- metadata/input = false
- [node name="Screen" type="CodeEdit" parent="calculator"]
- custom_minimum_size = Vector2(0, 100)
- layout_mode = 2
- theme_override_font_sizes/font_size = 25
- editable = false
- [node name="MarginContainer7" type="MarginContainer" parent="calculator"]
- layout_mode = 2
- theme_override_constants/margin_bottom = 4
- [node name="HBoxContainer" type="HBoxContainer" parent="calculator"]
- custom_minimum_size = Vector2(0, 50)
- layout_mode = 2
- [node name="Button" type="Button" parent="calculator/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "("
- metadata/calc = "("
- [node name="Button2" type="Button" parent="calculator/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = ")"
- metadata/calc = ")"
- [node name="Button3" type="Button" parent="calculator/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "C"
- metadata/calc = "clear"
- [node name="Button4" type="Button" parent="calculator/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "⌫"
- metadata/calc = "del"
- [node name="HBoxContainer5" type="HBoxContainer" parent="calculator"]
- custom_minimum_size = Vector2(0, 50)
- layout_mode = 2
- [node name="Button" type="Button" parent="calculator/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "7"
- metadata/calc = "7"
- [node name="Button2" type="Button" parent="calculator/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "8"
- metadata/calc = "8"
- [node name="Button3" type="Button" parent="calculator/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "9"
- metadata/calc = "9"
- [node name="Button4" type="Button" parent="calculator/HBoxContainer5"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "÷"
- metadata/calc = "/"
- [node name="HBoxContainer2" type="HBoxContainer" parent="calculator"]
- custom_minimum_size = Vector2(0, 50)
- layout_mode = 2
- [node name="Button" type="Button" parent="calculator/HBoxContainer2"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "4"
- metadata/calc = "4"
- [node name="Button2" type="Button" parent="calculator/HBoxContainer2"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "5"
- metadata/calc = "5"
- [node name="Button3" type="Button" parent="calculator/HBoxContainer2"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "6"
- metadata/calc = "6"
- [node name="Button4" type="Button" parent="calculator/HBoxContainer2"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "×"
- metadata/calc = "*"
- [node name="HBoxContainer3" type="HBoxContainer" parent="calculator"]
- custom_minimum_size = Vector2(0, 50)
- layout_mode = 2
- [node name="Button" type="Button" parent="calculator/HBoxContainer3"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "1"
- metadata/calc = "1"
- [node name="Button2" type="Button" parent="calculator/HBoxContainer3"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "2"
- metadata/calc = "2"
- [node name="Button3" type="Button" parent="calculator/HBoxContainer3"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "3"
- metadata/calc = "3"
- [node name="Button4" type="Button" parent="calculator/HBoxContainer3"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "-"
- metadata/calc = "-"
- [node name="HBoxContainer4" type="HBoxContainer" parent="calculator"]
- custom_minimum_size = Vector2(0, 50)
- layout_mode = 2
- [node name="Button" type="Button" parent="calculator/HBoxContainer4"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "0"
- metadata/calc = "0"
- [node name="Button2" type="Button" parent="calculator/HBoxContainer4"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "."
- metadata/calc = "."
- [node name="Button3" type="Button" parent="calculator/HBoxContainer4"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "="
- metadata/calc = "="
- [node name="Button4" type="Button" parent="calculator/HBoxContainer4"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "+"
- metadata/calc = "+"
- [connection signal="text_submitted" from="outputfile/FileNameField" to="outputfile" method="_on_file_name_field_text_submitted"]
- [connection signal="toggled" from="outputfile/DeleteIntermediateFilesToggle" to="outputfile" method="_on_delete_intermediate_files_toggle_toggled"]
- [connection signal="toggled" from="outputfile/ReuseFolderToggle" to="outputfile" method="_on_reuse_folder_toggle_toggled"]
- [connection signal="toggled" from="outputfile/HBoxContainer/Autoplay" to="outputfile" method="_on_autoplay_toggled"]
- [connection signal="item_selected" from="note_to_hz/Note" to="note_to_hz" method="_on_item_list_item_selected"]
- [connection signal="item_selected" from="note_to_hz/Accidental" to="note_to_hz" method="_on_item_list_2_item_selected"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer/MsEdit" to="convert_time" method="_on_ms_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer/MsEdit" to="convert_time" method="_on_ms_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer2/SEdit" to="convert_time" method="_on_s_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer2/SEdit" to="convert_time" method="_on_s_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer7/CrotchetEdit" to="convert_time" method="_on_crotchet_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer7/CrotchetEdit" to="convert_time" method="_on_crotchet_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer7/BPMEdit" to="convert_time" method="_on_bpm_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer7/BPMEdit" to="convert_time" method="_on_bpm_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer3/HzEdit" to="convert_time" method="_on_hz_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer3/HzEdit" to="convert_time" method="_on_hz_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer4/MIDIEdit" to="convert_time" method="_on_midi_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer4/MIDIEdit" to="convert_time" method="_on_midi_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer5/SampleNoEdit" to="convert_time" method="_on_sample_no_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer5/SampleNoEdit" to="convert_time" method="_on_sample_no_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer5/SampleRateEdit" to="convert_time" method="_on_sample_rate_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer5/SampleRateEdit" to="convert_time" method="_on_sample_rate_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer6/PercentEdit" to="convert_time" method="_on_percent_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer6/PercentEdit" to="convert_time" method="_on_percent_edit_text_submitted"]
- [connection signal="focus_exited" from="convert_time/VBoxContainer/HBoxContainer6/LengthEdit" to="convert_time" method="_on_length_edit_focus_exited"]
- [connection signal="text_submitted" from="convert_time/VBoxContainer/HBoxContainer6/LengthEdit" to="convert_time" method="_on_length_edit_text_submitted"]
|