Old 05-27-2018, 02:12 AM   #1
colonelporridge
Human being with feelings
 
Join Date: Oct 2017
Posts: 40
Default Slow workflow Pitch bend automation and midi takes

When doing midi takes im having a problem. when i do a take that has some pitch automation and go to do the next part, im in the wrong key or pitched down. Now this can be fixed in the editor. I watched this video on it https://www.youtube.com/watch?v=Zmvn5D09YOU and the solutioin is really too inconvienient. Do i really have to do a pitch automated take and then when i go to do my next take i have to do it out of tune and fix it afterwards? Without having a midi item already on the grid, how can i shift it back to normal pitch, because at the moment i have to do this out of tune take thing and then fix it. I also have this problem any time i copy and paste an item that has pitch bend at the end of the take and have to fix each one manually.
colonelporridge is offline   Reply With Quote
Old 05-27-2018, 03:22 AM   #2
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 1,802
Default

You can try this little script to insert pitch reset info at the start of each selected MIDI item:

Code:
-- Insert pitch reset info at the start of each selected MIDI item

reaper.Undo_BeginBlock2(0)

-- construct pitchbend string
pitchResetString = ""
for channel = 0, 15 do
    pitchResetString = pitchResetString .. string.pack("i4Bi4BBB", 0, 0, 3, 0xE0 + channel, 0, 64)
end
for i = 0, reaper.CountSelectedMediaItems(0)-1 do
    item = reaper.GetSelectedMediaItem(0, i)
    for t = 0, reaper.CountTakes(item)-1 do
        take = reaper.GetTake(item, t)
        if reaper.TakeIsMIDI(take) then
            OK, MIDI = reaper.MIDI_GetAllEvts(take, "")
            if OK then
                reaper.MIDI_SetAllEvts(take, pitchResetString .. MIDI)
            end
        end
    end
end

reaper.Undo_EndBlock2(0, "Insert pitch reset at start of each selected MIDI item", -1)
juliansader is offline   Reply With Quote
Old 05-27-2018, 03:36 AM   #3
colonelporridge
Human being with feelings
 
Join Date: Oct 2017
Posts: 40
Default

Thanks very much this certainly makes things quickerfor some situations. its still going to be difficult if i want to record a take that has pitch mod and then directly after that item want to record another piece. because there wont already be a midi item there then when i go to record, so ill have to do the take with the pitch down thing going on.
colonelporridge is offline   Reply With Quote
Old 05-27-2018, 09:00 AM   #4
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 3,070
Default

Wiggle the pitch wheel real quick at the beginning of the new recording. Make sure it ends back at 0 before you start playing.
ashcat_lt is offline   Reply With Quote
Old 05-28-2018, 07:12 AM   #5
colonelporridge
Human being with feelings
 
Join Date: Oct 2017
Posts: 40
Default

Quote:
Originally Posted by ashcat_lt View Post
Wiggle the pitch wheel real quick at the beginning of the new recording. Make sure it ends back at 0 before you start playing.
That certainly works. Its all a little workaroundy though.
colonelporridge is offline   Reply With Quote
Old 05-29-2018, 09:29 AM   #6
EricTbone
Human being with feelings
 
Join Date: Feb 2013
Posts: 144
Default

Quote:
Originally Posted by colonelporridge View Post
That certainly works. Its all a little workaroundy though.
The term "workaround" typically implies that you're working around a flaw/error. Reaper's behavior is correct.

You're asking Reaper to ignore MIDI information that you put on the track. If that was its default behavior, it would be a bug. Someone else would be here asking, "I put a pitch down at the end of my MIDI clip, but Reaper ignores it when I start recording again. WTF?"

If you've left a non-zero pitch event on the track, and you want the pitch to be back at 0, you need to put it back at 0.

You can do this by just inserting a 0 pitch event.

Or you could just hit S and run juliansader's script on the new clip. You could even write a macro that does both at once.

Last edited by EricTbone; 05-29-2018 at 09:39 AM. Reason: markup
EricTbone is online now   Reply With Quote
Old 05-30-2018, 10:39 PM   #7
colonelporridge
Human being with feelings
 
Join Date: Oct 2017
Posts: 40
Default

Quote:
Originally Posted by EricTbone View Post
The term "workaround" typically implies that you're working around a flaw/error. Reaper's behavior is correct.

You're asking Reaper to ignore MIDI information that you put on the track. If that was its default behavior, it would be a bug. Someone else would be here asking, "I put a pitch down at the end of my MIDI clip, but Reaper ignores it when I start recording again. WTF?"

If you've left a non-zero pitch event on the track, and you want the pitch to be back at 0, you need to put it back at 0.

You can do this by just inserting a 0 pitch event.

Or you could just hit S and run juliansader's script on the new clip. You could even write a macro that does both at once.
I see what you mean yes, i guess im not a midi aficionado. I suppose from my simple point of view its like this; From a workflow point of view its like i have a pitch wheel on my keyboard that gets stuck in the down position everytime i used it to pitch down and then i have to unstick it from that position which makes the spring in the pitch wheel useless. I think my 'i want it perfect and i want it now attitude might be whats at fault here' though.
colonelporridge is offline   Reply With Quote
Old 05-31-2018, 09:04 AM   #8
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 3,070
Default

The spring in the pitchwheel works fine. Who's fault is it that you're not recording it doing its thing?
ashcat_lt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.