|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Lover
Join Date: Mar 2003
Posts: 127
Rep Power: 0 ![]() |
a small question about emu10k's delay line~
does the code below means 2 x 1sample delay?
Code:
idelay write w1 at 0x0;
idelay read r1 at 0x1;
idelay write w2 at 0x2;
idelay read r2 at 0x3;
__________________
|
|
|
|
|
|
#2 |
|
HardwareHeaven Addict
Join Date: Jan 2008
Location: germany, sb0090
Posts: 259
Rep Power: 0 ![]() ![]() |
Re: a small question about emu10k's delay line~
yes, this could be a stereo delay, because you write 2 audiostreams independently into the delay ram. both are delayed for 1 sample. "w1" means the write- and "r1" the read- adress of audiostream nr. 1. the delay ram circulates through it's predifined range and picks up a sample when it meets the read adress. this process corresponds to the command- page processing speed of the dsp 48000 times each second.
Last edited by stylus02; May 7, 2011 at 11:35 AM. |
|
|
|
|
|
#3 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
Re: a small question about emu10k's delay line~
Yes (assuming that those addresses are not changed later by DSP instructions used by the plugin).
|
|
|
|
|
|
|
|
HardwareHeaven Lover
Join Date: Mar 2003
Posts: 127
Rep Power: 0 ![]() |
Re: a small question about emu10k's delay line~
but it use 4sample tram size?
each delay line will use (actual delay size+1) tram size?
__________________
|
|
|
|
|
|
#5 | |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
Ответ: a small question about emu10k's delay line~
Quote:
Code:
idelay write w1 at 0; idelay read r1 at 1; idelay write w2 at 1; idelay read r2 at 2; itramsize 2; In fact, internally - it's even more complicated due to xtram latency and dependencies on a position of the corresponding code in the code memory. There're some hidden flags and complicated conditions to set them which may to work not always correct due to lack of documentation - so it's just... yes, "safer" to use some gaps just to keep yourself away from unexpected mysterious bugs/issues.
__________________
Last edited by Max M.; May 7, 2011 at 03:47 PM. |
|
|
|
|
|
|
#6 |
|
HardwareHeaven Addict
Join Date: Jan 2008
Location: germany, sb0090
Posts: 259
Rep Power: 0 ![]() ![]() |
Re: a small question about emu10k's delay line~
what max showed is a "trick" to save delay memory. you have to read out the value at r1 and copy it to a new register e.g. macs new, r1, 0, 0. then you reuse the r1 adress for a new write process w2. this saves 1 memory place (of thousands), but its not really usefull and unsave. i hope it works that way max.
|
|
|
|
|
|
|
|
HardwareHeaven Lover
Join Date: Mar 2003
Posts: 127
Rep Power: 0 ![]() |
Re: Ответ: a small question about emu10k's delay line~
thanks for the technical reply, now i understand the delayline workflow!
__________________
|
|
|
|
|
|
#8 | |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
Ответ: a small question about emu10k's delay line~
Quote:
So I actually (well, depending on my mood :) prefer to have even 2 sample gaps in between lines (including the end of plugin lines). Well, I guess you don't really need to bother with those things in context of C simulation (there're different problems anyway) - but in case of an abstract "fx8010" machine - yes, the {0,1,1,2}->2 thing should be valid code.
__________________
Last edited by Max M.; May 7, 2011 at 12:51 PM. |
|
|
|
|
|
|
#9 |
|
HardwareHeaven Addict
Join Date: Jan 2008
Location: germany, sb0090
Posts: 259
Rep Power: 0 ![]() ![]() |
Re: a small question about emu10k's delay line~
now, let me ask: does anyone work on a fx8010 simulator (function set) in c/c++?
|
|
|
|
![]() |
| Thread Tools | |
|
|