Answeredhow to edit a *.kbn file (shortcut stuff)

Author
Astra-Ios
Max Output Level: -90 dBFS
  • Total Posts : 21
  • Joined: 2015/03/28 08:15:43
  • Location: Berlin
  • Status: offline
2015/03/28 10:42:06 (permalink)

how to edit a *.kbn file (shortcut stuff)

hello people   i wonder, if there is any possibility to edit a *.kbn file. in other words, i want to have an overview about all self-created shortcuts (for me here about 70 untill 80) i made in the:  Go to Edit > Preferences > Keyboard Shortcuts     section. in the edit-view windows we all can only see nine comands at once. i have made my own keyboard with different colors and tabs to control my sonar x3 which is a dream to work with. i've tried to change the .kbn to a .txt, but nothing than numbers for programming 
 
nice greetings from berlin 
 
 
#1
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/03/28 13:00:02 (permalink) ☄ Helpfulby Astra-Ios 2015/04/01 19:28:35
Interesting; I never looked at a .kbn file before. I'm guessing the key combination codes are just hexadecimal ASCII codes, but I doubt anyone has taken the time to put together a cross-reference for the function codes. Any way you look at it, I think working through the GUI is still going to be the most efficient way to make and document your changes.

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#2
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/03/28 13:08:00 (permalink) ☄ Helpfulby Astra-Ios 2015/04/01 19:02:01
I have no idea of how to edit that, just wanted to welcome you to the forums - glad you are liking Sonar.
 
Bob Bone
 

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#3
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/03/28 13:25:22 (permalink) ☼ Best Answerby Astra-Ios 2015/04/01 19:02:11
The active custom shortcuts are stored in the registry HKEY_CURRENT_USER\Software\Cakewalk Music Software\SONAR Producer\X3\Bindings but they are still not very user friendly. At least it can be used to verify how many shortcuts are defined per view.
#4
Astra-Ios
Max Output Level: -90 dBFS
  • Total Posts : 21
  • Joined: 2015/03/28 08:15:43
  • Location: Berlin
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/04/01 19:22:04 (permalink)
hey - that's interesting anyway - thx. to edit own shortcuts in the sonar gui is kind of frustrating. a virtual software 'keyboard view' to assign the commands would be good idea. i have seen stuff like this for programming gamepads with individual commands.
#5
Astra-Ios
Max Output Level: -90 dBFS
  • Total Posts : 21
  • Joined: 2015/03/28 08:15:43
  • Location: Berlin
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/04/01 20:21:26 (permalink)

#6
Paul P
Max Output Level: -48.5 dBFS
  • Total Posts : 2685
  • Joined: 2012/12/08 17:15:47
  • Location: Montreal
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/04/01 22:55:38 (permalink) ☄ Helpfulby Astra-Ios 2015/04/03 17:39:37
 
.kbn files are just ascii text, so Notepad should do it.
 
The map and values would have to be reverse engineered, but that's probably not hard to do.
 
Here's an example section out of "SONAR Default Key Assignments.kbn"
 
[Track View]
Kx00460B=265
Kx00520B=501
...
[Piano Roll View]
Kx00520B=370
Kx00250B=379
..
[Loop Construction View]
Kx00250B=379
Kx00270B=378
[Staff View]
Kx00520B=370
Kx00250B=482
etc, etc.
 

Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
#7
Astra-Ios
Max Output Level: -90 dBFS
  • Total Posts : 21
  • Joined: 2015/03/28 08:15:43
  • Location: Berlin
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/04/03 17:39:34 (permalink)
thx paul , but what does this mean: reverse engineered?
#8
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: how to edit a *.kbn file (shortcut stuff) 2015/04/03 17:43:53 (permalink)
In this case, converting the keyboard codes and function codes into human readable key names and SONAR functions by comparing the file contents with the keyboard shortcuts in preferences.
#9
Jump to:
© 2025 APG vNext Commercial Version 5.1