|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
Please help moviefan newbie with 5.1 mixer Question
First i have to say that kX drivers were so great for me!!!
I had to get 5.1 analog audio switch, which is computer controllable. However extensive searching didnt yield any solution in feasible price range, until i found about kX project. Didnt take long to realise that i can actually use my old SB Live platinium with livedrive to input 3 analog stereopairs and (since other required input was from computer), not just switch but MIX with computer 5.1 audio, and finally output to analog 5.1. "rewiring" DSP was done in mather of minutes and i was impressed with result... However one important problem remains. I have in my DSP 3 mixer/crossfade (doesnt matter which one actually, both work for my purpose) plugins to select and mix between audio inputs. I need to control sliders of these 3 plugins programmaticly and im clueless... What should i do? there seems to be some automation in kX but it seems to be midi related, and im completely clueless when it comes to that... i dont mind to do research, but before i get my hands dirty i would like to know if this could be fruitfull approach? Im more used to command and control in terms of windows messages, good old TCP/IP, or even shell commands, but i dont see that way of controlling kX plugins offered or am i mistaken? I found commanline application which allowed me (with -mp parameter) even see values of those sliders but in that program i didnt see anything which would allow me to change them, or did i overlooked something? If nothing else, is it possible for me to program own crossfader plugin with external command possibility? Like i said, i dont mind getting my hands dirty.... but i would approciate if pros could point me into right tracks, to the most fruitful avenue to pursue this. |
|
|
|
|
|
#2 | |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
Of course you can create your own plugin to do it as well. |
|
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
see this - to do simple KX / Midi automation with command line params or a batch file.
http://www.hardwareheaven.com/general-discussion/103654-control-kx-pc-keys.html be warned - its not for 'slider' replacement becasue its a too slow for such 'realtime' adjustment - but could send simple preset volumes. |
|
|
|
|
|
#5 | |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
i.e. Suppose you want to read/write the 'MasterL' register of epilog, and epilog has a pgm_id of [9] in the DSP window. Type 'mp 9' and you will see that 'MasterL' is assigned number [8005]. To read that register, type (Get GPR) 'gg 9 8005', and it will show you the value of that register. To change the value, type (Set GPR) 'sg 9 8005 <new value>' |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
Oh yes, got it working now... i was using numbers otherway around... to be honest, kxctrl's usage help is unambigious(sp?)...cause that number on plugin is introduced in other commands as [id]... and yet here in gg register is <id>... hehe could confuse even smarter guy
![]() anyway your little help made things clearer than crystal. Thanx a lot guys, ill try both of your aproaches, and get back with the results.... |
|
|
|
|
|
#7 |
|
HardwareHeaven Senior Member
Join Date: Mar 2003
Location: Montevideo, MN USA
Posts: 973
Rep Power: 0 ![]() |
P3rv3rt B3ar,
Now I am just curious. I have been too busy to try my hand at any audio programming yet (or maybe just too dumb), but I may give it a whirl soon. What is the specific application that you are messing with here? Nosey guy |
|
|
|
|
|
#8 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
KXctrl.exe - its a console app that gives direct access to KX registers
Right click on KX icon and -> KX Control |
|
|
|
|
|
#9 | |
|
HardwareHeaven Senior Member
Join Date: Mar 2003
Location: Montevideo, MN USA
Posts: 973
Rep Power: 0 ![]() |
Quote:
|
|
|
|
|
|
|
#10 |
|
HardwareHeaven Senior Member
Join Date: Oct 2003
Posts: 409
Rep Power: 57 ![]() ![]() ![]() ![]() ![]() |
Console maybe? 3538J has no control either in the menu.
|
|
|
|
|
|
#11 | |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
|
|
|
|
|
|
|
#12 |
|
HardwareHeaven Senior Member
Join Date: Mar 2003
Location: Montevideo, MN USA
Posts: 973
Rep Power: 0 ![]() |
Thanks
|
|
|
|
|
|
#13 | |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
Quote:
What Russ said... :S |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
It turned out that every solution based on batch file was way too slow. So i decided to get my hands dirty and gave a stab to Kxctrl.cpp and made my own little code to accomplish this. Even if code is not optimized at all... its about 200 times faster than batch file solution. Needles to say speed is enough now, actually too much, have to overuse Sleep(). This is great, once again huge thanx to u guys!!!!! I'll continue to work with "x-fading" video now...
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
Ok, im working on enchanced and more general version of above mentioned program. capabilities are that u can set and observe any register value and initiate pre scripted fades of group of sliders in compatible software (so far just including XLobby HTPC-frontend and commandline client).
I like to release it for public benefit, when it is ready, but im damn lousy when it comes to legal text and i dont want to step on anybodys toes. Program is total rewrite of kxctrl, it preserves mayby ten lines of original code. But it ofcourse uses kX libraries to achieve the effects. So i was wondering if i release it as a source only, i wouldnt probably violate anybodys rights or cause bad feeling, right? but then problem is that mayby all potential users couldnt compile it, so could i release binaries too? So basicly im just hoping some of you devs or original author could help me to understand if before mentioned options would violate license or not? |
|
|
|
|
|
#16 | |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
AFAIK - you can release it - as, thats why the SDK is bundled with KX.
I appears the SDK license covers DSP effects as well as the 'other' parts - and people release them with no problem... I just dont think you can charge $$$ for it with out the dev's written permission. edit: Eitherway - it explains to contact the devs if you have questions... from the KX site 'contact' page: Quote:
|
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Apr 2006
Posts: 17
Rep Power: 0 ![]() |
Thank you for interpretion. It makes sense. Ill release both source and binaries, as i get them ready, unless somebody has disagreeing interpretion or opinion. Theyll be available free... making $$$ never crossed my mind.
|
|
|
|
![]() |
| Thread Tools | |
|
|