Daniel Fitzgerald Posted April 27, 2020 Posted April 27, 2020 Hi Support, I use Groove Quantize (from Clipboard) & CAL scripts to modify my MIDI events quite often. Normally these included Velocity, Volume & Pan. To get my MIDI tracks sounding more natural, I would like to insert slight pitch bend wheel changes for each note ( actually modulo every 2nd, 3rd or 4th note but anyway ) for strings and horns. I tried doing something like this: ;Vari-Pitch.CAL ;This CAL program will insert a random pitch wheel event value on each note event. (do (forEachEvent (if (== Event.Kind NOTE) (do (insert (+ Event.Time 1) Event.Chan CONTROL 3 (random 60 84) ) ) ) ) ) But it is not working, And wheel doesn't show up in the Piano Roll; I guess it is not a controller. How to I insert Pitch-Bend events using a CAL script?
scook Posted April 27, 2020 Posted April 27, 2020 To insert a pitch wheel event: (insert <time> <MIDI-channel> WHEEL <value>) the <value> parameter is an integer value in the range -8192 to 8191.
Daniel Fitzgerald Posted May 4, 2020 Author Posted May 4, 2020 I got it working! Thank you so much for your help SCOOK. I am sorry it took me so long to get back to you - I don't get much time in a week for my DAW or be on here. I've attached my working script. Thank you! VariPitch.CAL
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now