-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew_script.gd
More file actions
12 lines (10 loc) · 810 Bytes
/
new_script.gd
File metadata and controls
12 lines (10 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
tool
extends EditorScript
var a = [-40, -36.1236, -30.103, -26.5812, -24.0824, -22.1442, -20.5606, -19.2216, -18.0618, -17.0387, -16.1236, -15.2957, -14.54, -13.8447, -13.201, -12.6018, -12.0412, -11.5146, -11.0181, -10.5485, -10.103, -9.67921, -9.27515, -8.88904, -8.51937, -8.1648, -7.82413, -7.49632, -7.18044, -6.87564, -6.58117, -6.29637, -6.0206, -5.75332, -5.49402, -5.24224, -4.99755, -4.75956, -4.52793, -4.30231, -4.0824, -3.86792, -3.65861, -3.45423, -3.25455, -3.05935, -2.86844, -2.68164, -2.49877, -2.31968, -2.1442, -1.9722, -1.80353, -1.63808, -1.47572, -1.31635, -1.15984, -1.0061, -0.85504, -0.706559, -0.560574, -0.417003, -0.275766, -0.136788, 0.0]
func _run():
var output = "["
for i in 65:
output += ", " + var2str(linear2db(i/64.0))
output += "]"
print(output)
print(a.size())