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 Aug 28, 2008, 08:03 PM Threadstarter Thread Starter   #61
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Just an update... I hit a milestone just now by having my program successfully assign ALL AVAILABLE controller to kX Automation... it even handles 2 cards.. but you have to know a start MIDI CH and CC - But it does save a separate .kx file for each card.

The lookup table of guid_x was a bit of a pain, but was not too bad...

I still need to make sure that an unknown plugin (with no guid_x) in the look up table wont try to be processed. But that should be easy enough, just the testing really.

Then the simpler part to change Sonar Config Files... stay tuned.

This will make kX Automation even better!!! Oh yeah.!!!

Thanks to MAX() and RUSS() - this has been much easier with their awesome help.

And of course, E. ()


'And Id also like to thank my manager, all my fans, Joey at the Beefeater Grill, Mountain Dew, American Spirit, McDonalds, Quizno's, .... and anyone else I may have forgotten here...'

lol

Really - Thanks a lot guys....
Maddogg6 is offline   Reply With Quote


Old Aug 28, 2008, 09:23 PM   #62
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!



Quote:
Originally Posted by Maddogg6 View Post
The lookup table of guid_x was a bit of a pain, but was not too bad...
Did you try every plugin with automation to figure out that value?
Why not just ask Eugene about it?
Russ is offline   Reply With Quote
Old Aug 28, 2008, 09:55 PM Threadstarter Thread Starter   #63
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Quote:
Did you try every plugin with automation to figure out that value?
Yes.

Quote:
Why not just ask Eugene about it?
Who knows how long before he could respond..?? And I wanted to get this done while the idea was still fresh in my noggin.

