|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Jun 2003
Posts: 12
Rep Power: 0 ![]() |
I LOOKING DSP ECHO for KX 3535....
HI, I looking echo & reverb effect (stereo ,like from creative effects) for kx drive 3535, but default echo from kx is sux... help me....
|
|
|
|
|
|
#2 |
|
DH Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,930
Rep Power: 62 ![]() ![]() ![]() ![]() |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Jun 2003
Posts: 12
Rep Power: 0 ![]() |
Hi, again....
I looking that site,... and find echo source.... and I remake and added two slider for delay size.... but this is not work then I can... I move slide del1 to 6 value and delay is full size... when I move to last slide position and other position is work something wrong.... help me.... ; Generated by kX DSP Editor - microcode dump name "delay_2003"; guid "80100006-0999-11D6-BFBC-D4F706E10C52"; xtramsize 68000 ; Registers input in1, in2; output out1, out2; control xfeed=0x0, fdbk=0x1851eb85,fdbk2=0x0,wmix=0x547ae147; control del1=0x0; control del2=0x0; temp w; ; External TRAM delay line (54084 samples; ~1.126750 msec) xdelay write d1 at 0x1000; xdelay read d1r at 0x2000; xdelay write d2 at 0x3000; xdelay read d2r at 0x4000; ; Code acc3 &d1r, del1, &d1, 0x0; acc3 &d2r, del2, &d2, 0x0; interp w, d1r, xfeed, d2r; macs d1, in1, w, fdbk; macs 0x0, 0x0, d1r, wmix; macs out1, accum, in1, 0x0; interp w, d2r, xfeed, d1r; macs d2, in2, w, fdbk2; macs 0x0, 0x0, d2r, wmix; macs out2, accum, in2, 0x0; end |
|
|
|
|
|
#4 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,606
Rep Power: 66 ![]() ![]() ![]() ![]() ![]() ![]() |
Code:
acc3 &d1r, del1, &d1, 0x0; acc3 &d2r, del2, &d2, 0x0; Range of sliders for control registers are always 0...1 (or 0...0x7fffffff in hex) for raw *.da plugins... So if you add value of del1 to the base address of delay you are just jumping out of delay time allocated for your plugin (and even out of all of delay memory available for dsp) ... You should do like that instead: Code:
... xdelay write d1 at 0x0; ! xdelay read d1r at 0x4000 xdelay write d2 at 0x4001 xdelay read d2r at 0x8001 xtramsize 0x8001 const maxdelaysize = 0x4000 macs &d1r, &d1, maxdelaysize, del1 macs &d2r, &d2, maxdelaysize, del2 .... You may use any other values but following equation should be held: maxdelaysize == (xtramsize - d2) == (d2 - d1 - 1) (assuming the size of left and right delays is equal)
__________________
Last edited by Max M.; Oct 31, 2003 at 07:00 PM. |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Jun 2003
Posts: 12
Rep Power: 0 ![]() |
HI, MAX M.
Thanx for answer, and I try to use your sugestion... Big thanx..... bye.. |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Jun 2003
Posts: 12
Rep Power: 0 ![]() |
HI again.... MaxM I used your example and not have work...??? I dont know what is that.... voise signal is metalized and dont have echo effect.... ok... bye
|
|
|
|
|
|
#7 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,606
Rep Power: 66 ![]() ![]() ![]() ![]() ![]() ![]() |
put here the full source you've tried... (so i could check where was your mistake and please, use original text - not output from disassembler (e.g. 'dump') which is hard to read)
__________________
|
|
|
|
|
|
#8 | |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,606
Rep Power: 66 ![]() ![]() ![]() ![]() ![]() ![]() |
And finally...
It was my mistake (doh, how stupid i am - i really need a holiday somewhere in the sun :) Quote:
"maxdelaysize == (xtramsize - d2) * 0x800 == (d2 - d1 - 1) * 0x800" --- in above code maxdelaysize should be 0x2000000... --- Btw. you can find the final code for "delay2003" which includes all of prev. improvemnts, corrections and fixes here: http://www.hardwareheaven.com/showthre...threadid=30012
__________________
Last edited by Max M.; Nov 5, 2003 at 09:51 PM. |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Jun 2003
Posts: 12
Rep Power: 0 ![]() |
hi... thanx.... I be tested this.....ok... bye and big thanx again....
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|