-
Notifications
You must be signed in to change notification settings - Fork 1
/
bg_music_player.tscn
95 lines (87 loc) · 2.83 KB
/
bg_music_player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[gd_scene load_steps=10 format=3 uid="uid://bk0lrc81wxldg"]
[ext_resource type="AudioStream" uid="uid://cuaysee0kd0ud" path="res://music/01 - Dynamic Horizon.mp3" id="1_mt1in"]
[ext_resource type="AudioStream" uid="uid://c4kuo27si26h6" path="res://music/02 - Dynamic Daydreams.mp3" id="2_1b727"]
[ext_resource type="AudioStream" uid="uid://dem0vo86xhv67" path="res://music/03 - Dynamic School Days.mp3" id="3_1li5b"]
[ext_resource type="AudioStream" uid="uid://b2kr2ct2ebujb" path="res://music/04 - After School.mp3" id="4_tqqtd"]
[ext_resource type="AudioStream" uid="uid://d20v8kwl4tki1" path="res://music/05 - DownTempo Avenue.mp3" id="5_tc7fk"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_rnirm"]
streams_count = 5
random_pitch = 1.0
random_volume_offset_db = 0.0
stream_0/stream = ExtResource("1_mt1in")
stream_0/weight = 1.0
stream_1/stream = ExtResource("2_1b727")
stream_1/weight = 1.0
stream_2/stream = ExtResource("3_1li5b")
stream_2/weight = 1.0
stream_3/stream = ExtResource("4_tqqtd")
stream_3/weight = 1.0
stream_4/stream = ExtResource("5_tc7fk")
stream_4/weight = 1.0
[sub_resource type="Animation" id="Animation_3h5s0"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-6.021]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_eg6uw"]
resource_name = "play"
length = 3.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-80.0, -6.021]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7a4dh"]
_data = {
"RESET": SubResource("Animation_3h5s0"),
"play": SubResource("Animation_eg6uw")
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer"]
stream = SubResource("AudioStreamRandomizer_rnirm")
volume_db = -6.021
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "play"
libraries = {
"": SubResource("AnimationLibrary_7a4dh")
}
[connection signal="finished" from="." to="." method="play"]