Author Topic: CC2PC, for panup  (Read 6015 times)

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
CC2PC, for panup
« on: February 26, 2016, 04:44:44 PM »
From http://forum.cakewalk.com/FindPost/3376802

You can try the following combination with AZCtrl:

* insert AZCtrl, set its input to AKAI controls input and its output to RME MIDI1 (whith Korg). That way it will receive MIDI from AKAI and send to Korg. If you decide to use AZCtrl as full feature plug-in for AKAI later, so it also send info back to it, there is another option. But lets keep it simple first.

* convince some encoder on AKAI send absolute CC values  (1-127). You should see either it works in the "Last MIDI event". Complete Quick start (do not worry the text is long, it is just detailed, should take 1-5 minutes to complete).

* load attached preset and in the Hardware tab "Assign MIDI" to your control

* check either Patch is changing on Korg...

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #1 on: February 26, 2016, 07:43:21 PM »
This is something I was not expecting! Wow.  :)
I'll check this later tonight.

THANKS!

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #2 on: February 26, 2016, 11:35:44 PM »
I got stuck in intalling...
How do I load the .spp preset?

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
Re: CC2PC, for panup
« Reply #3 on: February 27, 2016, 12:41:33 AM »
Sorry, every time I decide to be short that is on wrong place  ;)

Sonar "Utilities" menu, "Cakewalk Plug-in Manager".
Select "Control Surfaces", "AZ Controller", press "Import..." and select the file. Press ok.

The preset should appear in the list then. In rare cases Sonar restart is required (happened with me once within 2 years...)

Note that the same way you can save/load presets for any plug-in (DX, VST).

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #4 on: February 27, 2016, 01:05:22 AM »
Thanks!
This was the first time I have ever imported Control Surfaces preset in the Plug-in manager.
Preset loaded succesfully!:)

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
Re: CC2PC, for panup
« Reply #5 on: February 27, 2016, 09:01:04 AM »
That sounds promising, but does it works? 

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #6 on: February 27, 2016, 03:41:49 PM »
No, but it may be user error...
I examine this later tonight.

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
Re: CC2PC, for panup
« Reply #7 on: February 27, 2016, 06:08:45 PM »
I can try to test what could go wrong on my side, but first check:

1 When you turn the knob, in the "Last MIDI Event" you see something like "Ch:1 CC:95 Value 77 | PC ()". All 3 numbers are different in your case, that is ok.
1.1) If you do not see anything at all, check your AKAI is sending something
1.2) If you do not see "| PC()" part, you forgot to "Assign MIDI" in the Hardware tab

2. (assuming you have got (1) correctly) Switch to the the "Overview" Tab. When you turn the knob, you should see as the last executed Action:
"MIDI: end: : c0 66" (66 should change when you turn the knob, but C0 (Program Change on Channel 1) should be there).

If all that looks find and your Korg is configure to response on Channel 1 (I haven not checked either that is the default, the documentation is long... but probably you know), but there is no patch changing, I can dig deeper...

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #8 on: February 29, 2016, 02:03:54 AM »
It works!
I had missing assignment on the Hardware tab.

Now this gets a bit more advanced but is it possible to add a little buffer to receive CCs and send only the last one after no more same CCs are being received (~100 ms)?  Why? Because changing program from 0 to 127 is quite slow; all program changes are send to the slow MIDI cable. Program change from 0 to 127 takes over 10 seconds.

1 Read incoming CC
2 Sleep 20...250 ms
3 Check if a new incoming CC is in the buffer.
4 Yes: skip CC and go back to 2
5 No: Exit loop and do the work.



Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
Re: CC2PC, for panup
« Reply #9 on: February 29, 2016, 09:14:14 AM »
New preset is attached. I can not test it, so please excuse me in case I have made a typo.
You can control the speed of reaction by changing "in 3 cycles" option of "Reset PC :: Timer" Action. One cycle (while the subject of Sonar configuration) is ~1/13 of a second.
It should work exactly as you describe, till you stop turning the know nothing should happened.

AZCtrl has all kind of "heavy weapon" for such operations. In this case, I arm the timer with delay which send PC to your Korg. In case there are new CC before the timer is due, it is rearmed (forgetting previous due time).

I also display the value sent in "Control Surface" Sonar Control Bar module.
« Last Edit: February 29, 2016, 09:20:14 AM by azslow3 »

Offline Panu

  • Newbie
  • *
  • Posts: 8
Re: CC2PC, for panup
« Reply #10 on: March 01, 2016, 12:52:57 AM »
New preset works perfectly!
Thank you! I'll have to read in-depth instructions to make more controls like bank changes myself.  :)


THANK YOU!

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
Re: CC2PC, for panup
« Reply #11 on: March 01, 2016, 01:05:09 AM »
You are welcome  :)