Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 06-28-2019, 10:31 AM   #161
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

Hi ! Just discorvered the project. So as far as I understand, ReaKontrol seems to bring support of NI keyboard special key (play, rec etc) to REAPER. Good !


Question: it seems mac only, any plan for other OS ?


Also, how does it works ? (is it using MIDI CC, OSC, or any other type of signal ?)
X-Raym is offline   Reply With Quote
Old 06-28-2019, 10:40 AM   #162
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,797
Default

It's not Mac-only, I have it working here.
EvilDragon is offline   Reply With Quote
Old 06-28-2019, 10:53 AM   #163
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@EvilDragon
There is Mac version ? I can only see a .dll
X-Raym is offline   Reply With Quote
Old 06-30-2019, 01:58 AM   #164
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Quote:
Originally Posted by EvilDragon View Post
Also, a question - how hard would it be to make the mixer volume controls go in 1 dB steps precisely, and have current 2 decimal points precision when holding Shift?
this and other features in latest release v0.93:
https://forum.cockos.com/showthread.php?p=2152531

Tempo+4D in next release as part of "Extended Edit"...
brummbear is offline   Reply With Quote
Old 06-30-2019, 10:40 AM   #165
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,797
Default

Awesome!
EvilDragon is offline   Reply With Quote
Old 07-03-2019, 07:55 AM   #166
Opcode 7
Human being with feelings
 
Join Date: Mar 2017
Posts: 79
Default

Hello! Would someone beable to help troublehsoot why I can't get ReaKontrol.dll to load / do anything?

I've disabled all the MIDI Inputs and Ouputs of my Komplete Kontrol MK2 S88 in the MIDI Devices Preferences. Then, I placed ReaKontrol.dll in my UserPlugins directory -- but when I load REAPER -- I don't see any of the transport controls illuminate or anything like that.

I double checked I do not have any of the midi ports aliased (which was the issue for someone else on these forums)

Is there a window, or log file anywhere of what plugins REAPER sucessfully loaded, or are currently running, etc?
Opcode 7 is offline   Reply With Quote
Old 07-03-2019, 10:15 PM   #167
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Try this in the following order:
0. Keyboard switched off, Reaper not running:
1. Start Windows task manager and go to services tab
2. Right click „NIHostIntegrationAgent“ (aka NIHIA) and restart the Service
3. Switch on your keyboard
4. Make sure the keyboard shows the MIDI screen. This shows that NIHIA communicates with the keyboard.
5. Start Reaper. Now all lights on your keyboard should turn on.

I noticed that NIHIA has gotten more flakey with the latest MCU update. Restarting the service as described above may resolve issues of NIHIA not communicating properly with the keyboard.

It is not necessary to deactivate all MIDI ports. Just follow the steps in the pdf manual.
brummbear is offline   Reply With Quote
Old 07-04-2019, 07:36 AM   #168
Opcode 7
Human being with feelings
 
Join Date: Mar 2017
Posts: 79
Default

Thanks for the reply, no luck though. I know REAPER is loading the DLL, because when REAPER is open, I cant delete "ReaKontrol.dll".

And I know my Keyboard is in working order because when I load up Ableton Live, all the lights on my KKMK2 light up.

What to check next?
Opcode 7 is offline   Reply With Quote
Old 07-04-2019, 08:28 AM   #169
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,797
Default

Did you perhaps rename the S-series keyboard in Preferences>Audio>MIDI Devices? Don't do it, revert to default name.
EvilDragon is offline   Reply With Quote
Old 07-04-2019, 11:21 PM   #170
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Quote:
Originally Posted by Opcode 7 View Post
Thanks for the reply, no luck though. I know REAPER is loading the DLL, because when REAPER is open, I cant delete "ReaKontrol.dll".

And I know my Keyboard is in working order because when I load up Ableton Live, all the lights on my KKMK2 light up.

What to check next?
Two questions:
1. Did you follow exactly the above suggested procedure without success, i.e. did you restart NIHIA in the order described above?
2. You say "ReaKontrol.dll". This is actually not the name of the plugin. The name is "reaper_kontrol.dll". Did you rename it? Don't do that.


