Helpful ReplyFastest way to change gain of waveform?

Page: 12 > Showing page 1 of 2
Author
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
2018/11/09 05:21:52 (permalink)

Fastest way to change gain of waveform?

Hi,
 
Maybe it already exists but I'm curious if there is a super-quick way to change the gain +/- on the waveform? Like highlight the section of interest, and then hit 1 key, maybe a number key to raise/lower it a percentage? Right now I highlight the section of interest, then go into Process, Apply Effect, Gain and then select from a drop-down list of however many DBs of +/- I want which takes a bit of time. I know I've asked for this type of feature update before. Does anybody know if it has been created or of a faster method?
 
Thanx, Frederick
#1
promidi
Max Output Level: -66 dBFS
  • Total Posts : 1220
  • Joined: 2014/11/21 18:46:39
  • Location: South Australia
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/09 06:28:11 (permalink)
Clip gain automation perhaps?

Windows 10 64bit fully patched, 16 gig ram . 
PCR-800 Controller.  (Working in Win 10 1809 64bit)
CPU: i5 4670. 
Video: Nvidia GTX560ti (latest drivers).
Audio IF: Focusrite 2i2 2nd Gen

Internet always on.

Software
: Cakewalk by Bandlab (2018.09 B29)
ASIO mode. 24bit 48khz 256 samples 
Rapture Pro, AAS GS2, VS-3, EP-4, VA-2, Chromophone 2, Z3TA+ 2, Addictive drums 2, Addictive Keys, Mpowersynth (latest), Iris 2, GPO5, Sampletank 3,
#2
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/09 11:17:19 (permalink)
Hi:)
 
I have 4 Autohotkey Hotkeys for that:
 
Shift + 7      -3 dB
Shift + 8      -1 dB
Shift + 9      +1 dB
Shift + 0      + 3 dB
 
Here is the Cakewalk Section from the Gain.ahk:
 
The other Hotkeys are for opening the flyout window (Ctrl + J) of the ProChannel EQ and for backing up the last 5 Dirs of my Recording partition ( Ctrl+Alt+B ).
 
 
#IfWinActive, ahk_exe Cakewalk.exe

^j::
Click 135,310,1
Send, {PgUp}{PgUp}
Click 165,450,1
Return

NumpadDot::
 Send {,}
Return

