HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

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


Reply
 
Thread Tools
Old Oct 20, 2003, 02:56 PM   #1
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

??? Vibrato DSP?

Hi All,

The possibilities for guitar fx with all the appropriate DSP effects is great. Have made several so far, they all work a+, sends, busses and all.
Kx rules!

One effect I would like is the vibrato, for that, you know, Clint Eastwood movie theme sound. How can I do that in Kx DSP? I tried hooking up WaveGen to... (looking for a VCF or a VCA here...none?). Yet another problem would be getting the frequency down enough with WaveGen (1 Hz still way too fast). Really nead a LFO (Sine, Saw, Ramp, Square) for that.

Then again, maybe I should write a Vibrato DSP with it's own LFO, LFO WaveShape, Amount %. Maybe it already exists? Did I miss something in the 3535 DSP Plugins?

Then again, it would be nice to have a guitarist's Fx Plugin. All-in-one, kinda like Amplitube, for clean TubeSound to 70's Fuzz (with a little reverb) to "ENNIO MORRICONE Leads" to severe bad noise. Like about 8 sliders in one box eh? Too many resources? Maybe better stay simple, modular, light, like it is...ok.

AutoWah is not a real WahWah. Is there some way to configure a pedal (joystick, keyboard wheel, NRPN or something) to modulate a VCF? Is this what this automation thang is all about?

How hard is to get into this DANE programming thing? I have been looking at the code of a lot of the plugins, interesting language. Obviously 10Kx hardware knowledge required too. Neat. What are the steps to learn (if such a thing is possible for a mere mortal like me)? I have no pretentions to become a GREAT DANE but I'm very curious and willing to learn. Any FAQs, links to learning programming sites,...greatly appreciated.

Sincères salutations Ã* tous,
Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote


Old Oct 20, 2003, 03:17 PM Threadstarter Thread Starter   #2
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Oops! (color me red)

I think I will read some more about Kx Automation and Kx Dane Assembler Guide.
Brain bone connected to mouth bone better than rtfm bone. Sorry.

I think automation looks extremely powerful and will do most of what I need.
Maybe I can hack the WaveGen to get frequency down to 0.01 to 10 Hz range as o use it as a LFO modulator.

Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 20, 2003, 03:47 PM   #3
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Paul,

Well, I have coded vibrato effects...Hmm..I have to dig 'em up anyway
to finish my kX Leslie Sim..

Yep,..'Dane' is fun. At least;...you won't get bored..

/LeMury

p.s
you could try the kx Chorus "all wet", but is has a triangle lfo.
Not very suitable for vibrato. Better use sine lfo.
Lex Nahumury is offline   Reply With Quote
Old Oct 20, 2003, 04:13 PM Threadstarter Thread Starter   #4
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Dear LeMury,

Thanks for your reply.

I have read up on guitar effects postings, links to HARMONY CENTRAL.

I think the effect I am looking for is not Vibrato but rather TTREMOLO. The effect I am talking about is modulation of VOLUME. I got confused with the term "TREMOLO BAR" on a guitar, which affects pitch rather than volume. Is it a misnomer then?

I will test out Chorus as you suggested for vibrato (chorus varies the pitch to simulate multiple voices, correct?). Are there any kX effects modulates volume then?

How can I find out more about your new effect "Leslie Slim". You are no programming a stereo Leslie effect by any chance are you? :-) hehe awesome.

Thanks,
Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 20, 2003, 04:38 PM   #5
h/h member-shmember
 
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69
Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!

(hmm, it's strange - i can't find that "Writing Leslie" thread anywhere... who did remove it? :-%)
__________________
Max M. is offline   Reply With Quote
Old Oct 20, 2003, 04:46 PM   #6
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Paul,

>>I think the effect I am looking for is not Vibrato but rather TTREMOLO.
Aha, big difference (Yes, it's a wrong effect name on guitar)

>>(chorus varies the pitch to simulate multiple voices, correct?).
Yes, but chorus is vibrato mixed with the dry signal to give the chorusing.

>> Are there any kX effects modulates volume then?
Not that I know off. (I had to code one myself)

>>How can I find out more about your new effect "Leslie Slim".
>>You are no programming a stereo Leslie effect by any chance are you? :-) hehe awesome.

Well, yes. I started coding that one some while ago. This is how it sounds:

Ballad with Leslie
Ballad No Leslie
Dance with Leslie
Dance No Leslie

Organ Patch is (on purpose) the crappy 'GM 8mb Soundfont Hammond patch'.
Except for the Drumkit everything is from the same crappy soundfont

