|
|
声音可以秒杀现有任意kx的混响了(aps,efx之类),但是高频比较粗,本想自己提高精度的,一看资源,mb外存操作已经几乎吃满了(50/64),看来这是emu10k2的极限了,不知emu专业卡的10k2.5有没有提升外存操作能力,把下面的代码存为.da文件即可加载/ N; ]- A# e6 ~
: D3 O3 _+ ?" y# A/ l# l% n6 ]4 A) `+ R# B% M- c
' H% B! _- O8 Fname "superspace mh v1.0";
% V! q$ q" A2 P( K# Icopyright "2009. stylus, http://stylus.siteboard.de"
7 v K+ _" W( ~created ""
- Q3 `5 d. v( X b( I% pengine "kX";
& v) ]4 Q& z" @, ]comment "high end true stereo reverb, medium hall";
* X k! Z5 r8 k% Jguid "32295c17-f0ea-4f2c-b1e2-942e4b4e0f7d";9 X2 P8 Z* _& s
9 Y! u/ X0 ]+ f+ M5 O3 P; late reverb algorithm from freeverb by "Jezar at Dreampoint"; u3 a P/ d5 _
; early reflections from impulse response "lexicon 480l"
, i" P; }6 u! R, S; H: s/ L9 ]+ w; true stereo( y, A$ R% A1 N6 I P
, [0 r. b( g3 Q& F& m, p; registers9 K7 Z5 K8 b0 |% m
input in1, in27 [4 |& H: m4 Z+ N7 [
output out1, out2 / H% E+ M; E# H$ d) {" g6 M. O
static a0a, a1a, a2a, a3a, a4a, a5a, a6a, a7a, b1a, d1a, d2a, d3a, d4a, ea
9 {0 S: B" _! r: o" l- Cstatic a0b, a1b, a2b, a3b, a4b, a5b, a6b, a7b, b1b, d1b, d2b, d3b, d4b, eb5 T* P3 ^. Y& b1 L2 U& Q
static ap_q=0.5, f, ga, gb, h, ina, inb
7 s9 D+ X6 ^8 q! i( Y$ C' n1 Z3 ycontrol input_level=0.7
. e1 [/ K+ Y, ^. {6 Acontrol early_level=0.257 N6 b$ d* @7 B; o- N
control late_decay=0.85. i* e+ b3 \+ q5 b, c
control late_damp=0.95
! T) }1 P" b# \/ m8 Lcontrol late_level=0.75
; Z1 J4 q, `4 `) pcontrol lp_cut=1
* z$ q& l9 c b$ k/ ]8 Fcontrol lp_q=0.31 r/ O7 b7 b1 W7 _# Q
control dry_wet=0.75
8 ` P0 {/ @+ T. D1 }, O# t3 t
2 l. W7 ~& C2 { hxtramsize 27454
3 D f5 ^- }- H# A a9 z0 m
' T* I$ b5 Z8 E+ C6 K9 l) o9 d3 w* g; late reflections iir
5 k1 }/ S7 t& w0 n8 a. w6 w; left
2 A5 p# c3 a& u: }. n4 Pxdelay write wrt0a at 0
; V/ V6 D+ N8 V# D7 U3 b+ Wxdelay read rd0a at 1556* \4 e; f% ~% C& s* C6 [3 [0 Q. [
xdelay write wrt1a at 1557 $ w4 K7 _6 c& ~- O# O0 `" f
xdelay read rd1a at 3173
0 [$ @4 K0 x3 Y/ P( i" n0 c3 ~, Pxdelay write wrt2a at 3174
/ y1 o8 S& m2 a$ e$ r. R9 fxdelay read rd2a at 4664
# z* @# p8 i+ p# J7 mxdelay write wrt3a at 4665 * n$ l- H+ `, E0 P0 x, R
xdelay read rd3a at 6086
" l. a' T; x8 l6 M Hxdelay write wrt4a at 6087 - w; y' \9 i9 q& v
xdelay read rd4a at 7363
3 U G* D" e0 n% D4 J) E- Uxdelay write wrt5a at 7364
9 g4 i5 [! A/ p( Q8 [8 Txdelay read rd5a at 8719
# P3 @' Z5 k9 X9 {xdelay write wrt6a at 8720
3 _4 U7 l, ?# J) qxdelay read rd6a at 9907+ W2 g' _2 U! l3 Z6 D
xdelay write wrt7a at 9908 , M" C$ Z- ]0 x! x! Q6 L8 J
xdelay read rd7a at 11023* `+ h9 ~5 X. _( H/ ^7 s$ V1 H
9 B* [( C! v4 _+ `( Y; right
; {% r( X2 Y% R+ G F$ r' `xdelay write wrt0b at 11024 5 a# F* m9 _! C" V: O4 W" V {& a
xdelay read rd0b at 12603. T6 F4 ^. r' _; [# c
xdelay write wrt1b at 12604 . q1 E! W/ t7 G* x! A+ g
xdelay read rd1b at 142439 p' a! _8 C3 h( H9 s8 l/ u) l% J
xdelay write wrt2b at 14244 $ W( Y4 \( ]* J5 T
xdelay read rd2b at 15757
/ I/ ^; D% b! q( L& K5 K- Pxdelay write wrt3b at 15758
9 L: }& @- _+ K' Y+ }/ i6 u, Qxdelay read rd3b at 17202
4 i6 R6 X( r+ n9 v$ ixdelay write wrt4b at 17203 ) J! D# R, t, t! d: u
xdelay read rd4b at 18502
; Z5 K: b: J7 g3 g4 d' \6 Z7 Mxdelay write wrt5b at 18503 " t, F& v+ Q }2 J0 d7 y. v
xdelay read rd5b at 19881+ z$ I/ i: V4 W; A7 n
xdelay write wrt6b at 19882
8 k8 G1 I( n0 Z$ V4 lxdelay read rd6b at 21092* G7 a; f7 }% Z- j
xdelay write wrt7b at 21093 . r' d: r; k8 m3 x) F3 t1 c+ m( E
xdelay read rd7b at 22231
: ^" t% `% s! @* b: S# m' [0 p: c' ?
+ L+ p+ Z! |+ X4 k; lexicon 480l/ medium hall/ first 8 peaks1 x" x) Z+ y( R8 V% z
; early reflections iir/fir 4 Q+ ^# t- }1 \6 v, |; \
; left
G' { g5 `/ pxdelay write wrt12a at 22232
3 K g3 l, S: a* j( ixdelay read rd12a at 23566
2 g& \+ T# W" J" R2 O2 \! ^xdelay read rd13a at 23850, W* d- p8 e3 o+ M/ o: }- j8 C2 v- S2 Y
xdelay read rd14a at 24033- B( K8 e r/ Q, K
xdelay read rd15a at 24134
% G) _; r/ W! b5 W7 i! u- Uxdelay read rd16a at 24317" x# D# u+ G1 q5 t& [
xdelay read rd17a at 24376$ t) e( v# `. Q3 ]+ C
xdelay read rd18a at 244184 ^7 A& r, v& ?6 a; B
xdelay read rd19a at 245002 A8 f% S2 \* E# H( b
/ j# k; j2 T' N
; right
4 ]2 ~# u/ U& G/ K% Y" Uxdelay write wrt12b at 24501
5 A$ X, o: a3 i; Q! ^xdelay read rd12b at 26715
s% @) k4 N, ~9 c4 Zxdelay read rd13b at 26961
4 {( m6 ]$ f8 F$ bxdelay read rd14b at 26984
; M' e6 Z% U) L' [xdelay read rd15b at 27101% M( O1 \7 V# L; i
xdelay read rd16b at 27207) M9 `- b* l- l; X3 N* _" m2 Y+ N
xdelay read rd17b at 27268; |8 x$ \ y! q
xdelay read rd18b at 27347
- i5 Q: p" g4 s7 \9 V! O; ]1 m1 \xdelay read rd19b at 27454) u+ _$ d) Q: T8 _. d' F# U
1 k, i5 b! M( Z1 ] U* q' g" i5 L
* y1 Z9 L' a* ]6 @! l0 j9 \
itramsize 3218 ; K" ^3 N3 t9 J. F# x% ?
; allpasses iir
' {$ J% O. H* s9 }0 t. B# n; left ) H( G$ }5 W4 z) d( Y. ]
idelay write wrt8a at 0 5 L# E& E8 I# e) z/ q; I
idelay read rd8a at 224
6 b! h$ w9 G& q9 yidelay write wrt9a at 225
- l6 u$ r( i5 Bidelay read rd9a at 780
) `2 {. Q- A; q7 kidelay write wrt10a at 781 5 }, V' E! P y( l) ~0 p
idelay read rd10a at 1221, p' T, V7 J' z6 m2 ?* p. G. q
idelay write wrt11a at 1222 & N1 j7 ?8 Q" z, E" F n5 W
idelay read rd11a at 1562" ?) Z! [1 z! F- ]
! Y z6 r$ v4 p% e. v
; right
. c( O0 \2 h7 W4 A: }' kidelay write wrt8b at 1563 8 b6 Z1 o4 B+ F z
idelay read rd8b at 1811: N1 }: G* {5 @9 R' Q5 w8 G
idelay write wrt9b at 1812
) i6 H: A3 Y8 e0 G3 Fidelay read rd9b at 2390* `& L: g' w' v
idelay write wrt10b at 2391 " t0 m8 O! @8 y7 M6 Z: V r' N) U
idelay read rd10b at 2854
' `2 C- i/ H1 y' O, fidelay write wrt11b at 2855 ) v0 \% E7 D" [( x
idelay read rd11b at 3218
( }% k4 V% g( D' X+ u
; a) p5 |& N+ P5 c; input level6 ~% m. K+ t. Z$ \
macs ina, 0, in1, input_level ; default 0.5
3 i+ C" J( R$ h6 u5 zmacs inb, 0, in2, input_level" ^4 ?! J5 \7 N" T6 p$ n, ]" P
; J$ \- M" `: Y& }- H: P% V; add early reflections
0 G6 K4 _. j, g, N3 @/ c* N" ?/ f; lexicon 480l, medium hall. J! G' [6 ~1 G) l( E1 c
; left
: d S6 `4 s/ C4 a! `( Kmacs wrt12a, ina, rd19a, 0.2 J% s8 j" T. x) E& o; o; ^; a
macs ga, 0, rd12a,-0.2723020370 z) N( o. n3 F' \5 ~% S. V/ I
macs ga, ga, rd13a,-0.197265388
( D" d0 G4 q& s4 Imacs ga, ga, rd14a,-0.3199269988 {* o3 {' @# Q* K- ?! E
macs ga, ga, rd15a, 0.153126688$ N k3 a) j% T: f; R2 `9 X- b+ v
macs ga, ga, rd16a,-0.17181097) E) g9 q+ @1 \$ R) D
macs ga, ga, rd17a, 0.489836215$ |. Q- m2 ]8 R( ?, H
macs ga, ga, rd18a,-0.120240532; }( K; B, E+ J( ?
macs ga, ga, rd19a, 0.195007309
- b* f1 Y; X# | y9 n g9 B/ L1 R9 @. X7 B1 W0 p
; right( O7 R. \! G6 n* S/ `
macs wrt12b, inb, rd19b, 0.2) S* R, y4 Q" K) R
macs gb, 0, rd12b,-0.3335534510 Z! u2 |1 C3 Q2 O4 f* k5 T
macs gb, gb, rd13b,-0.20098583
/ H C! F" D5 ^( n2 U) Vmacs gb, gb, rd14b, 0.345275242+ `$ t/ x/ R$ J' Q. X1 R, z3 i
macs gb, gb, rd15b,-0.3335534511 s- k* X2 r8 n% C7 d: v: T+ r4 X/ ~
macs gb, gb, rd16b, 0.163367416
" j S* J& @" b+ _: f jmacs gb, gb, rd17b, 0.215360196
( _( ~6 F( f. q3 P4 ]7 Z0 c( D9 ^macs gb, gb, rd18b,-0.208048907
' C) r) g9 e; g+ [) Jmacs gb, gb, rd19b, 0.540960355) j; u$ v, C. |! r' }
6 A2 M+ i# }! ^2 R( e6 k; early reflections level
& L+ P3 {% T r( \) Imacs ga, 0, ga, early_level 8 r& ^% Z) [2 H8 N
macs gb, 0, gb, early_level
% P7 D$ [4 I1 G- b( }' C# X: H" {6 J; a$ [7 h5 @) J2 M( h
; late input + early reflections
! K# Z2 {% z1 \) j% V9 a4 N# kmacs ina, ina, ga, 0.5& D- I: b3 t6 @) w
macs inb, inb, gb, 0.5
6 Y2 i a. a, G: v+ ~0 J* D2 X$ i ) A: B9 W2 h7 h# h
; trim sliders4 V" Z. J* o3 q6 C4 C6 c
log f, late_decay, 0x3, 0 ; logaritmic decay fader/ E& T8 z) L( D6 S7 T1 P) N/ Y
/ N3 y* l/ v: G+ u
; 8 delay lines (comb filters with lowpass damping)! @' o' {8 W2 {3 S$ C( |% p' p4 H
; left
# f# g3 E2 c# p- ` j% M3 Omacs wrt0a, ina, a0a, f ; decay set to
/ C2 b' a+ G, @7 |$ winterp a0a, a0a, late_damp, rd0a ; lp damping set to , d' f8 O3 J' R, q0 G/ u/ u
macs wrt1a, ina, a1a, f9 i" a L. K) M4 B d. z
interp a1a, a1a, late_damp, rd1a }( i3 ^6 B4 U( \
macs wrt2a, ina, a2a, f6 `5 a) ]; c/ t. A" {. q3 n
interp a2a, a2a, late_damp, rd2a
+ q- e* j. {% z9 Rmacs wrt3a, ina, a3a, f ' l7 r! B, A- i& N. D4 w3 k9 n
interp a3a, a3a, late_damp, rd3a1 F$ u; @' l: e( H. {& g
macs wrt4a, ina, a4a, f
9 J2 y0 _! n; ginterp a4a, a4a, late_damp, rd4a
- Z8 {1 t1 C. nmacs wrt5a, ina, a5a, f
( t; W J) z) ?1 S, \& winterp a5a, a5a, late_damp, rd5a
+ E; Q9 N/ p+ C% _! _4 Ymacs wrt6a, ina, a6a, f1 A3 p. {) U" X0 s* i
interp a6a, a6a, late_damp, rd6a 3 `" R- A+ C& @* E& Q' I: I+ T
macs wrt7a, ina, a7a, f' N: u0 S, @6 ?7 h
interp a7a, a7a, late_damp, rd7a
* ^" F; i) J- G @0 j
- F% h) k$ K. T% f; right
5 f9 {) a; [8 I9 wmacs wrt0b, inb, a0b, f ; decay set to $ H- p5 \+ q. O* d) \# T. c, b
interp a0b, a0b, late_damp, rd0b ; lp damping set to 0 e% Z, v4 n) n# P
macs wrt1b, inb, a1b, f6 k! ^- F2 Y8 Q1 E; u1 u
interp a1b, a1b, late_damp, rd1b- W* h5 i* @% O6 \6 j: c. ?! m5 W, e
macs wrt2b, inb, a2b, f
3 X' Y: y4 A) J2 T" C( l3 Ginterp a2b, a2b, late_damp, rd2b% r# ~% `1 z& F/ t
macs wrt3b, inb, a3b, f 9 t+ ]/ D/ V6 v5 j9 W
interp a3b, a3b, late_damp, rd3b: P2 ?$ D0 r" }6 x8 `
macs wrt4b, inb, a4b, f
9 J8 ], e3 i# H' t \8 u& L1 sinterp a4b, a4b, late_damp, rd4b . X, t& n7 f- J9 W. L# X$ K0 b
macs wrt5b, inb, a5b, f% Y: i. r' e$ q# l
interp a5b, a5b, late_damp, rd5b 5 m% J9 F( F. }, D
macs wrt6b, inb, a6b, f. I5 t2 G" S! y& d
interp a6b, a6b, late_damp, rd6b - h; ]2 e3 I( f6 `8 j' s! E% h
macs wrt7b, inb, a7b, f
2 a. ]4 A4 [; G6 L- Zinterp a7b, a7b, late_damp, rd7b9 V) R' W9 s& z& P+ |0 I1 R9 j
) v' _4 Y' P+ \5 {; add & gain taps % Y' x0 t" J* w1 w( N( M4 P9 ?! A
; left
- F: H3 B; Z( W2 i1 J) amacs b1a, 0, a0a, 0.125
9 d) u- Q. F/ C5 Umacs b1a, b1a, a1a, 0.125 ; post gain n% n) X9 ]& R# d
macs b1a, b1a, a2a, 0.125; Z2 `7 G) _8 m ?
macs b1a, b1a, a3a, 0.125
' O2 b3 ^7 u- g7 p8 A: Tmacs b1a, b1a, a4a, 0.1257 ]2 n% K2 ]+ x# N
macs b1a, b1a, a5a, 0.125
: v5 N. p- ?5 ~& I( ^. q( vmacs b1a, b1a, a6a, 0.1257 W( j2 F! R% z" ?
macs b1a, b1a, a7a, 0.125
" I* p4 {# a/ y* A k- D( m: l 0 o. o6 J0 F1 |% E: P
; right5 H( j0 [( w. J U! g7 h
macs b1b, 0, a0b, 0.125& Z, ]' L5 ^1 e- o$ c: @
macs b1b, b1b, a1b, 0.125 ; post gain
" H( _2 d7 T+ x: M% Kmacs b1b, b1b, a2b, 0.125
. w7 r, n6 j9 L4 z Qmacs b1b, b1b, a3b, 0.125 # U; q% D8 o: A4 U: Z
macs b1b, b1b, a4b, 0.125: n+ V& s; p/ V ^# f- @
macs b1b, b1b, a5b, 0.125 - D! i( w( t( R, W- M1 t, @
macs b1b, b1b, a6b, 0.125; D- q' l1 R3 z: a# l! X% g5 y
macs b1b, b1b, a7b, 0.125
$ O; Q4 ?, A/ ?) m& \8 l9 J. W+ t7 O0 C) Y% X" s! E; G2 R. N
; allpasses (fixed feedback), diffusor1 @3 w; w0 q" i3 V! s
; left" [, o9 _3 U4 R. B$ P. V
macsn h, b1a, rd8a, ap_q ; ap 1
: X5 l/ ?1 |" Y; _; D6 R4 J1 Imacs wrt8a, h, 0, 0 6 N# _$ @+ u+ @0 q0 R8 }2 h# o
macs d1a, rd8a, h, ap_q & F9 `0 K1 @6 B+ M9 f
0 ~" q* i& K+ C/ ~macsn h, d1a, rd9a, ap_q ; ap 2
4 A" R* ?4 E. H$ ~* xmacs wrt9a, h, 0, 0 # ]9 T5 ?& |8 h
macs d2a, rd9a, h, ap_q
) O! I( `. s4 c/ A; q$ _- [ O 3 m& ?& T% Z# ~" I" i& W9 W
macsn h, d2a, rd10a, ap_q ; ap 3
9 m" r" t5 O1 n+ j" I9 fmacs wrt10a, h, 0, 0
9 [7 s* `6 X: F( I. Y6 n. bmacs d3a, rd10a, h, ap_q
" x& d9 g4 x( r5 f$ I
' @# D) K h* X# f, T) Wmacsn h, d3a, rd11a, ap_q ; ap 4
( D8 p/ U% |1 Q" ?! T2 b' \; n2 d' smacs wrt11a, h, 0, 0 $ i6 n/ T* b- D! A3 X
macs d4a, rd11a, h, ap_q ' Q8 p8 X4 _. W) _7 C* ]. o; v! B" X
, M( e7 G3 j0 s9 o; right
8 D: ^' a; S) r# M, _macsn h, b1b, rd8b, ap_q ; ap 1
) Q9 E% Y9 ^* i! Y, ^macs wrt8b, h, 0, 0 ' X/ M# W& g& U+ K! U' Z k
macs d1b, rd8b, h, ap_q 5 {# {0 I4 n6 x% o" f
) L' e( V" J1 B; `6 Q1 z1 F& S5 O
macsn h, d1b, rd9b, ap_q ; ap 2; ?, ^( m" h" I/ t
macs wrt9b, h, 0, 0 ' R" m8 J9 D e
macs d2b, rd9b, h, ap_q
{- B3 d" G" S5 h
2 |' p2 u& Q9 Rmacsn h, d2b, rd10b, ap_q ; ap 3
4 V' P% }" L! Z$ Z! H# {macs wrt10b, h, 0, 0
4 e: E7 m5 H* x$ a* dmacs d3b, rd10b, h, ap_q
) z2 o7 K' O& ?5 y5 [ 3 `9 x! e8 s4 u- Q
macsn h, d3b, rd11b, ap_q ; ap 4+ f: f3 H7 K1 k( y- R6 I; q; Z; s
macs wrt11b, h, 0, 0 9 P8 ^ E1 d+ G- P. G& S0 U
macs d4b, rd11b, h, ap_q
& Y& S5 z% }* z: v h# Q7 K9 h) r8 F; D4 |& Q' v
; late reflections level3 I$ q% P7 H8 z) S6 J
macs d4a, 0, d4a, late_level ' G9 u! N. v# J5 L9 g; k
macs d4b, 0, d4b, late_level7 A5 @! F; B- N& ^6 o* v
1 X# H2 f+ C+ c& S. {
; mix late & early reflections- m1 z0 E5 x0 A# Y; |8 R3 ?* I
macs d4a, d4a, ga, 1
) R/ [5 N% g& ~# zmacs d4b, d4b, gb, 1! y1 D" v1 v0 [
2 P% Y# e3 \+ T; lowpass
1 `% c$ W# S. @* d; left* \% d, g1 N8 J; H
macs d4a, d4a, ea, lp_q ; q& t# I- i& B) R
interp ea, ea, lp_cut, d4a ; cutoff % b9 ]0 C0 @2 H/ }0 n1 g5 I4 }& X
6 g3 y4 H3 G/ a3 \; a) a
; right( f; B; K8 a: P, g" n }
macs d4b, d4b, eb, lp_q ; q5 ^1 M9 m% m* ]
interp eb, eb, lp_cut, d4b ; cutoff 8 D, l* G8 {( J+ B. a3 s
/ r3 Z2 _5 S+ H; output mix
, i6 L+ V) |: l+ v$ J" T; k: @interp out1, in1, dry_wet, ea
7 Q2 f, H) C3 ~3 R" ]% Kinterp out2, in2, dry_wet, eb) a! u8 @$ \/ n, V4 U8 o3 V
( |) D0 X5 M9 U$ B0 Q2 f* Kend |
|