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 May 28, 2003, 03:43 PM   #1
DriverHeaven Newbie
 
Join Date: Feb 2003
Posts: 13
Rep Power: 0
Cradle22 is on a distinguished road

kxctrl - How to set registervalues

Hi!

I am trying to set some registers to some values. I want to dynamically change the values for MasterL, MasterR, out0vol, out1vol, out2vol, out3vol.

In other words: Change the volume of Master, Front and Rear. I know that values have to be between HEX 00000000 and 7fffffff, I know the names, the registers and so on, but can't figure out how to do this with kxctrl.

I think it would be no problem doing this with a C++ program (I could even simply copy the code from the SDK), but I absolutely HAVE to do this with perl, and do not want to write a C++ extension...

Is there no way to automatically do this with kxctrl, so I can wrap some code around that?

Thanks,

Cradle
Germany
Cradle22 is offline   Reply With Quote


Old May 29, 2003, 01:59 PM   #2
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

in order to set/get these registers you should use '-sg' and '-gg' switches
the parameters are: plugin_id and register_id (both are displayed by the kX DSP)

e.g.
kxctrl -sg 8 8000 0x7fffffff

/E
Eugene Gavrilov is offline   Reply With Quote
Old May 29, 2003, 05:16 PM Threadstarter Thread Starter   #3
DriverHeaven Newbie
 
Join Date: Feb 2003
Posts: 13
Rep Power: 0
Cradle22 is on a distinguished road

Hi!

Quote:
Originally posted by Eugene Gavrilov
in order to set/get these registers you should use '-sg' and '-gg' switches
the parameters are: plugin_id and register_id (both are displayed by the kX DSP)

e.g.
kxctrl -sg 8 8000 0x7fffffff

/E
I tried that, but did not put "0x" for hexadezimal value in front of the new setting, so it didn't work. Works alright now!

Thanks!

Bye

Arndt
Cradle22 is offline   Reply With Quote
Reply

Thread Tools