• Home
  • Reviews
  • Articles
  • News
  • Tools
  • GamingHeaven
  • Forums
  • Network
 

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

Notices

Reply
 
LinkBack Thread Tools
Old Jun 21, 2005, 04:59 PM   #1
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
Maddogg6 will become famous soon enough

Noob here...

Hello all...

I am glad to see that there is still some development happening here, and thanks to all who have contributed to this great driver.

Ok, so Im the musician type but like the occasional game too without tooo much fuss. So I like the fact the default DSP setup will approximate the origanal drivers functions for max compatibility. I have an Udigy 2zs Platinum BTW. I can hack away a PHP script to make it do what I want, but C is all fortran to me. I have made simple 65XX, 68XX Assembly programs at a very basic level. So I understand what a register is, what an opcode is etc.. I never grasped 'TECHNIQUES' in assembler. Thus, I will humble myselve to 'noob' status.

My Quest:
I would like to add to the default DSP set-up, some effects sends like delay and flange on an effects bus like reverb and chorus are. The bility to send individual midi channels to an assortment of 'insert effects' by midi channel. I how I used to do it with my SB LIVE with ASPLive drivers. It was cumbersome, but worked for me. It looks like the 10K2 is much more flexible and should allow for what I would like to do.


My first thought was to add extra FX outputs on the FXMixer2 plugin.

I copied the code - and It said it complied correctly after saving the .da file.
BUT, no FX3 slider showed up. SO, what I thought I understood about KX_DSP is wrong.

The code I used:
Code:
; Generated by kX DSP Editor - microcode dump
name "FXMix_MD";
copyright "Copyright (c) Eugene Gavrilov and Max Mikhailov, 2003-2004. All rights reserved";
; NOTE The present DSP microcode dump is protected by the 
; license agreement bundled with the appropriate software 
; package containing this microcode,
; regardless the particular copyright notice is present in the dump.
; MD - added 3rd FX send.

engine "kX";
created "09/19/2003";
comment "v3; mixes 2 mono and 4 stereo sources; $nobypass";
guid "fa7c5e74-1b53-4ac3-b54f-93559e0018bf";
; Registers
	input in0_l, in0_r, in1_l;
	input in1_r, in2_l, in2_r;
	input in3_l, in3_r, in4_l;
	input in4_r, in5_l, in5_r;
	input mono_in1, mono_in2;
	output out_l1, out_r1, out_l2;
	output out_r2, out_l3, out_r3;
	control In0Level=0x0, In1Level=0xccccccd, In2Level=0x0;
	control In3Level=0x0, In4Level=0x0, In5Level=0x0;
	control FX1=0x7fffffff, FX2=0x7fffffff, FX3=0x7fffffff;
	temp t1, t2, t3

; Code
	 macs 	 t1,  0x0,  in0_l,  In0Level;
	 macs 	 t1,  t1,  in1_l,  In1Level;
	 macs 	 t1,  t1,  in2_l,  In2Level;
	 macs 	 t1,  t1,  in3_l,  In3Level;
	 macs 	 t1,  t1,  in4_l,  In4Level;
	 macs 	 t1,  t1,  in5_l,  In5Level;
	 macs 	 t2,  0x0,  t1,  FX1;
	 macs 	 out_l1,  t2,  mono_in1,  FX1;
	 macs 	 t2,  0x0,  t1,  FX2;
	 macs 	 out_l2,  t2,  mono_in2,  FX2;
	 macs 	 t3,  0x0,  t1,  FX3;
	 macs 	 out_l3,  t3,  mono_in2,  FX3;
	 macs 	 t1,  0x0,  in0_r,  In0Level;
	 macs 	 t1,  t1,  in1_r,  In1Level;
	 macs 	 t1,  t1,  in2_r,  In2Level;
	 macs 	 t1,  t1,  in3_r,  In3Level;
	 macs 	 t1,  t1,  in4_r,  In4Level;
	 macs 	 t1,  t1,  in5_r,  In5Level;
	 macs 	 t2,  0x0,  t1,  FX1;
	 macs 	 out_r1,  t2,  mono_in1,  FX1;
	 macs 	 t2,  0x0,  t1,  FX2;
	 macs 	 out_r2,  t2,  mono_in2,  FX2;
	 macs 	 t3,  0x0,  t1,  FX3;
	 macs 	 out_r3,  t3,  mono_in2,  FX3;

end
Not that I completely understand what I did, It just looked like what I would need. :s

I then realized - I dont have any more inputs on the xrouter to return my 3rd FX send. So, I know this wouldn't solve my problem this way.

My question:
I would like to understand why the 3rd FX slider never showed up.


My next question.
How could I accomplish this, using the default DSP set-up as the base. In other words, I'm sure theres a simple way to add a few more FX sends (like the reverb and chorus), I'm just too green to see it. Even if the 3rd and 4th FX only came out of the FR+FL outputs - unlike the reverb and chorus implementing their rear outputs. Which IS really cool BTW, I just won't be so greedy as Its not really needed for my use.


Thanks in advance,
Mark
Maddogg6 is offline   Reply With Quote
Old Jun 21, 2005, 09:38 PM   #2
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Are you sure you loaded your new plugin and not the original FxMix plugin? I tried your code exactly how it is and can see the FX3 slider.

To add additional sends I think you would have to use different plugins instead of xrouter (xrouter's code is integrated with kxmixer and kx router I believe, so it is not a simple matter of editing xrouter's microcode). You could use a mixer like mx6, or maybe make your own plugin similair to xrouter.
Russ is offline   Reply With Quote
Old Jun 21, 2005, 09:47 PM   #3
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

BTW: You are looking at the plugin's tweak window, and not kxmixer, right? You cannot add sliders to kxmixer itself.
Russ is offline   Reply With Quote
Old Jun 24, 2005, 03:30 PM   #4
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
Maddogg6 will become famous soon enough

Russ - Thanks for the reply - not sure how I missed replying earlier (Doh!)

But, I beleive my error was NOT making a new .da file from the get go, I edited the FXMix2. Same GUI (another - Doh!). So I think that made it necessary to re-boot to see the new slider in the modified FXMix2 tweak section.

I've since put that idea on the back burner, as its looking like its more studying than I can afford right now. But I'll keep reading the docs when I can, until something starts making sense to me. :s

Thnaks Again
Maddogg6 is offline   Reply With Quote
 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 03:07 AM. Copyright ©2008 HeavenMedia.net