+7::
Send {Alt}m{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return

+0::
Send {Alt}m{Enter}g{Tab}3{Tab 7}3{Tab 2}{Enter}
Return

+8::
Send {Alt}m{Enter}g{Tab}-1{Tab 7}-1{Tab 2}{Enter}
Return

+9::
Send {Alt}m{Enter}g{Tab}1{Tab 7}1{Tab 2}{Enter}
Return

^!b::
source_Path := "R:\"
FilePattern := "*.*"
target_Path1 := "B:\Backup - Musik\"
target_Path2 := "A:\OneDrive\Studio - Record NAS\"
MaxCopys := 5
Runwait, % comspec " /c dir """ source_Path FilePattern """ /T:W /B /O-D | clip",, hide
Loop, parse, clipboard, `n, `r
  {
    oCopy := source_Path A_loopField
    If (Instr(FileExist(oCopy), "D"))
        RunWait % comspec " /c xCopy """ source_Path A_loopField """ """ target_Path1 A_loopField """ /s /i /y",, Hide
    If (Instr(FileExist(oCopy), "A"))
        FileCopy, % oCopy , % target_Path1 "\*.*"
    If (A_index=MaxCopys){
        RunWait % comspec " /c xCopy """ source_Path "*.*" """ """ target_Path2 "*.*" """ /s /i /y",, Hide
        Msgbox 0x40000,, % "Copied last " MaxCopys " files/diretories modified!!"
        Break
    }
 }
Return

#IfWinActive

 
Greetz,
Bassman.
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#3
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/09 16:07:36 (permalink)
Bassman,
 
Thanx for responding with a detailed response but can you explain how to put these in my Sonar program? I tried the simple: highlight, hit shift + 7, etc and nothing happened as expected as I figure first you need to install this programming somehow and it's not a default Sonar method but something you created yourself. Is this something I can just copy and paste into a location in the .exe file?
 
Please advise, and thanx, I figured somebody must have figured this out by now
#4
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
  • Total Posts : 26036
  • Joined: 2006/09/17 11:23:23
  • Location: Everett, WA USA
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/09 16:39:25 (permalink)
Autohotkey is a free utility that lets you script just about any action and link it to a keyboard shortcut.


All else is in doubt, so this is the truth I cling to. 

My Stuff
#5
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/10 06:24:31 (permalink)
Hi:)
 
@user390096
 
1. Install Autohotkey  --> https://www.autohotkey.com/
2. Download this "AHK" File --> https://1drv.ms/f/s!Al2mKojzOW0Ml5hMn65m7Id8IVJs7g
3. Start this file before you start Cakewalk, but in administrator mode.
4. Ready
5. In Cakewalk just mark a piece of audio and press either Shift+7,8,9 or 0 to change the gain of the selected piece.
 
It's faster than to do it with clipgain! 
 
Have fun;)
 
Bassman.
 
P.S. If it doesn't start, right click on the file and choose compile script and you get an exe file of the ahk file. Try to start this in administrator mode!
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#6
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 04:17:10 (permalink)
Thanx for the details Bassman. I was away for a few days. I'll give this a try ASAP.
#7
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 04:59:46 (permalink)
Hmmm.... Nothing is happening. I installed the AutoHotkey program, then downloaded and think I installed/started the AHK file as administrator, then opened a song in Sonar, highlighted a little part of a wave and started hitting various combinations of [shift] and [7], as well as [shift] [+] [7]. I discovered I couldn't use the "7" at the top of the keyboard as holding shift down while hitting "7", gives me the "&" so I used the dedicated numeric section of my keyboard. I also tried the other numbers and have rebooted a few times but don't see it working.
 
Am I supposed to see some sort of program open as I don't see anything on screen after I supposedly open it? When I open it in Windows 10 as administrator, it asks me if I want to make changes, etc, I say OK, and then it appears to do something very quickly but I don't see that anything pops up letting me know it is running behind the scenes. I do see an icon for it along the taskbar in the "show hidden icons" section. Also, I do see it listed as a background process in the task manager. Is the icon a green square with a white capital H on it? Is that about all I'll see to let me know it's running?
 
Thanx for the help.
#8
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 09:25:45 (permalink)
HI:)
 
It's a green icon with an "H" in it, yes!
 

Can you look in your Preferences if you have Shift + "7" attached to anything else?
 
https://1drv.ms/v/s!Al2mKojzOW0Ml6lQNRufsNZ0K1dksQ
 
In this video you can see, if I press Shift + 7 (not the numeric pad) or Shift + "0" , the Gain of the wave increases or decreases fastly.
 
Another option:
 
Do you work with CbB or Splat? 
 
If you open the AHK File there's a line "If_WinActive...." . Here you can see in my file "Cakewalk.exe". Change this to Sonar.exe if you have Splat running.
 
Bassman.
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#9
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 17:58:39 (permalink)
Shift+7 is unassigned in Preferences. I'm using Cakewalk by BandLab most recent update.
 
I tried shift+7 before I started AHK and nothing happens to verify it is "dead/unassigned". Then I close Cakewalk, then start AHK as administrator but when I highlight a wave section and hit [shift] + [7] on the numbers along the top of the keyboard it flashes very quickly, a little window from Cakewalk about "Go" and moves the now time cursor forward a few seconds. It flashes the "Go" screen for a very short time, maybe I can record a little video on my phone to show you what's happening. This same behavior was happening last night that's why I was using the numbers on my dedicated number pad. When I use the number pad it seems to move the mouse from track to track.
 
Also tried changing to Sonar.exe but still no success. I use a gaming keyboard from Logitec (G105) that has some hot-keys I've assigned to open up various programs but I never assigned anything to shift+7,8,9,0.
 
I'll try this on my laptop and see if it works.
 
Danke Sehr!
 
Bist du Deutscher? Ich sehe "aufnahme" in deinen video LOL. Diesen sommer habe ich Deutschland besucht.
Sehr heis und keine Klimaanlage! Aber Deutchland is sehr hubsch...
#10
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 19:35:35 (permalink)
I'm German,yes:) If you Open the Ahk file, you can See what is Happening, After you press Shift7. If presses alt+m and a few other Keys and Return at the end very fast to decrease or increase Gain. So If you See the Go Screen, there is something wrong! Perhaps we have to insert a few milliseconds between every key for you to work correct...? Would be the best If you make a Video! I'm not at home now, tomorrow Morning I can make you a Ahk which Makes every keystroke very Slow, so you can See, what is going wrong! But the keystrokes obviously work, perhaps not yet correct......
Bassman.

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#11
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 20:42:12 (permalink)
Wunderbar! I'm a USA citizen with obvious high school german skills.
 
OK, if I have time today, I'll first try it on my laptop. If it still doesn't work, I'll try to make a video of what's going on.
 
Prost!
#12
GaryMedia
Max Output Level: -86 dBFS
  • Total Posts : 217
  • Joined: 2003/11/05 23:04:20
  • Location: Cary, NC
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/14 22:54:07 (permalink)
I had AutoHotKey in my Win7 machine with CbB. When I built the Win10 environment, I didn't re-install it, but went with customizing the newly-acquired Contour Shuttle Pro V2.
 
I have a button on the Contour that has the letter 'A' assigned in the CbB 'Keyboard Shortcuts' to Process-Apply-Effects-Gain which invokes the dialog box for the gain setting of whatever clip was selected.  Within the dialog box, I've built a bunch of presets for various values (e.g. -90dB, -12dB, -6dB,-3dB, -2dB, +2dB, +3dB, +6dB, +12dB, +15dB).
 
I find it to be pretty convenient.  In fact, the Contour has proven to be better for my workflow across a variety of products than any "real" control surface that I've had. (I had the Mackie Control Universal, and the Peavey/Cakewalk StudioMix).  
 
I now have a real aluminum knob glued to the jog wheel of the Shuttle that allows me to manipulate knobs of plug-in GUIs by flying the mouse/cursor over the GUI with my right hand, and turning the GUI-knob via the Shuttle knob. Cool...but the ProChannel remains enigmatically resistant to these strategies.

CbB Win10 | Mac Pro 12-core 3.33GHz/48GB | TCL 55" 4K UHD | 480GB SSD | 6TB HDD RAID-5 array| 1.5TB SSD RAID-0 array | Midas M32 | 2x Audient ASP800 |  UAD-2 Duo PCIe | Adam A7X.
http://www.tedlandstudio.com/articles
#13
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 07:38:28 (permalink)
Tried it on my laptop and it's not working but it does do the same exact wrong things, like show the "Go" screen for a tenth of a second or so. I made a video and will post it as soon as I figure out how to post it. I was able to watch the video frame-by-frame and it is definitely the "Go" box that splashes very quickly on screen.
#14
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 08:01:11 (permalink)
The script appears not to use the US (English) menu. For example instead of
+7::
Send {Alt}m{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return

for the US menu it should be
+7::
Send {Alt}p{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return

IOW, the script needs to start by opening the Process menu.
 
Spend a few minutes with ahk help Tutorial (quick start) section. It may help you understand what is going on in the script. The Send command is "typing" keystrokes to CbB. You should be able to type the keystrokes manually and see what they do. There are repeat keys like {Tab 7} that send the Tab key 7 times.
 
In a default US install ALT+M is bound to "Set all selected track to Mute Status." This may explain why "g" (the 4th keystroke sent by the script) opens the "Go to Time" dialog, its default key binding.
 
#15
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 09:46:52 (permalink)
HI:)
 
scook is right, the problem is US Keyboard instead of GER keyboard here!
 
====================================
+7::
Send {Alt}m{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return
====================================
 
This is one of the commands:
Alt + m    is pressed, in the english version it should be "p", like scook wrote.
 
The rest should be the same. For sure you can delete the "+" , if you don't need Screensets 7-10, like I do. Don't have to press the Shift Key!
 
Could be a problem to press Alt and don't release it, so instead of {Alt} you can write {LAlt down}m or p {LAlt up}to release the Alt Key, but I think it must work without it....
 
Sometimes it is too fast and you can pause between the keys
 
Send {Alt}m
Sleep 100  (0.1 seconds)
Send {Enter}
......
 
Good Luck and if it doesn't work, please send a video....
 
Thanks to scook;)
 
Bassman.
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#16
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 09:52:00 (permalink)
https://1drv.ms/f/s!Al2mKojzOW0Ml5hMn65m7Id8IVJs7g
 
so here is the changed version for the english Cakewalk
 
Bassman

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#17
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 14:08:11 (permalink)
Thanx for the keen eyes scook! Wow, good thing I saw Bassman's German track title. I had no idea there were German keyboards that were different from English. I know English keyboards don't have umlaut keys but I just read a method to create them. I guess you could even create autokeys for them.....lol
 
I'll give your suggestions a try.
 
Danke sehr
#18
pwalpwal
Max Output Level: -43 dBFS
  • Total Posts : 3249
  • Joined: 2015/01/17 03:52:50
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 14:33:20 (permalink)
you can also set EN keyboards to be "International EN" which already gives you some quick shortcuts to umlauts, etc - ü is just double-quote followed by u, for example, so no need for other tools like autokeys...
 
table format screwed up so here's a link https://support.microsoft.com/en-ca/help/306560/how-to-use-the-united-states-international-keyboard-layout-in-windows

just a sec

#19
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/15 14:42:46 (permalink) ☄ Helpfulby pwalpwal 2018/11/15 17:37:03
It's not the keyboard but the menu text. The English Process menu opens with ALT+p is Modifizieren in German and opens with ALT+m.
 
CbB allows switching languages in Preferences when running as administrator.
 
For key combos like ALT+p instead of
+7::
Send {Alt}p{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return

I use
+7::
Send !p{Enter}g{Tab}-3{Tab 7}-3{Tab 2}{Enter}
Return

and instead of slowing keystrokes or adding sleep to slow down a script, try using WinWait for the dialog name, although; I doubt this one needs to be slowed down.
 
Making guards like this
#IfWinActive, ahk_exe Cakewalk.exe

case insensitive like this
#If WinActive("ahk_exe i)Cakewalk.exe")

is a good idea too
#20
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 07:12:25 (permalink)
Erfolg!
 
Bassman, your new "english" version works. I see it also flashes very quickly the "gain" box which makes sense as this is just doing all the 'change gain' steps very quickly.
 
Danke für alles!
 
Frederick
 
PS - I even figured out how to do umlauts quickly
#21
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 08:23:09 (permalink)
HI:)
 
Great! So have fun with it. As I said, if you do not need Screensets 7,8,9,10, just delete the "+'" sign in the AHK File. 
 
Must not always press the "Shift" Button......
 
@scook
 
!p   
 
This is new to me that this works too in conjunction with "Send".....thank you;)
 
Bassman.
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#22
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 14:01:09 (permalink)
OK, I just deleted all of the "+" in front of the numbers and it works without holding the shift key. Is there a way to prevent the "gain" screen from flashing?
 
Also, I just remembered I often change gain by -6 db, can I simply change the "-3" to -"6", and so on?
 
OK, I just tried changing the value of "-3" to "-6" and it seems to work! Wunderbar.
 
Hmmm? Just did a screen capture video to see what is being displayed on the flashing "gain" screen and I can clearly see that in the little box at the bottom right of the screen it shows -3 instead of -6. I then did the process manually choosing "cut 6 db" and I see a 6 in that little box and the resultant wave size seems to be a little smaller as expected.
 
Can we get this do -6 instead of -3?
 
Thanx, Frederick
#23
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 14:32:01 (permalink)
Take a little time to understand what the script is doing. Time spent learning ahk can payoff. You can stop the script at the opening the Gain dialog by deleting everything after the "g" (IOW leave Send {Alt}p{Enter}g) or fill the dialog out but leave it open by removing the {Enter} at the end of the Send. After changing the script, reload it. This is typical of the type of stuff done when writing/modifying and debugging scripts.
#24
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 15:11:32 (permalink)
@user390096
 
after changing -3 to -6 and 3 to 6 and saved it (editor in Admin Mode), first exit Autohotkey (green Button with the "H") and start again!
 
Finally it will do 6 dB instead of 3!
 
Bassman.
 
P.S.  https://1drv.ms/f/s!Al2mKojzOW0Ml5hMn65m7Id8IVJs7g  
 
"7"               -6 dB
"Shift+7"      -3 dB
"8"               -2 dB
"Shift+8"      -1 dB
 
"Shift+9"      +1 dB
"9"               +2 dB
"Shift+0"      +3 dB
"0"               +6 dB
 
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#25
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/16 17:00:02 (permalink)
Yeah, I was thinking maybe I needed to reboot. I'll try again soon.
 
FYI I just ordered the Beatles White Album again with the 5.1 Blu-ray, my favorite album of all time. I now have the original (I'm 59 years young), the half-speed vinyl (if you now what that is), the CD and now the super edition with a 5.1 version and lots of outtakes and alternate versions of classic songs. Excited to hear it in 5.1.
#26
user390096
Max Output Level: -88 dBFS
  • Total Posts : 117
  • Joined: 2015/03/10 07:26:39
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/17 00:05:37 (permalink)
It works now with the -6 instead of the -3. All I did was reboot and now it works.
 
Danke!
 
PS is there a way to prevent the "gain screen " from flashing? I know I'm getting greedy but we're on a roll!
#27
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/17 07:44:59 (permalink)
>>>PS is there a way to prevent the "gain screen " from flashing? I know I'm getting greedy but we're on a roll!
 
I don't think it's possible!
 
Bassman.
 

Cakewalk for DOS Shareware
Cakewalk for DOS 1-5
...
All Versions of Cakewalk
Sonar Platinum 64bit
#28
fitzj
Max Output Level: -61 dBFS
  • Total Posts : 1487
  • Joined: 2005/10/13 11:56:37
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/17 14:02:50 (permalink)
Installed the file. It runs and works but when I select a section of the audio file it seems to make no difference as when I press Shift 7 it processes all the audio track.
#29
fitzj
Max Output Level: -61 dBFS
  • Total Posts : 1487
  • Joined: 2005/10/13 11:56:37
  • Status: offline
Re: Fastest way to change gain of waveform? 2018/11/17 14:14:14 (permalink)
My mistake it only works on mono tracks not stereo tracks.
#30
Page: 12 > Showing page 1 of 2
Jump to:
© 2024 APG vNext Commercial Version 5.1