forked from junh1024/Reaper-Surround
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1oA 3D cube decoder v2.txt
32 lines (23 loc) · 1023 Bytes
/
1oA 3D cube decoder v2.txt
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
desc: based on http://www.blueripplesound.com/decoding
@sample
W=spl0 *0.75 ;
X=spl1 ;
Y=spl2 ;
Z=spl3 ;
// W In X In Y In Z In
// Front Lower Left 0.1768 0.0722 0.0722 -0.0722
// Front Lower Right 0.1768 0.0722 -0.0722 -0.0722
// Back Lower Left 0.1768 -0.0722 0.0722 -0.0722
// Back Lower Right 0.1768 -0.0722 -0.0722 -0.0722
// Front Upper Left 0.1768 0.0722 0.0722 0.0722
// Front Upper Right 0.1768 0.0722 -0.0722 0.0722
// Back Upper Left 0.1768 -0.0722 0.0722 0.0722
// Back Upper Right 0.1768 -0.0722 -0.0722 0.0722
spl0=0.1768*W+ 0.0722*X+ 0.0722*Y+ -0.0722 *Z ;
spl1=0.1768*W+ 0.0722*X+ -0.0722*Y+ -0.0722 *Z ;
spl2=0.1768*W+-0.0722*X+ 0.0722*Y+ -0.0722 *Z ;
spl3=0.1768*W+-0.0722*X+ -0.0722*Y+ -0.0722 *Z ;
spl4=0.1768*W+ 0.0722*X+ 0.0722*Y+ 0.0722 *Z ;
spl5=0.1768*W+ 0.0722*X+ -0.0722*Y+ 0.0722 *Z ;
spl6=0.1768*W+-0.0722*X+ 0.0722*Y+ 0.0722 *Z ;
spl7=0.1768*W+-0.0722*X+ -0.0722*Y+ 0.0722 *Z ;