Helpful Reply[SOLVED] Keyboard shorcut to "Show/Hide Track" in PRV?

Author
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
2016/10/29 19:16:14 (permalink)

[SOLVED] Keyboard shorcut to "Show/Hide Track" in PRV?

Does anyone know how to associate a keyboard shortcut for "Show/Hide Track" in Piano Roll View, for the currently selected track?
 

 
Currently I can only do it with mouse.
 
post edited by rogeriodec - 2016/11/18 08:26:07

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#1
Skyline_UK
Max Output Level: -54 dBFS
  • Total Posts : 2133
  • Joined: 2004/04/15 17:55:09
  • Location: Midlands, UK
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/10/30 04:25:50 (permalink)
That would be handy, but I guess the shortcut wouldn't know which track you wanted to Show/Hide?

My stuff
 
Intel Sandy Bridge i7 2600 @ 3.4GHz, 4 cores, 8 threads, 16GB RAM.
OS & Programs drive: 240GB SSD
Data drives: 1 x 1TB drive RAID mirrored, plus extra 1TB data drive 
Windows 10 Home 64 bit
Cakewalk by BandLab 64 bit, Studio One 3, 
Band In A Box 2016, Ozone 8
+ too many other plugins
BandLab page
#2
Steve_Karl
Max Output Level: -50 dBFS
  • Total Posts : 2534
  • Joined: 2003/11/06 20:53:26
  • Location: Pittsburgh, PA USA
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/10/30 12:11:26 (permalink)
Yes. I agree the shortcut couldn't know which track but ...

For PRV that contain multiple tracks (I often have 10, 20, 30 in a PRV)
Untick the color of the track on the right to hide it
Hit "V" to invert the selection
Now you're only seeing one track

Hit "A" now you're seeing all tracks.

Steve Karl
https://soundcloud.com/steve_karl
SPLAT 2017.01
#3
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 12:38:18 (permalink)
Steve_Karl
Yes. I agree the shortcut couldn't know which track but ...

For PRV that contain multiple tracks (I often have 10, 20, 30 in a PRV)
Untick the color of the track on the right to hide it
Hit "V" to invert the selection
Now you're only seeing one track

Hit "A" now you're seeing all tracks.




Yes, I know these shotcuts, (also "H" to hide all tracks) but it's still missing one keyboard shortcut to show/hide the current track.
I still have to use mouse and it becomes a boring repetitive operation when you have to turn on and off the current track several times using the mouse. 

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#4
Bristol_Jonesey
Max Output Level: 0 dBFS
  • Total Posts : 16775
  • Joined: 2007/10/08 15:41:17
  • Location: Bristol, UK
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 12:53:02 (permalink)
rogeriodec
Steve_Karl
Yes. I agree the shortcut couldn't know which track but ...

For PRV that contain multiple tracks (I often have 10, 20, 30 in a PRV)
Untick the color of the track on the right to hide it
Hit "V" to invert the selection
Now you're only seeing one track

Hit "A" now you're seeing all tracks.




Yes, I know these shotcuts, (also "H" to hide all tracks) but it's still missing one keyboard shortcut to show/hide the current track.
I still have to use mouse and it becomes a boring repetitive operation when you have to turn on and off the current track several times using the mouse. 


I can understand the requirement to Hide the current track, but to show it?
 
If it's already hidden, how does SONAR know which one you want to unhide?

CbB, Platinum, 64 bit throughout
Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
#5
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 14:14:29 (permalink)
Bristol_Jonesey
 
I can understand the requirement to Hide the current track, but to show it?
 
If it's already hidden, how does SONAR know which one you want to unhide?