Besides - it was not so bad... I used autohot key to automate (with its Macro Record/playback on hotkey press);
Opening kX Automation
automate mouse movement/clicks to add 1 control to each plugin - it automatically skipped plugins with no available controls
save kX file with incrementing name, and save with DSP config (so I have GUID's and plugin Name too)

Tho I had to load each plugin into the DSP, luckily, I didnt need to connect them

Then I loaded each kx file saved from above in Notepad+ that has macros and a REGEX search & replace - Which became a TAB delimited CSV - which I copy into Excel to strip out all the Un-needed fiedls - and pasted back into notepad - and changed the TABS to a '|' I used in my program as a delimeter.

Yes, I know there were a ton of ways I could have used to do this - but this way was quickest way for me to 'git er done'... other ways would have added learning curve be it more advanced REG EX in any language (or in Textpad+) - (re: getting rid of min_X - where x is changing for instance - was easier to split into fields that can be easily deleted in Excel)

If theres a way to calculate, or otherwise get that guid_x - later then that can be implemented later in leu of the lookup table file I made.

Even if just to automate making that lookup file, and execute a new 'table maker' program, would be pretty simple for even me.

But yes - I was determined and did it all in a way I was capable of. And its somewhat user friendly if you can read a console screen.
ie "Locate your MASTER.INS file - press any key' - then a windows 'File Open' dialog opens up and the user simply finds their file.
Sonar, btw, turns outs only 1 file is needed to be edited.

If anyone wants me to look at automating controller names in another program, I can give it a shot, although a text file is easiest, I could try other file types.

I dont have Access to Cubase atm, so I dont have a clue what is involved with that... but PM me - I'll give ya an email to use to send the file that stores controller names for your daw and I will attempt to make a way to accomodate for that DAW.

The good news is - it looks like Sonar hasnt changed the way this info is kept since it was still Cakewalk Pro - So All versions of Sonar *should* work - if not, with only minor tweaks - but I would need that versions MASTER.INS - or related files to implement those version.
Maddogg6 is offline   Reply With Quote
Old Aug 28, 2008, 10:07 PM   #64
h/h member-shmember
 
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69
Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!

Who knows how long before he could respond..??

He's on vacation now.

---

btw. could you please give an example *.ins file?
(Not to filch a fun from you, but i'm planning to add this functionality to the 'autohack' (e.g. generating *.kx and other supplementall files) when we have this guid_x sectret uncovered ).
__________________
Max M. is offline   Reply With Quote
Old Aug 28, 2008, 10:17 PM Threadstarter Thread Starter   #65
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

V1 - as it is only adds automation controls to kX Automation... so its still quite handy - but next version will have ability to automate a DAWS ability to use friendly names for these automatons of kX like 'MX6 - inVol_1' as a MIDI COntroller for one channel of kX Control MIDI OUT PORT..

Its called kXA2 (kX Project Automation Automation)

MD6_kX Stuff eSnips Folder

Post here if you find problems, I will do my best to fix it.

edit: @Max - I added the file at the site above too...

Brief explanation...

The '.Controller Names' section (at line 2436) - when defined (edit: and is 1 of 2 thing to define /edit) Will give the user the ability to select a pool of controller names to a single MIDI PORTS channel...
Quote:
[kX DSP Send-o-licious]
1=1 Coax Reverb Send
2=2 Line2 Reverb Send
3=3 Aux2 Reverb Send
4=4 Coax Chorus Send
5=5 Line2 Chorus Send
6=6 Aux2 Chorus Send
7=7 Coax Delay A Send
8=8 Line2 Delay A Send
9=9 Aux2 Delay A Send
10=10 Coax Phaser Send
11=11 Line2 Phaser Send
12=12 Aux2 Phaser Send
13=13 Coax Delay B Send
14=14 Line2 Delay B Send
15=15 Aux2 Delay B Send
So for each 127 controllers - on a single MIDI channel - you need to created a another definition pool that can be assigned to another kX Control MIDI channel

Near the bottom ... we assign the Controller names to an Instrument.
It should be pretty obvious with that pic I added. But let me know if you need more info on anything...
Quote:
[KX Control]
Control=kX DSP Send-o-licious
So we need a control AND instrument definition for each 127 controllers,

It will still be upto the user to define each kX COntrol MIDI Channel an instrument - because of the various names that can be had for the MIIDI ports.
It still may be possible but that is defined in the INST.INI file...
But a table of all the possible device names and [XX00] IO locations would need to be used or something...?? (in the case of someone with 2 SBLives for instance.)

I hope that makes sense - it may not be obvious from just the file, seeing the dialog for defining the instruments in Sonar may make that easier.... I'll post a pic of that for ya too.

Last edited by Maddogg6; Aug 28, 2008 at 10:44 PM.
Maddogg6 is offline   Reply With Quote
Old Aug 28, 2008, 11:12 PM Threadstarter Thread Starter   #66
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Oh yeah - no I remember why auto assigning an INSTRUMENT to a MIDI Port...
Quote:
; Cakewalk Instrument Assignments.
; We recommend that you do not edit this file by hand.
512=Yamaha XG
513=Yamaha XG
514=Yamaha XG
515=Yamaha XG
516=Yamaha XG
517=Yamaha XG
518=Yamaha XG
519=Yamaha XG
520=Yamaha XG
521=Yamaha XG Drum Kits
522=Yamaha XG
523=Yamaha XG
524=Yamaha XG
525=Yamaha XG
526=Yamaha XG
527=Yamaha XG
1280=KX Control
1281=<default>
1282=<default>
1283=<default>
1284=<default>
1285=<default>
1286=<default>
1287=<default>
1288=<default>
1289=<default>
1290=<default>
1291=<default>
1292=<default>
1293=<default>
1294=<default>
1295=KX Control
1536=KX Control
1792=J-Station
1793=<default>
1794=<default>
1795=<default>
1796=<default>
1797=<default>
1798=<default>
1799=<default>
1800=<default>
1801=<default>
1802=<default>
1803=<default>
1804=<default>
1805=<default>
1806=<default>
1807=<default>
And here is the TTSSEQ.INI file that keeps all the enabled MIDI Ports...
Quote:
[Options]
EchoDxiInputToAllMidiTracks=0
PumpDataMsec=500
[MIDI Input Devices]
0=In-A USB MidiSport 2x2
1=kX Control SB0350 10k2 [b800]
MaxInPort=1
[MIDI Output Devices]
0=kX Synth SB0350 10k2 [b800]
1=kX Synth2 SB0350 10k2 [b800]
2=kX Uart SB0350 10k2 [b800]
3=kX Synth CT4832 10k1 [b000]
4=kX Synth2 CT4832 10k1 [b000]
5=kX Control CT4832 10k1 [b000]
6=kX Control SB0350 10k2 [b800]
MaxOutPort=6
[MIDI Echo Devices]
MaxEchoPort=-1
Those 'XXX=' seem to be a reference to a particular MIDI port enabled in Sonar.
So that may be trickier... but to leave it up to the user to define the MIDI Ports channels an instrument is still a whole lot better than manually tying in all those control definitions... thats a HUGE PITA....

So just editing the MASTER.INS file is (way) good enough IMHO.
Maddogg6 is offline   Reply With Quote
Old Aug 29, 2008, 12:29 AM   #67
h/h member-shmember
 
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69
Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!Max M. is just super!

Aha, very thanks. I'll take a deeper look into this when time comes (i think i'll wait for the guid_x to be exposed - i've already added a few sketches for *.kx generation - but still no go w/o understanding of guid_x)
__________________

Last edited by Max M.; Aug 29, 2008 at 12:36 AM.
Max M. is offline   Reply With Quote
Old Aug 29, 2008, 09:57 AM Threadstarter Thread Starter   #68
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Update... follow the link for V2 of kxAA - aka kXA2...
Edit: Found a bug... will repost when fixed.. /edit
edit2: Fixed bugs http://www.esnips.com/web/MD6kXStuff/ /edit
it now edits a Sonar 'master.ins' file to bring all the assigned plug-in controller names.

All you have to do is assign the kX Control OUT port (options>Instruments) and assign these new instruments to the relavent Channel. (if you choose MIDI CHannel 4 - then assign kX Control Midi Channel 4 to the first new instrument.
It supports multiple cards, and *should* work up to all 16*127 Midi CC/Channels that are possible... but, I didnt test extensively. And I am tired now.

Is it perfect? - probably not. Does it have bugs? If you look hard enough, probably. Does it make life 1000 times easier to use kX Automation in Sonar - OH YES!

Report bugs, feature requests please - but I am not good enough to guarantee action. Somethings are just over my head.

Id bet whatever Max comes up with, as he hints to, will be far superior - but this will do for the time period.

Enjoy.

Last edited by Maddogg6; Aug 30, 2008 at 04:07 AM.
Maddogg6 is offline   Reply With Quote
Reply

Thread Tools