-
Notifications
You must be signed in to change notification settings - Fork 2
/
MusicViz.tscn
60 lines (46 loc) · 1.86 KB
/
MusicViz.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Wall/Wall.tscn" type="PackedScene" id=1]
[ext_resource path="res://MusicViz.gd" type="Script" id=3]
[ext_resource path="res://HUD/HUD.tscn" type="PackedScene" id=4]
[sub_resource type="AudioStreamMicrophone" id=1]
[sub_resource type="ParticlesMaterial" id=2]
lifetime_randomness = 1.0
emission_shape = 2
emission_box_extents = Vector3( 100, 40, 0.125 )
flag_align_y = true
direction = Vector3( 0, 0, 1 )
spread = 22.76
gravity = Vector3( 0, 0, 0 )
initial_velocity = 5.0
[sub_resource type="SpatialMaterial" id=3]
flags_unshaded = true
vertex_color_use_as_albedo = true
[sub_resource type="CubeMesh" id=4]
material = SubResource( 3 )
size = Vector3( 0.117, 0.121, 0.158 )
[node name="MusicViz" type="Spatial" groups=["MusicViz"]]
script = ExtResource( 3 )
[node name="FreqBars" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 73, 0, -10 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 100, 8, 0 )
current = true
fov = 115.7
size = 20.0
far = 400.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = SubResource( 1 )
autoplay = true
[node name="HUD" parent="." instance=ExtResource( 4 )]
[node name="WallL" parent="." instance=ExtResource( 1 )]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 2.48034, 99.642, -151.132 )
[node name="WallR" parent="." instance=ExtResource( 1 )]
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 200, 100, -150 )
[node name="Particles" type="Particles" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 100, 10, -30 )
amount = 5000
lifetime = 6.0
local_coords = false
process_material = SubResource( 2 )
draw_pass_1 = SubResource( 4 )
[connection signal="finished" from="AudioStreamPlayer" to="." method="_on_AudioStreamPlayer_finished"]