I will soon start finishing this one. Writing Mixers and such is not as much fun as effects...

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Oct 20, 2003, 04:48 PM   #7
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Quote:
Originally posted by Max M.
(hmm, it's strange - i can't find that "Writing Leslie" thread anywhere... who did remove it? :-%)
I did, remember? oeps,..well let it be our little secret ..
Lex Nahumury is offline   Reply With Quote
Old Oct 20, 2003, 04:59 PM Threadstarter Thread Starter   #8
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Dear LeMury,

Interesting. Were you modulating L/R volume independantly with a sinewaves, or with a L/R dephase?
The sophisticated Leslies also incorporate reverb (actually simulate the rotating speaker in a 3D environment). Were you coding that too?
Note: Perhaps feeding Leslie into a stereo reverb will sound pretty effective too.

Thanks,
Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 20, 2003, 05:16 PM   #9
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

>> Were you modulating L/R volume independantly with a sinewaves, or with a L/R dephase?

Actually, its not only AM modulation, but also FM mod. for the dopler effect, and Phasing/chorusing
(due air turbulence in the leslie cabinets vents)
I used an adjustable Phase shifted sine osc that Max. M designed for me.
But a fixed 90 degrees shifted (sin/cos) osc also does the trick. (Only not adjustable)

>>The sophisticated Leslies also incorporate reverb
>> (actually simulate the rotating speaker in a 3D environment). Were you coding that too?
No, the original leslie cabs didn't had reverbs build in (AFAIK), but build in the Hammond self.
My goal is to make a 'close mic-ed' Leslie sim.

Note: Perhaps feeding Leslie into a stereo reverb will sound pretty effective too.
yes of course...

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Oct 20, 2003, 05:40 PM   #10
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

If you want to ty a simple AM tremolo you can cut the attached code and save it as a dane file. Connect a Wave Generator sine output to the modulator input and and select a low frequency.

Cheers
Soeren


------------------Cut here -----------------------
; New microcode
name "FX-Mod AM";
copyright "Copyright (c) 2003. Soeren Bovbjerg";
created "09/25/2003";
engine "kX";
comment "Simple Amplitude Modulator. Modulator is uni polar";
; comment "";
guid "768c26f3-8e92-461b-ab58-0a8f54eef78b";
; -- generated GUID


input Modulator, Carrier;
output Result;
temp X;
; code

macs X , 0.125 , Modulator , 0.5; Make signal uni polar
macs Result, 0, X, Carrier;

end
Soeren_B is offline   Reply With Quote
Old Oct 20, 2003, 06:11 PM   #11
h/h member-shmember
 
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69
Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!

>I did, remember? - ah, right.. hehe, ok...
__________________
Max M. is offline   Reply With Quote
Old Oct 20, 2003, 07:50 PM Threadstarter Thread Starter   #12
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Dear Soeren,

Thanks very much. Will try out soon.

How would I modify the microcode in the WAVE GENERATOR 2 to slow it down to LFO frequencies? 0.01 to 10 Hz would be more the range I am looking for.

cut here
--------------------------
; Generated by kX DSP Editor - microcode dump
name "Wave Generator 2.0";
copyright "by eYagos - Copyright (c) 2002. All rights reserved";
engine "kX";
created "10/27/2002";
comment "Wave Generator 2.0: Sine, Square, Triangle, Sawtooth and White Noise. Triangle only works fien at frecuencies lower than 12kHz.";
guid "e6580857-eb69-45a6-bb78-9ecf4f74eeb0";
; Registers
output Sinsoid, Square, Triangular;
output Sawtooth, Noise;
control LEVEL=0x16a09e66, PT=0xaaaaaaa, PS=0x5555555;
static y2=0x7fffffff, y1=0x7fffffff;
control d=0x7ee7aa4a;
static oc=0x7fffffff, ot=0x7fffffff, os=0x7fffffff;
static dos=0x7fffffff;
temp sin, tmp, tmp1

; Code
macs sin, 0x0, d, y1;
macsn sin, sin, y2, 0x40000000;
macints sin, 0x0, sin, 0x2;
macs y2, y1, 0x0, 0x0;
macs y1, sin, 0x0, 0x0;
macs Sinsoid, 0x0, sin, LEVEL;
tstneg tmp, Sinsoid, 0x7fffffff, 0x0;
macs Square, 0x0, tmp, LEVEL;
macs tmp1, 0x7fffffff, oc, tmp;
skip ccr, ccr, 0x100, 0x3;
macs ot, tmp, 0x0, 0x0;
macs dos, 0x0, dos, 0x80000000;
limitl os, dos, os, 0x7fffffff;
macs oc, tmp, 0x0, 0x0;
macsn ot, ot, PT, oc;
macs Triangular, 0x0, ot, LEVEL;
macsn os, os, PS, 0x7fffffff;
macs Sawtooth, 0x0, os, LEVEL;
macs Noise, 0x0, noise1, LEVEL;
macints Noise, 0x0, Noise, 0x2;

