Re: Keyboard shortcut for increasing/decreasing veloicty?
2016/06/19 04:33:43
(permalink)
Have you considered writing two CAL scripts, one for velocity up, one for velocity down and binding them to keystrokes?
Using a standard text editor, create the Cals using the information below, save them to your CAL folder (See preferences | FILE | Folder locations to see where CALS are stored) and then bind them to the keystrokes of your choice.
Note, these cals simply increment and decrement the selected note's velocities. A relative increasing and decreasing would require different code.
The cal script for Velocity up is as follows:
(forEachEvent
(if (&& (== Event.Kind NOTE) (< Note.Vel 127))
(do
(+= Note.Vel 1)
)
)
)
The cal script for Velocity down is as follows:
(forEachEvent
(if (&& (== Event.Kind NOTE) (>= Note.Vel 1))
(do
(-= Note.Vel 1)
)
)
)
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,