|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
PluginQL -- A kX Addon
PluginQL (Plugin Quick Launcher) -- A kX Addon
The original purpose of this addon was to enable the use of hotkeys to open the tweak window for kX plugins. Since then it has been expanded such that it can be used to open/close various kX windows using hotkeys (and kX automation, through the plugin interface). The current versions can be downloaded from here. It uses ALT-SHIFT-NUM_KEY (the number keys at top of keyboard, not the ones on the numpad), to set the active mode, and CTRL-SHIFT-KEY_NUM to perform the action assigned to that KEY_NUM, in the current mode. i.e. 'ALT-SHIFT-5' will set the current mode to 5. 'CTRL-SHIFT-6' will perform the action assigned to that keystroke, in that mode. (i.e. with the default settings, the above actions will open kxmixer to the Soundfont page). An optional on screen display (OSD) is included that indicates the current Mode/Device (Note: Transparency of the OSD can be adjusted using the Mouse Wheel when the OSD has the focus, and right clicking on the OSD brings up a context menu that allows you to adjust some of the OSD's settings ("Allow Move" must be enabled, and the OSD must have the focus in order to access these settings)). A plugin interface is included for using kX automation to perform the same actions as the hotkeys. Any comments or ideas regarding this addon are welcome. To install: Place the plugin and addon wherever you want them to stay on your hard drive. Install the plugin as with any other plugin. For the addon, register the addon, and then restart kX mixer (if you are overwriting a previous version, make sure kxmixer is closed first, as it cannot overwrite the file while it is in use). The addon does the actual handling of the hotkeys, so it needs to be loaded (and enabled) for the hotkeys to work. The plugin is used for kX automation. It only needs to be loaded when you want to use kX automation to control the addon. -Russ Current List of possible hotkey actions: -------------------------------------------- Open/Close Plugin tweak window for specific plugin# Open/Close kX Mixer Open/Close kX Mixer to specific page Open/Close kX DSP Open/Close kX Router Open/Close kX Editor Open/Close kX Automation Open/Close kX Remote Open/Close kX Soundfont Open/Close kX Console Open/Close kX About Open/Close kX Help Open/Close Setup Buffers Open/Close Synth Compatibility Open/Close Driver Compatibility Open/Close OSD Notifications Open/Close SPDIF/I2S Status Open/Close ASIO Control Panel Open/Close 24/96 Router Open/Close Speaker Test Toggle Swap Front and Rear Toggle DOO mode Toggle Route HP to Center/Sub Toggle SPDIF Bypass Toggle AC3 PassThru Select Device Close All Plugin windows Close All Applet windows Close All windows Open/Close PluginQL Settings window Thanks to Maddogg6 for help with testing
Last edited by Russ; Nov 9, 2009 at 06:41 PM. Reason: update info |
|
|
|
|
|
#2 |
|
Apple Fanboy?
|
nice idea - any chance of adding an "alt" to the keystroke to acess those plugins numbered above 10?
__________________
Chris - The Aussie Super Mod
Hardwareheaven Rules - Sig Request Thread How you can help HardwareHeaven by using Digg! Hardwareheaven Super-Moderator |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Yes, that is done easily enough. The main concern is to try and not use any keystroke combos that might be used for other purposes. I had planned on adding more, but thought I would wait and see what people think about the idea, and try and get an idea of what the max number should be based on user feedback (I do not have a 10k2 card, so am not sure how many plugins people with those cards generally have loaded at the same time, etc.). Also, I wanted to make sure there are no bugs, as I had to use some workarounds to get it to work as an addon. At some point I might make it more customizable, but I will have to play around with it some more to see what limits are with addons, etc.
-Russ |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Added ALT-SHIFT-NUMBER_KEY sequences for plugins 11-20.
|
|
|
|
|
|
#5 |
|
Long Time ***** Friend
|
Hey Russ:
I tried the 1st one and I reinstalled 3538i just to be sure I was using the right version of kX. I double clicked on the /kXa file and it said 2 something was registered. But when I did the CTRL Shift Number on the Numberpad, nothing happened. I went and got the new file but when I try to unpack it, I get an error that says "Cannot create PluginQL.kxa Access is denied" When I download the new file. it says the size is 7.25kb. Is that the right size? EDIT: What an idiot I am!!! Nevermind the 1st file works, I just had to use the number keys by the letter keys on the keyboard. I tried that earlier but I uninstalled and reinstall the driver since, yet didnt try it with the new install of drivers. But I think the new file is messed up. LOL Russ, this is really cool man!!!!! You brought some more excitemenmt around here, after it was getting kinda dead. Thanks a lot man!!!! ![]() This quick Launch deal is cool for me with SONAR when I have a good number of softsynths and other plugins in a project, I used to have to minimized SONAR to get to the kX DSP sometimes and that was a pain because when I restore SONAR, I'd have to minimize all the softsynth and other plugin User Interfaces to see the tracks in the project. So you can see this creation of yours is really cool, helping me to avoid all that. hehe Thanks
__________________
![]() May a song always touch you in a positive way. Sonar 8.5.3 PE, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB HDD 7200 rpm, My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs Last edited by thomasabarnes; Dec 6, 2005 at 07:38 AM. |
|
|
|
|
|
#6 |
|
Long Time ***** Friend
|
LOL this is really Kool!!!
I see what you were up to now, when you were asking those techie questions not too long ago. Great job man!!!!
__________________
![]() May a song always touch you in a positive way. Sonar 8.5.3 PE, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB HDD 7200 rpm, My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Ok, remember that after you register the addon, you have to exit kx mixer and restart it before it will work (not sure why it is like that, but it appears to be an addon thing). Also, you cannot replace the file while it is in use (that is why you got the error with the new version), so exit kx mixer, replace the old version with the new version and start kx mixer (no need to re-register it if you are replacing the previous version).
-Russ |
|
|
|
|
|
#8 |
|
Long Time ***** Friend
|
Awl heck! I didnt close kX Mixer when I tried to unpack the new file. That was the problem. But I did the 1st time after I registered the .kxa.
![]() Thanks again! BTW, I wish the kX About had the information about what specific kX Version driver is installed, like 3538i, or 3538h. When I reinstalled the driver, I'm not sure if it was 2538i or 3538h I had installed. So, I really dont know what the problem was the 1st time I registered the addon tried to use it. Anyway, it's working right, now for 1-10 and 11-20. But my DSP with the most plugins is only 11.
__________________
![]() May a song always touch you in a positive way. Sonar 8.5.3 PE, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB HDD 7200 rpm, My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs Last edited by thomasabarnes; Dec 6, 2005 at 08:16 AM. |
|
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
It is really basic, but I think it is useful, and the idea could be extended to possibly control other parts of kX as well. |
|
|
|
|
|
|
#10 |
|
Long Time ***** Friend
|
That's Good news, Russ! I'll be following this thread to see what else you might come up with.
__________________
![]() May a song always touch you in a positive way. Sonar 8.5.3 PE, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB HDD 7200 rpm, My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs |
|
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
-Russ <edit> I just saw the 'BTW' in your previous post (I am not sure how I missed it before). I think that if your were using the wrong version of kX, that you would get an error when you tried to register it, but I cannot be sure. Last edited by Russ; Dec 6, 2005 at 08:19 AM. |
|
|
|
|
|
|
#12 |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
Very cool!
Great job. |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks Tiger
|
|
|
|
|
|
#14 |
|
Long Time ***** Friend
|
Sorry for being off topic, but Hi Tiger!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!
__________________
![]() May a song always touch you in a positive way. Sonar 8.5.3 PE, Windows 7 Pro 64Bit, MOTU UltraLite MK3, 150 GB HDD, 250 GB HDD, 1 TB HDD 7200 rpm, My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs |
|
|
|
|
|
#15 |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
Hi
|
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Minor update:
I removed the "NULL" entry in ' kxaddon_list_t' in addon.cpp (that I mentioned in another thread), as I do not think it is needed (it is not needed for plugins). This gets rid of a debug error message, and makes kX register only 1 addon instead of 2. Also, I forget to change the name in the registry, so I modified that as well. It is not realy a big deal, so if you already downloaded and registered the plugin, do not worry about this update. I also added a 3538h version, but I could not test it. Let me know if there are any problems with this version. (AFAIK: 3537 does not support addons, so there will not be a 3537 version). BTW: I also added an unregister script to the download page to remove the registry entries created by this addon (if you want to uninstall it, and do not want to delete the keys manually). I added another download link to the 1st post of this thread. Last edited by Russ; Dec 6, 2005 at 10:36 PM. |
|
|
|
|
|
#17 |
|
DriverHeaven Addict
Join Date: Sep 2003
Posts: 266
Rep Power: 0 ![]() |
Fantastic job! Very useful, thanks
![]() One thing, works only with my second card (card1= Audigy2), doesn't work with card0 (EMUAPS). PITmaster |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Ok, I had wondered about that, but had no way of testing it.
I think it is probably only working with which ever device was chosen when you first started kX mixer. What happens when you use it with the other card chosen? (i.e. does it do nothing, or does it open the wrong plugin? ,etc). |
|
|
|
|
|
#19 |
|
Apple Fanboy?
|
I have a pair of soundcards at my disposal. Let me know if you have any tests you need carried out
__________________
Chris - The Aussie Super Mod
Hardwareheaven Rules - Sig Request Thread How you can help HardwareHeaven by using Digg! Hardwareheaven Super-Moderator |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Ok, thanks dj_stick,
I think it should be a simple fix. I added a test version (PluginQL_Test.zip (3538i version)) to this site. If you could just see if that version works correctly with multiple cards, it would be a great help. -Russ |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
@PITmaster,
You are using 3538h, right? |
|
|
|
|
|
#22 | |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50 ![]() ![]() |
Quote:
and send the assigned midi data through the KX Control Midi port concurrently, that can be recorded by a midi host - sorta like a 'soft controller'... oops sorry, I tend to get carried away.. Just lettin the mind wander.... 'Oh Wow Man... Gooood Niborg' |
|
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
Actually I was thinking that it might be possible to do something like that (i.e. modify plugin parameters using hotkeys), but I am not sure what you mean by "send the assigned midi data...". i.e. The midi automation just controls plugin parameters, so what midi data do you mean? Also, I do not know anything about the KX Control port and do not have a midi keyboard to test such things, etc.
|
|
|
|
|
|
#24 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50 ![]() ![]() |
Well, since you asked... lol
What I had in mind was (will prolly mean driver changes..but) actually boils down to 2 parts. 1) 'Soft CC's' Just an applet that allows assigning keystrokes to send (multiple) MIDI events - on any port/channel or multiple?? - or just assign keystrokes to adjust KX automated params directly.?? So as a user - I may press and hold CTRL+ALT+1 the press up or down to adjust 1 param Ctrl+1 and space to TOGGLE (if above 65 - set to 0 - if below 64 set to 127) or Ctrl+F1 and LEFT to GATE Toggle (like 'toggle' but TOGGLES again at end of preset time period) A FADE function too maybe..?? So the CTRL + ?? (+??) is a param identifier - and the UP / DOWN / SPACE / LEFT are 'Action' keys. Obviously INC/DEC will need to use registers to keep track of their values - so its definitly not a dane thing (lol) - I may actually try to make this in FBSL (Im just starting with it and think this would be simple to accomplish) The idea behind this could actually get complex for some advanced things like A PC KB Midi Keyboard - play KX synth with PC KB and no other SW needed) or - recorded automation via midi file playback initiated by a single keystroke - all within KX ... just starts blowing my mind. (merged of course) This 'Soft CC' incorperated in a MIDIOX like router (all in KX) would be soo sweet. 2) (Prolly Change driver ??) so whan DSP GUI elemants that are automated in KX Automation, and changed in DSP - associated midi events are sent to KX Control MIDI port - so these actions can be recorded in a midi host. I see this port as an input in sonar as well as an output. |
|
|
|
|
|
#25 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50 ![]() ![]() |
Russ:
Do you know how the KB Multimedia keys are utilized with default DSP - which plugin? How its done?? I suspect its done in Xrouting - I looked at the source and cant make heads or takes if or where sensing this MM key is done - I suspect its embedded in the driver in a 10Kx register somewhere - |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
It is kind of tricky to explain (and I do not know all the details) but I believe that functionality is provided through the OS (Windows Mixer). Any program can access the mixer through the WIndows API, and thus respond to the multimedia keyboard volume keys, etc.
If you are asking what registers kX uses for the Master Volume, that would be epilog. |
|
|
|
|
|
#27 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50 ![]() ![]() |
Well, the ONLY time those keys affect KX volume is when I use the default DSP - Im not sure which plug-in was removed that caused this to stop working. But Im fairly certain its a plugin - the most likely is X-Routing - but Im not for sure.
It would be cool to have a Vol control that 'linked' to the MM keys if it IS in X-Routing, should be possible in another plug-in - no? |
|
|
|
|
|
#28 |
|
DriverHeaven Addict
Join Date: Sep 2003
Posts: 266
Rep Power: 0 ![]() |
It doesn't matter the device selection, it works only and always with the second card.
I have tried to reqister it again. I thought it depends on selected device during "Register Add-On...", so I've chose EMUAPS before but it doesn't help. I think the best solution is special keystroke combination to choose card id (if it's possible of course) PITmaster |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
@Maddogg6
Are you using epilog? If you look at kX mixer when you press the volume keys, you see that it adjusts the master volume sliders, and if you unload epilog, the master volume sliders are no longer visible in kX mixer. Also, if you look at the microcode for epilog, you will see the control registers that are used for that (MasterL and MasterR). Other plugins could use them (the volume keys), but it is a little more complicated because plugins do not have a window of thier own (other than the tweak window, which basically does not exist when it is closed). BTW: KX Console can be used to (among other things) change the value of any register in the DSP, and thus can be used to modify volumes, etc. This means that you do not necessarly need a plugin to respond to keypresses itself. i.e. You can create a Windows shortcut (with it's own shortcut keys) to call kX Console functions, and thus create your own volume keys, etc. It is a little messy, as the console window would pop up every time you press the key, but it is workable (without having to be a programmer). Also, you can using scripting languages such as VBSCRIPT to script the actions (and start kX Console hidden), and do it that way. I actually did this once for the heck of it. I probably still have the script around here somewhere... And of course, if you have VC++, you can use the kX API, and control all that stuff directly. |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,507
Rep Power: 61 ![]() ![]() ![]() ![]() ![]() ![]() |
@PITmaster,
Thanks for the info. You didn't answer my question about which kX version you are using. I think you are using 3538h, because that is what you said in another thread, but I cannot be sure that is what you are still using. I just would like to know whether or not the 3538h version works, that is why I asked. I think the change I made to the test version should make it work with mutiple cards, but I haven't heard back from anyone about it as of yet. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|