stickman393
Max Output Level: -60 dBFS
- Total Posts : 1528
- Joined: 2003/11/07 18:35:26
- Status: offline
Time/Key Signature palette
I've been working on a complicated musical piece, mixed 4/4 and 7/8 with the odd bar of 6/8. It would be really nice to have a palette of preset time/key signatures that I could click on to change the current bar (as indicated by the Now time) to the desired time/key signature. As it is, I get mighty tired of pressing 'T', TAB, 7, TAB, 8, ENTER alternating with 'T',TAB,4,TAB,4,ENTER (T is my key binding to "insert time/key signature" but the dialog never contains the right values)
|
scook
Forum Host
- Total Posts : 24146
- Joined: 2005/07/27 13:43:57
- Location: TX
- Status: offline
Re: Time/Key Signature palette
2014/11/10 12:46:49
(permalink)
Sounds like a good job for AutoHotKey. Script for 4/4 using WindowsKey+4 hot key would be #4:: Send,!jm{Tab}4{Tab}4{Enter}Script for 7/8 using WindowsKey+7 would be #7:: Send,!jm{Tab}7{Tab}8{Enter}
post edited by scook - 2014/11/10 12:55:51
|
Brando
Max Output Level: -47.5 dBFS
- Total Posts : 2776
- Joined: 2003/11/06 11:47:20
- Location: Canada
- Status: offline
Re: Time/Key Signature palette
2014/11/11 14:22:58
(permalink)
scook Sounds like a good job for AutoHotKey. Script for 4/4 using WindowsKey+4 hot key would be #4:: Send,!jm{Tab}4{Tab}4{Enter} Script for 7/8 using WindowsKey+7 would be #7:: Send,!jm{Tab}7{Tab}8{Enter}
Scook - you're a goldmine of ideas and innovation. Adding this to my toolbox. Have yet to do much with autohotkey but this really illustrates how useful/versatile it is/can be. Thanks for sharing!
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
|
scook
Forum Host
- Total Posts : 24146
- Joined: 2005/07/27 13:43:57
- Location: TX
- Status: offline
Re: Time/Key Signature palette
2014/11/11 17:59:21
(permalink)
Here is an example of a popup bound to WindowsKey+T with three radio buttons for 4/4, 6/8 and 7/8 in autohotkey script #t:: Gui, tSig:New Gui, tSig:Add, Radio, vMyRadio, 4/4 Gui, tSig:Add, Radio, , 6/8 Gui, tSig:Add, Radio, , 7/8 Gui, tSig:Add, Button, w60 default xm,OK Gui, tSig:Show ReturntSigButtonOK: Gui, tSig:Submit Gui, tSig:Cancel If myRadio = 1 Send, !jm{Tab}4{Tab}4{Enter} Else if myRadio = 2 Send, !jm{Tab}6{Tab}8{Enter} Else If myRadio = 3 Send, !jm{Tab}7{Tab}8{Enter} tSigGuiClose:tSigGuiEscape: Gui, tSig:Destroy Exit
post edited by scook - 2015/03/16 23:51:01
|
Brando
Max Output Level: -47.5 dBFS
- Total Posts : 2776
- Joined: 2003/11/06 11:47:20
- Location: Canada
- Status: offline
Re: Time/Key Signature palette
2014/11/13 12:18:15
(permalink)
Nice job Scook! I took the opportunity to paste it into Autohotkey and try it out. It really illustrates how valuable something like this can be in SONAR. For those wishing for an upgrade to CAL, it would be really nice if Cake could "expose" more of SONAR's inner workings and CAL routines as "calls" for use by a script tool such as autohotkey. (Maybe it's already possible - can autohotkey execute a CAL program, for example). I think a lot of what people want though is basic macro capability to easily allow mundane and repetitive tasks to be executed on demand. Would be nice to have a shared library of scripts like this similar to what has been done for CAL Though this is all new to me and I'm probably talking out my A$$. Been ages since I've done any programming at all and well before windows. Thanks for sharing!
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
|
scook
Forum Host
- Total Posts : 24146
- Joined: 2005/07/27 13:43:57
- Location: TX
- Status: offline
Re: Time/Key Signature palette
2014/11/13 13:19:23
(permalink)
Thanks Yes, AutoHotKey can run a CAL script just like you would do it, either by selecting it from the "Run CAL..." dialog or a SONAR keyboard shortcut if the CAL script is bound to one. The Windows GUI stuff is new to me too. My UI dev work was either character based or written in Tk.
|
stickman393
Max Output Level: -60 dBFS
- Total Posts : 1528
- Joined: 2003/11/07 18:35:26
- Status: offline
Re: Time/Key Signature palette
2014/11/16 14:58:25
(permalink)
@scook - AutoHotkey works really well... and I'm using it, with thanks. But my feature request stands :-).
|
Brando
Max Output Level: -47.5 dBFS
- Total Posts : 2776
- Joined: 2003/11/06 11:47:20
- Location: Canada
- Status: offline
Re: Time/Key Signature palette
2014/11/16 15:11:42
(permalink)
stickman393 @scook - AutoHotkey works really well... and I'm using it, with thanks. But my feature request stands :-).
+1
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
|