HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Jul 28, 2004, 01:53 PM   #1
HardwareHeaven Lover
 
Join Date: Mar 2003
Posts: 127
Rep Power: 0
JoshuaChang is on a distinguished road

my 1st plugin--dither

http://demo.flash263.com/kx/spectrum.gif


DOWNLOAD
JoshuaChang is offline   Reply With Quote


Old Jul 28, 2004, 02:43 PM   #2
Apple Fanboy?
 
dj_stick's Avatar
 
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 17,469
Rep Power: 188
dj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his status
System Specs

this is very interesting, good work - may help with recording quality
__________________
Chris - The Aussie Super Mod
Hardwareheaven Rules - Sig Request Thread

How you can help HardwareHeaven by using Digg!

Hardwareheaven Super-Moderator

Quote:
Originally Posted by OmegaRED View Post
You know, there's "off topic" and then there's so freakin' off topic it you gotta wear a straitjacket to join the conversation.
dj_stick is offline   Reply With Quote
Old Aug 3, 2004, 05:56 PM   #3
DriverHeaven Newbie
 
Join Date: Jan 2004
Posts: 3
Rep Power: 0
superbass is on a distinguished road

yeah,support!
and please answer my question about Hphsp Lite in Mydriver forum
superbass is offline   Reply With Quote
Old Aug 7, 2004, 04:13 PM   #4
DriverHeaven Junior Member
 
Join Date: Jan 2004
Location: Hong Kong
Posts: 61
Rep Power: 0
bennetng is on a distinguished road

Congratulations! I also downloaded the Hphsp Lite from mydrivers
bennetng is offline   Reply With Quote
Old Jul 6, 2005, 02:15 AM   #5
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

The link is dead but I got it from bennetng's homepage. It's supposed to be the code JoshuaChang posted about one year ago. Here is the code :
Code:
; Generated by kX DSP Editor - microcode dump
name "Dither";
copyright "JoshuaChang, 2002-2004";
engine "Emu10kX";
created "July 22 2004";
comment "Simple Dither System for Loopback Recording & Analog Output @ 48kHz";
guid "23e00a6e-6646-47e7-877d-0a3beb7bc7d8";
; Registers
input in_l, in_r;
output out_l, out_r;
static level=0x34ad, r004=0x2dae00b6, r005=0x80000000;
static r006=0x40000000, r007=0x2041ec2a, r008=0x4e5eabd;
static r009=0x0, r010=0x0, r013=0x1;
temp bn, r014;
; Code
macints bn, 0x0, noise1, 0x2;
macs bn, 0x0, bn, level;
macs r014, 0x0, bn, r004;
acc3 bn, accum, r009, r009;
macs r009, r010, bn, r007;
macs r009, accum, r014, r005;
macs r010, 0x1, bn, r008;
macs r010, accum, r014, r006;
macints bn, r013, bn, r013;
acc3	out_l, 0x0, in_l, bn;
acc3	out_r, 0x0, in_r, bn;
 
end
What is noise1? It's the only parameter of the plugin that's not a constant (apart from in_l and in_r).

Is accum here the result of the R register of the previous macs function?
First time in code : accum = r014
Second time in code : accum = r009
Third time in code : accum = r010
Tril is offline   Reply With Quote
Old Jul 6, 2005, 03:47 AM Threadstarter Thread Starter   #6
HardwareHeaven Lover
 
Join Date: Mar 2003
Posts: 127
Rep Power: 0
JoshuaChang is on a distinguished road

new link:
http://kx.cc21.com.cn/fx/dither.rar

noise1 is just a white noise generated by emu10kx~(remember Wave Generator?
__________________
JoshuaChang is offline   Reply With Quote
Old Jul 6, 2005, 04:57 AM   #7
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Quote:
Originally Posted by Tril
What is noise1?
See the As10k1 Manual (EMU10K1 Overview) and you will see that there are 2 noise sources.
In kX it is NOISE1 and NOISE2.
Russ is offline   Reply With Quote
Old Jul 6, 2005, 10:08 AM   #8
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
Rep Power: 0
radiocolonel.it is on a distinguished road

Donator
Quote:
Originally Posted by Russ
there are 2 noise sources.
In kX it is NOISE1 and NOISE2.
Yeah, I discovered them time ago, what it the difference between them?
__________________

http://www.rossanodembech.it
radiocolonel.it is offline   Reply With Quote
Old Jul 6, 2005, 05:55 PM   #9
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,675
Rep Power: 62
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Why use accum in acc3 command? Please explain. I still have trouble completely understanding the use of the accum keyword.
Quote:
Originally Posted by From manual

The accumulator is 67 bits wide, and will wraparound on overflow. The ACC3 and MACS will fetch the HIGH

accumulator, were as the MACSINT instruction will fetch the LOW accumulator. When fetched, if the accumulator

contains value greater than 63 bits one length, the accumulator will be saturated

Quote:
Originally Posted by From DSP guide
Accum register. In this register is stored the result of each instruction. When an instruction is executed, its result is automatically stored in it overwriting the previous value and then copied to the result register of that particular instruction. You can access the accumulator with the accum keyword. We'll take a look at it later.
That means the result of the macs instruction just before the acc3 instruction. Why not use
Code:
macs r014, 0x0, bn, r004;
acc3 bn, r014, r009, r009;
Instead of
Code:
macs r014, 0x0, bn, r004;
acc3 bn, accum, r009, r009;
Maybe I'm misunderstanding something (or not).

Last edited by Tril; Jul 6, 2005 at 06:07 PM.
Tril is offline   Reply With Quote
Old Jul 6, 2005, 07:02 PM Threadstarter Thread Starter   #10
HardwareHeaven Lover
 
Join Date: Mar 2003
Posts: 127
Rep Power: 0
JoshuaChang is on a distinguished road

Quote:
Originally Posted by Tril
Why use accum in acc3 command? Please explain. I still have trouble completely understanding the use of the accum keyword.
it doesn't mean anything special~maybe my habit
i'm not in deep touch with the kX dsp code~and this phugin is just 4 fun~
__________________
JoshuaChang is offline   Reply With Quote
Old Jul 6, 2005, 08:09 PM   #11
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Quote:
Originally Posted by radiocolonel.it
Yeah, I discovered them time ago, what it the difference between them?
I am not sure. I would guess that there are two for the case that you need two different random numbers at the same time. One source of information indicates that the second noise source is just a 4097 sample delayed version of the first. I do not know if that is accurate, but it should be easy enough to verify.
Russ is offline   Reply With Quote
Reply

Bookmarks

Thread Tools