If both of the above do not lead to success then maybe there is a timing issue. Currently, immediately on startup of Reaper, the extension
a) checks for the presence of a MIDI device "Komplete Kontrol DAW - 1" and
b) sends a MIDI command via "Komplete Kontrol DAW - 1" to NIHIA which in turns sends a message to the keyboard which opens the deep integration session.
It is possible that this mechanism is not the most robust. Depending on the thread architecture of Reaper it could be possible that on some installations it takes Reaper a few ms longer than on others to recognize the MIDI devices and report them to the plugin which is loaded on startup. Another possibility is that the MIDI command is sent to quickly. In the midterm I may revisit this topic and make the startup mechanism more robust, e.g. by forcing to manually include the keyboard as control surface.
brummbear is offline   Reply With Quote
Old 07-09-2019, 07:07 AM   #171
Opcode 7
Human being with feelings
 
Join Date: Mar 2017
Posts: 79
Default

Quote:
Originally Posted by brummbear View Post
Two questions:
1. Did you follow exactly the above suggested procedure without success, i.e. did you restart NIHIA in the order described above?
2. You say "ReaKontrol.dll". This is actually not the name of the plugin. The name is "reaper_kontrol.dll". Did you rename it? Don't do that.

1. Yes, exactly
2. Sorry, I am typing from memory either at work or on my phone. I did not rename the plugin.
3. I am a programmer so Ill just try downloading your source code on github and compiling the plugin with your aforementioned timing changes, unless you have any other ideas?!

Thanks!
Opcode 7 is offline   Reply With Quote
Old 07-09-2019, 11:45 AM   #172
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Hmmm, another potential problem could stem from a (previous) Mk1 installation... Did you ever have a Komplete Kontrol Mk1 Keyboard connected to your PC?

You could also do a quick tests by sending the “Hello” command to your keyboard to see if the lights go on (that would prove that Reaper can talk to the keyboard correctly): remove the plugin from the user folder. Then, from Reaper, send MIDI CC 0x01 (i.e. “Modulation”) on channel 16 to “Komplete Kontrol DAW - 1” . You can even do that quick and dirty with ReaControlMidi, or you write a few lines of jsfx.
brummbear is offline   Reply With Quote
Old 07-20-2019, 09:51 AM   #173
Opcode 7
Human being with feelings
 
Join Date: Mar 2017
Posts: 79
Default

Hi Baer,

When I use ReaMIDI or whatever it's called to send the CC 0x01 HELLO message to my KKS88MK2, nothing happens. Additionally, I downloaded the source code of your reakontrol branch, enabled the debug defines, added some new ones, etc -- then compiled and tested -- and determined that when the plugin loads in REAPER it's able to locate the input and output of the kkmk2, and even gets to the point where it init's the control surface:

this->_sendCc(CMD_HELLO, 0);
this->_sendCc(CMD_UNDO, 1);
this->_sendCc(CMD_REDO, 1);
this->_sendCc(CMD_CLEAR, 1);
this->_sendCc(CMD_QUANTIZE, 1);

