|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Feb 2003
Posts: 13
Rep Power: 0 ![]() |
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 |
|
|
|
|
|
#2 |
|
kX Project Lead Programmer and Coordinator
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Feb 2003
Posts: 13
Rep Power: 0 ![]() |
Hi!
Quote:
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 |
|
|
|
|
![]() |
| Thread Tools | |
|
|