I think I did not express myself properly.
Just to be clear, we are talking about PRV, right?
I have for example, 10 tracks open in PRV.
Let's say I'm trying to edit the midi track 3 (which is the track with the current focus).
On my keyboard, I have to press "H" to hide all tracks and then I have to click on the "Show / Hide" button (as the image of the post #1).
It would be easier if I could do everything via keyboard, for example, "H" and then any other custom key to show again only track that has the focus.
Or better yet, if there was a way to hide all tracks EXCEPT the current track.

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#6
Bristol_Jonesey
Max Output Level: 0 dBFS
  • Total Posts : 16775
  • Joined: 2007/10/08 15:41:17
  • Location: Bristol, UK
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 17:51:45 (permalink)
Sorry, I missed the bit where you said PRV.
 
Nothing to see here.
 
Move along.

CbB, Platinum, 64 bit throughout
Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
#7
chuckebaby
Max Output Level: 0 dBFS
  • Total Posts : 13146
  • Joined: 2011/01/04 14:55:28
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 17:55:50 (permalink)
nothing here either except using the PRV menu = Pick tracks

Windows 8.1 X64 Sonar Platinum x64
Custom built: Asrock z97 1150 - Intel I7 4790k - 16GB corsair DDR3 1600 - PNY SSD 220GB
Focusrite Saffire 18I8 - Mackie Control
   
#8
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 19:27:05 (permalink)
chuckebaby
nothing here either except using the PRV menu = Pick tracks


I did not understand how it can solve this topic?

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#9
chuckebaby
Max Output Level: 0 dBFS
  • Total Posts : 13146
  • Joined: 2011/01/04 14:55:28
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/01 20:25:12 (permalink)
rogeriodec
chuckebaby
nothing here either except using the PRV menu = Pick tracks


I did not understand how it can solve this topic?


EDIT: Never mind -Good luck
 
 

Windows 8.1 X64 Sonar Platinum x64
Custom built: Asrock z97 1150 - Intel I7 4790k - 16GB corsair DDR3 1600 - PNY SSD 220GB
Focusrite Saffire 18I8 - Mackie Control
   
#10
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/18 08:24:03 (permalink) ☄ Helpfulby Steve_Karl 2016/11/20 01:27:09
After some time, I decided to create a script myself, to work around this problem, using Autohotkey.
It basically looks for the color of the active track within the PRV. Important: the color it looks for is #cfeffa (Sonar default theme); If you use another theme, change the color of the active track within this script.
And also, for the sake of ergonomics, I remaped the "E" key to perform this function. So this script will intercept this key and it will not have another function inside Sonar.
 

SetTitleMatchMode RegEx
#IfWinActive, ahk_exe i)SONAR.*exe
 
e:: ; Pressing "E" in Piano Roll View, shows only the current track and hide all others
IfWinNotActive, Piano Roll
{
send e
Return
}
ControlGetPos, x, y, w, h, ListBox1
PixelSearch, Px, Py, %x%, %y%, (x + w), (y + h), 0xcfeffa, , fast RGB
if ErrorLevel
{
MsgBox, Active track not found. Select one track in PRV.
return
}
Send, h ; hide all tracks on prv
MouseMove (Px - 38), (Py + 8) ; pos over "show/hide" button
Click
MouseMove xx, yy ; recover original mouse position
Return
 

post edited by rogeriodec - 2016/12/07 17:28:43

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#11
Brando
Max Output Level: -47.5 dBFS
  • Total Posts : 2776
  • Joined: 2003/11/06 11:47:20
  • Location: Canada
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/18 18:37:59 (permalink)
That's a clever solution. Well done.

Brando
Cakewalk, Studio One Pro, Reaper
Presonus Audiobox 1818VSL
ASUS Prime Z370-A LGA1151, 32GB DDR4, Intel 8700K i7, 500 GB SSD, 3 x 1TB HDD, Windows 10 Pro 64
#12
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
Re: Keyboard shorcut to "Show/Hide Track" in PRV? 2016/11/22 19:25:30 (permalink)
I did a little fix in the script on post #11, which is now updated.

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#13
Jump to:
© 2025 APG vNext Commercial Version 5.1