• SONAR
  • Initial MIDI note length question (p.3)
2013/11/24 19:02:18
scook
Maybe some version of this CAL script (one with a hardwired floor value) bound to a keystroke is what you are looking for.
;; Duration Floor CAL
;; this script sets a minimum value for note duration
(do
    (include "need20.cal")    ; Require version 2.0 or higher of CAL

    (word floor 1000)
    (getWord floor "Duration?" 1 65535)

    (forEachEvent
        (if (== Event.Kind NOTE)
            (do
                (if (< Note.Dur floor) (= Note.Dur floor))
            )       
        )
    )
)
2013/11/24 20:19:00
swamptooth
select all your midi clips and hit q.  select 32nd notes and only have note lengths checked.  alternatively, select all clips and then process/length from the menu bar and enter 200% with durations only checked.  or the event inspector module is another way to go.
2013/11/28 08:37:57
nullobject
scook
Maybe some version of this CAL script (one with a hardwired floor value) bound to a keystroke is what you are looking for.
;; Duration Floor CAL
;; this script sets a minimum value for note duration
(do
    (include "need20.cal")    ; Require version 2.0 or higher of CAL

    (word floor 1000)
    (getWord floor "Duration?" 1 65535)

    (forEachEvent

        (if (== Event.Kind NOTE)
            (do
                (if (< Note.Dur floor) (= Note.Dur floor))
            )       
        )
    )
)




Woah. What? Damnit Jim, I'm a guitar player not a coder...lol, I have no clue how I would do what you just suggested, but it sounds like it would be great.
2013/11/28 08:48:45
nullobject
Thanks Swamptooth! That's exactly what I was looking for. You just shaved hours out of my production time. Thanks again!
 
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account