Yet nothing visible happens on my KKS88MK2....any ideas? When the keyboard receives the HELLO, does the KKS88MK2 have to be on a particular screen, or does any setup need to happen inside the KKS88MK2 settings anywhere, etc? (I think you said the screen with the MIDI ports but obviously that's not working =p)

p.s. Note: Ableton is able to take control of the KKS88MK2 just peachy

ReaScript console output on REAPER Open:

CALL: SetRepeatState
CALL: SetSurfaceMute - Track: 0 Mute 0
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetTrackListChange
CALL: allMixerUpdate
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceMute - Track: 0 Mute 0
CALL: SetSurfaceRecArm - Track: 0 Armed 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSolo - Track: 0 Solo 0
CALL: SetPlayState
CALL: SetSurfaceMute - Track: 0 Mute 0
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfacePan - Track: 0
CALL: SetRepeatState
CALL: SetPlayState
CALL: SetTrackListChange
CALL: allMixerUpdate
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceMute - Track: 0 Mute 0
CALL: SetSurfaceRecArm - Track: 0 Armed 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSolo - Track: 0 Solo 0
CALL: SetTrackListChange
CALL: allMixerUpdate
CALL: SetSurfaceVolume - Track: 0
CALL: SetSurfacePan - Track: 0
CALL: SetSurfaceMute - Track: 0 Mute 0
CALL: SetSurfaceRecArm - Track: 0 Armed 0
CALL: SetSurfaceSelected - Track: 0 Selected: 0
CALL: SetSurfaceSolo - Track: 0 Solo 0
Opcode 7 is offline   Reply With Quote
Old 07-20-2019, 11:24 AM   #174
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Upon sending HELLO (you can even do this with MIDIOX) additional lights should illuminate. If this is not the case the culprit could be:
- Firmware of keyboard: Check the Version, in case of doubt you could simply re-update it (= reflashing)
- NIHIA and NI Hardware Service: Uninstall and then reinstall

You can download both the firmware updater as well the drivers directly from NIs support pages. I recommend this over using Native Access.

If none of this helps I am out of ideas. Maybe something in the underbelly of your Windows installation and NI drivers? The fact that Ableton works is not a reliable indicator because NI supplied two versions for deep integration (initially OSC based and later - I read - also using the newer MIDI protocol that ReaKontrol uses too). However, when I checked last time the Ableton integration was still using OSC.
brummbear is offline   Reply With Quote
Old 07-25-2019, 02:44 PM   #175
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Quote:
Originally Posted by EvilDragon View Post
Would really love to see that TEMPO+4D encoder to set tempo explicitly rather than tapping.
Implemented in latest release v0.94. However, using the METRO button followed by 4D encoder. This has to do with limitations in NI's MIDI protocol... Check out the updated manual to take full advantage of the new functions.

https://forum.cockos.com/showthread....98#post2161898
brummbear is offline   Reply With Quote
Old 10-06-2019, 02:34 PM   #176
pryere
Human being with feelings
 
pryere's Avatar
 
Join Date: Nov 2013
Posts: 139
Default

Quote:
Originally Posted by RobertP View Post
So good to see this moving on - sorry for my doubts

@ BlindFish
Works for me

In Reaper Options > Preferences > MIDI Devices
inputs:
KK1 should be Enabled + control
KK EXT disabled
KK DAW 1 disabled

outputs:
all KK disabled

In Reaper Options > Preferences > Control/OSC/WEB :
Control Surface Mode > ADD Mackie Control Universal
MIDI input: KK DAW 1
MIDI output: kk DAW 1

leave the surface offset at 0
and the size tweak at 9
leave the two checkboxes blank

Don't forget to APPLY before ok-ing

I have this in pictures somewhere from a guy on NI forum who comes here too sometimes - Aymara, many thanks to him/her

Here: http://tinyurl.com/yd2ce4hh
I had to apply this again today following the latest Windows update. Still works great. Peace
pryere is offline   Reply With Quote
Old 12-12-2019, 08:32 AM   #177
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,066
Default

This is really unrelated to this thread. I would suggest starting a new thread.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 12-12-2019, 09:07 AM   #178
georgemickel
Human being with feelings
 
georgemickel's Avatar
 
Join Date: Jun 2018
Location: Pewaukee,WI
Posts: 283
Default

Will do Stevie
georgemickel is offline   Reply With Quote
Old 01-07-2020, 07:41 AM   #179
LordFader
Human being with feelings
 
Join Date: Dec 2019
Posts: 51
Default

Awesome work Mr. brummbear!
I hope you are on Natives pay list

Sadly the Instance Focus gets lost when you rename the Komplete Kontrol plugins in Reaper. The tag "VSTi: Komplete Kontrol" must be intact.

I normally like to rename my KK Plugins to what is really inside.
This way its easier to not get lost when you have like 10 or 20 KK in your project.

Maybe there is a way to program that all Plugins with a "KK" or a "*" at the beginning of the name gets also recognized.
Like "KK Strings" or "* Strings" for example.

Last edited by LordFader; 01-07-2020 at 08:32 AM.
LordFader is offline   Reply With Quote
Old 01-19-2020, 12:02 AM   #180
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Quote:
Originally Posted by LordFader View Post
Awesome work Mr. brummbear!
I hope you are on Natives pay list

Sadly the Instance Focus gets lost when you rename the Komplete Kontrol plugins in Reaper. The tag "VSTi: Komplete Kontrol" must be intact.

I normally like to rename my KK Plugins to what is really inside.
This way its easier to not get lost when you have like 10 or 20 KK in your project.

Maybe there is a way to program that all Plugins with a "KK" or a "*" at the beginning of the name gets also recognized.
Like "KK Strings" or "* Strings" for example.
This can be done very easily even without programming knowledge. You can change the detection yourself to whatever prefix you like (e.g. your suggested ones) by simply changing the string in the source code and then compile for yourself:

const char KK_FX_PREFIX[] = "VSTi: Komplete Kontrol";

If you don't want to get that involved you can still rename the fx instances - you only need to keep the prefix "VSTi: Komplete Kontrol" and then add whatever you have "inside", e.g. "Strings"
brummbear is offline   Reply With Quote
Old 01-19-2020, 07:59 AM   #181
woodslanding
Human being with feelings
 
woodslanding's Avatar
 
Join Date: Mar 2007
Location: Denver, CO
Posts: 633
Default

Quote:
Originally Posted by _Stevie_ View Post
Okay, just uploaded a quick GIF. Data tracking is turned off, btw.
Maybe I have too many libraries installed...

Wait! How did you get that cool VI popup menu???

EDIT: oops, sorry should have read a little further....
__________________
eric moon
Very Stable Genius
https://gogolab.com/
woodslanding is offline   Reply With Quote
Old 01-19-2020, 06:22 PM   #182
LordFader
Human being with feelings
 
Join Date: Dec 2019
Posts: 51
Default

Quote:
Originally Posted by brummbear View Post
This can be done very easily even without programming knowledge. You can change the detection yourself to whatever prefix you like (e.g. your suggested ones) by simply changing the string in the source code and then compile for yourself:

const char KK_FX_PREFIX[] = "VSTi: Komplete Kontrol";

If you don't want to get that involved you can still rename the fx instances - you only need to keep the prefix "VSTi: Komplete Kontrol" and then add whatever you have "inside", e.g. "Strings"
Thank you for your prompt reply!
When i open the reaper_kontrol.dll with a text editor the only thing i can find is
"GetParamName VSTI: Komplete Kontrol" but this doesn't work.
I guess i need to open the dll with a different tool right?
LordFader is offline   Reply With Quote
Old 01-20-2020, 07:06 PM   #183
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

yeah, the proper way of doing this is editing the source code and then recompile. ReaKontrol is open source: https://forum.cockos.com/showthread.php?t=222331

(If that is not your cup of tea you might get away with a Hex Editor rather than text editor. You could try to change the string to something shorter and make sure you have a 0x00 value as end of string delimiter after the last character.)

I do not plan to change from the standard in future updates though. Hence, if you fiddle like that you would have to do this for every future update of ReaKontrol or miss out on upcoming improvements...
brummbear is offline   Reply With Quote
Old 07-24-2020, 02:44 AM   #184
elmuz
Human being with feelings
 
Join Date: Apr 2017
Posts: 27
Default

MIDI editor: I press "QUANTIZE" on Komplete Kontrol S-61 kk2. Instead of quantization, a window pops up: "Track Recording Settings: Track 1"
What did I do wrong? Forgot something?
elmuz is offline   Reply With Quote
Old 07-24-2020, 10:09 PM   #185
brummbear
Human being with feelings
 
brummbear's Avatar
 
Join Date: May 2016
Location: out west
Posts: 301
Default

Quote:
Originally Posted by elmuz View Post
MIDI editor: I press "QUANTIZE" on Komplete Kontrol S-61 kk2. Instead of quantization, a window pops up: "Track Recording Settings: Track 1"
What did I do wrong? Forgot something?
https://forum.cockos.com/showpost.ph...&postcount=253
brummbear is offline   Reply With Quote
Old 11-04-2022, 02:46 AM   #186
Boehmrunner
Human being with feelings
 
Join Date: Mar 2017
Posts: 6
Default Urgh

Hi,

I'm not sure what I'm doing wrong, but I clearly am doing/not doing something that will make this work.

I tried installing via ReaPack, but that didn't seem to load everything (missing the dll file). I then tried to follow the manual instructions, but that didn't seem to work.

Next up I tried building the script, which I've never done before, and which didn't work for me. What file do I use to put the amended make --build . --target install command line? Is that the .dll and do I just open that in Xcode?

Mac Studio Max running Monterey.

Thanks!
Boehmrunner is offline   Reply With Quote
Old 11-04-2022, 07:08 AM   #187
helgoboss
Human being with feelings
 
helgoboss's Avatar
 
Join Date: Aug 2010
Location: Germany
Posts: 2,199
Default

Hey, cool project! Never tried it with my old Kontrol S49 but might give it a go soon.

I've started an attempt to do sort of the opposite: Making NKS preset browsing possible WITHOUT Komplete Kontrol keyboards and (almost) WITHOUT Komplete Kontrol software. Thought some of you might be interested in this as well:

https://forum.cockos.com/showthread.php?t=272220

It can be used with any controller. In the following video, you can see it in action with a control surface device and mini keyboard

helgoboss is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.