Old 01-26-2019, 01:35 PM   #1
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default Drums follow Tempo Map ?

In Reaper if I have a lot of tempo changes and drag an Acidized Drum in it will ask if you want to adjust media to project temp, yes, but it don't sync every bar and if you change a tempo marker for a bar it changes the whole length of the item on the track and don't sync up, the only way it seems to work is to split the acid drum track at each tempo marker.


Now in Studio One I can drag the acid drum track in and it adjust perfectly to the tempo changes at each bar, I can drag another non acid drum track in, set the tempo of the item with a right click and it aligns perfectly also.
If you change the tempo of one bar then it's only that bar that's adjusted.

If I add stretch markers it will work but that's a lot of messing around, same with having to split item at each tempo change.
Is there something simple I'm missing here ??


MusoBob is offline   Reply With Quote
Old 01-26-2019, 09:01 PM   #2
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Look what Acid 8 is doing adjusting perfectly:

MusoBob is offline   Reply With Quote
Old 02-14-2019, 04:29 PM   #3
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Did anyone try this ? I just feel that I'm missing something, there should be some setting somewhere so the drum wav fits to the tempo map changes like other DAWs do ?


https://www.dropbox.com/s/fnjvyt8tmx...-acid.wav?dl=1
MusoBob is offline   Reply With Quote
Old 02-15-2019, 03:45 PM   #4
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

If you drag the items in from the media explorer and they are chopped to bars already, there is an option to match the tempo. You can also hold alt while dragging the item edge to stretch it.
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 02-15-2019, 04:05 PM   #5
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Not sure what you mean there, did you try it with the file above in the download link ?


If you could create a gif or some pics would help,
thanks.
MusoBob is offline   Reply With Quote
Old 02-15-2019, 05:14 PM   #6
Bribedant
Human being with feelings
 
Bribedant's Avatar
 
Join Date: Jan 2017
Location: Sweden
Posts: 206
Default

Nor really sure what you want do to but Item Properties -> Item timebase -> Beats or Time changes the Item behavior on tempo map adjustments.
Bribedant is offline   Reply With Quote
Old 02-15-2019, 06:07 PM   #7
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Download this https://www.dropbox.com/s/fnjvyt8tmx...-acid.wav?dl=1
then create a tempo map in Reaper going from 120 to 130 back to 120

now drag that wav file in and see what happens.
MusoBob is offline   Reply With Quote
Old 02-15-2019, 09:07 PM   #8
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

Oh I see now. That track won't magically align to pre-existing tempo changes even though I agree it probably should. Maybe other DAWs have something like stretch markers working behind the scenes for this and maybe there's a script that does it in Reaper, but here it's a relatively new addition, so takes a bit more effort.

You can do this though: open a new project in a new tab at 120bpm. Set the grid to whole bars. Insert the item at the start of the project and and run the script "insert stretch markers to selected items at grid divisions." Now you can put the item in your tempo mapped track, set the grid there to bars and quantize the stretch markers to get the result you want.
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 02-15-2019, 11:28 PM   #9
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

I tried that originally it did work with bars but not beats as the tempo changes could be anywhere so you need it to adjust to beats.

When I sliced the embedded temp wav up in another tab then paste it, it fits automatically but you should not have to do that.
Here's other DAWs that just work

https://forum.cockos.com/showthread.php?t=216497



MusoBob is offline   Reply With Quote
Old 02-15-2019, 11:57 PM   #10
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

The only way I can see to do it is create a script to run after the wav is dragged in.

It will ask for the bpm of the item
set the playback rate of the item to match the current tempo
move to the next tempo marker and split the item
select the item after cursor and set the playback rate of the item to match the current tempo
move to the next tempo marker and split the item...
.......
.......

remove track crossfades


the user can then glue track items if need be.
MusoBob is offline   Reply With Quote
Old 02-16-2019, 09:58 PM   #11
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

This works okay but loops a section on the end when it changes playback rate, not sure how to avoid that so I just set it to not loop but the length is still added.

Here's some Drums to try
https://www.dropbox.com/s/iyc2il43za...pm120.wav?dl=1
just create a tempo map, drag the wav in, run the script on the selected item, set it to 120.

Here's the Lua

Code:
    -- Display a message in the console for debugging
    
    function Msg(variable)
      reaper.ShowConsoleMsg(tostring(variable).."\n")
    end
    cur_pos = reaper.GetCursorPosition()
    retval, org_bpm = reaper.GetUserInputs("Set Item's Original Tempo", 1, "Enter item's tempo (bpm):", "" )
    
    if retval then
    reaper.Main_OnCommand(40042,0) -- Transport: Go to start of project
    tempo_markers_count = reaper.CountTempoTimeSigMarkers(0)
    for i = 0, tempo_markers_count - 1 do
    
        reaper.Main_OnCommand(40759,0) --Item: Split items at edit cursor (select right)
        retval, timepos, measurepos, beatpos, bpm, timesig_num, timesig_denom, lineartempo = reaper.GetTempoTimeSigMarker(0, i)
        item = reaper.GetSelectedMediaItem(0, 0) 
        take = reaper.GetMediaItemTake(item, 0)
        playrate = bpm / org_bpm
        reaper.SetMediaItemTakeInfo_Value( take, "D_PLAYRATE", playrate )
        reaper.Main_OnCommand(41821,0) --Move edit cursor to next tempo or time signature change
        
    end    
        
    reaper.SetMediaItemInfo_Value(item, "B_LOOPSRC", 0)
    
    Info2 = [[
      
    "If you want to glue the items together"
    
    "make sure the end is correct"
      
    "else cancel out and adjust it"
    
    "then Remove fade in and fade out then glue" ]]
    
    reaper.MB(Info2, "Information", 0)
    
    
    retval,input  = reaper.GetUserInputs("Glue Items", 1, "This will glue split item", "")
    
    if retval then
       reaper.Main_OnCommand(40421,0) --Item: Select all items in track
       reaper.Main_OnCommand(41193,0) --Item: Remove fade in and fade out
       reaper.Main_OnCommand(41588,0) --Item: Glue items
    end
    reaper.SetEditCurPos(cur_pos, 1, 0)      
    
end
MusoBob 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 01:34 AM.


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