end
----------------------------

Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 20, 2003, 08:07 PM Threadstarter Thread Starter   #13
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Hello again Soeren and all,

I get a "invalid library" message when I try to register the Fx-Mod AM.da
I had copied the text into the Dane Editor and saved as a dane (.da).
I then tried to reister the Dane (So far so good?)

Note: I am running 3535rc3. Perhaps the libraries are not compatible?
Is this why?

Thanks,
Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 21, 2003, 07:59 AM   #14
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Rep Power: 0
Soeren_B is on a distinguished road

Strange
Try to create new dane effect and insert this into the effect (remove doubles such as 'end')

-----------------------
input Modulator, Carrier;
output Result;
temp X;
; code

macs X , 0.125 , Modulator , 0.5; Make signal uni polar
macs Result, 0, X, Carrier;

end
-----------------------

About setting low frequencies in Wave generator, we may be lucky and need just to change the resolution of the fader in the GUI code (C++). I am not on a kX computer ATM (actually I am at work ) so I can't try it out. But it certainly need finer adjustment possibilities if is has to act as a proper LFO. It would also be nice to be able to create 2 OSCs at the same frequency but at different phase for stereo tremolo/modulation.

Later....
Soeren
Soeren_B is offline   Reply With Quote
Old Oct 25, 2003, 02:07 AM Threadstarter Thread Starter   #15
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Dear Soeren,

FM-mod AM works just fine!
That's exactly the simple effect sound I was looking for!
Thank you.

One thing I noted is that the amplitude is much lower at output.
I just added some gain and it's ok.

I just have to find a way now to modify the WaveGen to give frequencies in the 1/10th to 10 Hz range with better resolution. When looking for frequencies in the 1-4 Hz range, the steps are very big!. Any help there would be appreciated.

I have been reading about C language, 10k1 programming and such. Very complex stuff. The few lines of Dane code look very simple but they are not at all. A lot of very careful thought, knowledge and frugality (efficiency) goes in to what you write. You folks amaze me.

Thanks again,
Cheers,
Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 25, 2003, 06:54 AM   #16
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Try this. It's a simple sine osc lfo controling the input level. Hence,..tremelo (AM).
Lfo freq. is about 0.....~12 hz in this config.
(Change the fractional to adjust lfo freq range)

You can easely make it stereo by also using osc's 'xcos' output wich is
(of course) 90 degrees phase shifted to 'xsin'.
Or rip the osc part to make your own stuff.

I treid to document as much I can so you can see what's going on.
Well, just play around with it and ....have fun

(dont forget to make your own header, gui id etc)
;-----------------------------------------------------------------
; Registers

input in
output out
static xsin, xcos = 0.5
control freq = 0.5 ; mod freq
control depth = 0.5 ; mod depth
temp lfo, f

; Code

; freq control workaround (change the fractional for diff. freq range)
macs f, 0, freq, 0.002

; sine osc (output is -0.5...0.5)
macs xsin, xsin, f, xcos
macsn xcos, xcos, f, xsin

; shift osc range to 0..1, and apply lfo depth
macs lfo, 0.5, xsin, Depth

; read input, apply lfo mod, output
macs out, 0, in, lfo

end;
;----------------------------------------------------------------------------

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Oct 25, 2003, 07:32 PM Threadstarter Thread Starter   #17
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Dear LeMury,

AWESOME!

Not only LFO, but stereo dephasing potential to boot!
This will sound really great. I can output a stereo tremolo from my mono guitar input.

Your comments are most useful, I will experiment for sure.
A ; or ;; really helps us mere mortals.

THANKS !!!

Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Old Oct 25, 2003, 07:53 PM   #18
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Well thank you Paul, but the Real credits go to Max. M who helped me a lot
when I started coding, and for making his Dane assembler!!

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Oct 26, 2003, 04:44 PM Threadstarter Thread Starter   #19
DriverHeaven Junior Member
 
Join Date: Oct 2003
Location: Quebec City, Canada
Posts: 25
Rep Power: 0
Polliwog is on a distinguished road

Thank you MAX!

Paul.
__________________
ASUS P4 1.7 512MB Ram,
80GB 7200rpm, Nvidia Quadro2,
w98se (dual boot NT4),
Audigy Platinum SB0090
SbLive Value CT4832
Polliwog is offline   Reply With Quote
Reply

Thread Tools