Looking for a CAL script

Author
gustabo
Max Output Level: -49.5 dBFS
  • Total Posts : 2591
  • Joined: 2009/01/05 17:32:38
  • Status: offline
2012/05/31 08:03:06 (permalink)

Looking for a CAL script

I'm looking for a CAL script or a simple/fast way that will reduce the length of midi notes by x.

Example, reduce length of all notes by 30 ticks; 240 to 210, 4:000 to 3:450, 2:360 to 2:330, etc.

Anyone have any suggestions?


Cakewalk by Bandlab - Win10 Pro x64 - StudioCat Platinum Studio DAW - 32 GB Ram - MOTU UltraLite-mk3
M-Audio Keystation 88ES - Akai MPD26 (hot-rodded) - Alesis DM10 - a few guitars, a few amps
Novation Launch Control - Korg nanoKONTROL2 - PreSonus FaderPort - DAW Remote HD on iPad
Adam A7X - Behritone C50A
PreSonus Monitor Station v2 (controlling the mons)
https://www.facebook.com/groups/sonarusergroup/

#1

6 Replies Related Threads

    tparker24
    Max Output Level: -80 dBFS
    • Total Posts : 544
    • Joined: 2003/11/06 02:42:14
    • Status: offline
    Re:Looking for a CAL script 2012/05/31 10:32:34 (permalink)
    Don't need a CAL for this.  Just use the wonderful Event Inspector.
    Here's a video tutorial: http://www.digifreq.com/digifreq/video.asp?ID=7
    #2
    gustabo
    Max Output Level: -49.5 dBFS
    • Total Posts : 2591
    • Joined: 2009/01/05 17:32:38
    • Status: offline
    Re:Looking for a CAL script 2012/05/31 21:33:55 (permalink)
    Doesn't seem to work as the video shows (the video is X1 and I'm using 8.5.3)...
    When I try to subtract 30 ticks from a bunch of notes, it actually subtracts 8.
    Is it because I'm running in a 480 tick resolution or is this something that was broken in 8.5.3 and fixed in X1?


    Cakewalk by Bandlab - Win10 Pro x64 - StudioCat Platinum Studio DAW - 32 GB Ram - MOTU UltraLite-mk3
    M-Audio Keystation 88ES - Akai MPD26 (hot-rodded) - Alesis DM10 - a few guitars, a few amps
    Novation Launch Control - Korg nanoKONTROL2 - PreSonus FaderPort - DAW Remote HD on iPad
    Adam A7X - Behritone C50A
    PreSonus Monitor Station v2 (controlling the mons)
    https://www.facebook.com/groups/sonarusergroup/

    #3
    SToons
    Max Output Level: -81 dBFS
    • Total Posts : 478
    • Joined: 2012/05/14 15:21:14
    • Status: offline
    Re:Looking for a CAL script 2012/06/01 03:14:51 (permalink)
    gustabo


    Doesn't seem to work as the video shows (the video is X1 and I'm using 8.5.3)...
    When I try to subtract 30 ticks from a bunch of notes, it actually subtracts 8.
    Is it because I'm running in a 480 tick resolution or is this something that was broken in 8.5.3 and fixed in X1?

    Haven't seen the video but the Event Inspector in 8.5.3 only seems to work in this context if all the notes are the same duration, otherwise it will end up altering all the selected notes to a specific duration from what I can tell. A CAL would work but might be tricky to write unless you understand the stuff. While not as quick as a CAL, a simple method would be to select the notes, Alt+5 for PRV, grab the draw tool and slide the endpoint of any selcted note left. The closer you are zoomed in (you only have to see the end of one note) you can slide more accurately. While you slide, a little yellow popup should show you how far you are sliding the endtime(s); the first set of numbers in parenthesis should be ticks ex. (-30). Not as efficient as a CAL but still pretty quick and easy.
    #4
    tparker24
    Max Output Level: -80 dBFS
    • Total Posts : 544
    • Joined: 2003/11/06 02:42:14
    • Status: offline
    Re:Looking for a CAL script 2012/06/01 11:17:21 (permalink)
    gustabo


    Doesn't seem to work as the video shows (the video is X1 and I'm using 8.5.3)...
    When I try to subtract 30 ticks from a bunch of notes, it actually subtracts 8.
    Is it because I'm running in a 480 tick resolution or is this something that was broken in 8.5.3 and fixed in X1?
    The video covers both 8.5 and X1.
     
    Yes, if you use other than 960 tick resolution, then it doesn't work quite as expected, due to a bug (which I've previously reported; don't know if it's fixed in X1).  I myself use 600, so I have to experiment a bit with the proper number of ticks.
    #5
    SToons
    Max Output Level: -81 dBFS
    • Total Posts : 478
    • Joined: 2012/05/14 15:21:14
    • Status: offline
    Re:Looking for a CAL script 2012/06/01 11:30:21 (permalink)
    tparker24


    gustabo


    Doesn't seem to work as the video shows (the video is X1 and I'm using 8.5.3)...
    When I try to subtract 30 ticks from a bunch of notes, it actually subtracts 8.
    Is it because I'm running in a 480 tick resolution or is this something that was broken in 8.5.3 and fixed in X1?
    The video covers both 8.5 and X1.
     
    Yes, if you use other than 960 tick resolution, then it doesn't work quite as expected, due to a bug (which I've previously reported; don't know if it's fixed in X1).  I myself use 600, so I have to experiment a bit with the proper number of ticks.


    Even at 960 it does not work if the selected notes are of different length, part of the OP's dilemna. The moment you select notes of different lengths the display changes to a percentage (100%); iif you alter the duration it will then alter all notes to a single duration. Try it using 960 and see for yourself.
    #6
    gustabo
    Max Output Level: -49.5 dBFS
    • Total Posts : 2591
    • Joined: 2009/01/05 17:32:38
    • Status: offline
    Re:Looking for a CAL script 2012/06/01 12:44:08 (permalink)
    Actually it does work if the selected notes are different lengths but the resolution thing is a booger.
    If I want to reduce notes by 15 ticks, I have to specify -60.


    Cakewalk by Bandlab - Win10 Pro x64 - StudioCat Platinum Studio DAW - 32 GB Ram - MOTU UltraLite-mk3
    M-Audio Keystation 88ES - Akai MPD26 (hot-rodded) - Alesis DM10 - a few guitars, a few amps
    Novation Launch Control - Korg nanoKONTROL2 - PreSonus FaderPort - DAW Remote HD on iPad
    Adam A7X - Behritone C50A
    PreSonus Monitor Station v2 (controlling the mons)
    https://www.facebook.com/groups/sonarusergroup/

    #7
    Jump to:
    © 2025 APG vNext Commercial Version 5.1