main
1desc: MS centre boost
2
3midBoostDB:0.00<-15,15>Mid boost (dB)
4sideBoostDB:2.00<-15,15>Side boost (dB)
5
6
7@init
8midBoostDB = -0.48;
9sideBoostDB = 3.00;
10
11function db2mag(db)
12(
13 pow(10, db / 20);
14);
15function mag2db(mag)
16(
17 20 * log10(mag);
18);
19
20midBoost=db2mag(midBoostDB);
21sideBoost=db2mag(sideBoostDB);
22
23@sample
24mid= (spl0 + spl1) * 0.5;
25side= (spl0 - spl1) * 0.5;
26mid = mid * midBoost;
27side = side * sideBoost;
28spl0 = mid - side;
29spl1 = mid + side;