Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

View Poll Results: Option to turn Tempo Map off
Yes! I could use this! 9 100.00%
No, I have a better way 0 0%
I don't mess with tempo maps, don't care 0 0%
Voters: 9. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 05-21-2018, 04:37 PM   #1
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default Ability to turn off Tempo Map

There are some tempo mapping and time stretching operations that require switching back and forth between a tempo map and straight tempo. But the "Tempo Map" option in Reaper is always checked - you cannot uncheck it or bypass it. The workaround is to copy all points, reset them to disable, then paste back in, etc.

Option to uncheck/toggle Tempo Map (and go to straight Project Tempo setting) would be very useful.
Attached Images
File Type: bmp Untitled.bmp (49.1 KB, 238 views)

Last edited by Nonlinear; 05-21-2018 at 07:42 PM.
Nonlinear is offline   Reply With Quote
Old 05-21-2018, 06:12 PM   #2
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

+1 Most DAWS have the ability to do this. Right now if I'm trying out ideas and tempos, I have to just go to the end of the project and write in a new tempo marker and adjust that. Being able to switch the tempo map on/off would be very helpful.

In addition, it would be great to have takes/playlists for the tempo map so you could switch between tempo maps. This is extremely useful when doing multiple versions of a film cue or when you have to conform to new picture, etc. and want to see if new tempo/maps changes will work.
Klangfarben is offline   Reply With Quote
Old 05-21-2018, 07:16 PM   #3
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 507
Default Multiple tempo maps

That was a nice feature in Logic... the ability to have multiple tempo maps but I'm fairly sure it would be easy for someone to write a script for this if it doesn't already exist.
blumpy is offline   Reply With Quote
Old 05-22-2018, 12:05 AM   #4
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by blumpy View Post
I'm fairly sure it would be easy for someone to write a script for this if it doesn't already exist.
Yeah I guess it is possible to store even multiple maps (aka Tempo envelopes data) and disable/restore them.
It could be a script to simply toggle tempo envelope (same as 'copy all points, reset them to disable, then paste back in, etc.' just perform internally) or GUI with selecting maps (and you can name every map if you want) or slot system (something like 'Save current tempo map to slot1', 'Restore tempo map from slot1').

Last edited by mpl; 05-22-2018 at 01:08 AM.
mpl is offline   Reply With Quote
Old 05-22-2018, 04:13 AM   #5
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default

copy all track,
open new project tab,
paste
__________________
http://www.residenceemilia.com
Reno.thestraws is offline   Reply With Quote
Old 05-22-2018, 04:39 AM   #6
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

Quote:
Originally Posted by Nonlinear View Post
There are some tempo mapping and time stretching operations that require switching back and forth between a tempo map and straight tempo. But the "Tempo Map" option in Reaper is always checked - you cannot uncheck it or bypass it. The workaround is to copy all points, reset them to disable, then paste back in, etc.

Option to uncheck/toggle Tempo Map (and go to straight Project Tempo setting) would be very useful.
You can have items follow the project timebase, you can have them follow the track timebase, you can set items to their own timebase.

Unless I'm misunderstanding here, If you are working with just audio, you just need to set the project / track / item timebase to time (effectively turning off the tempo map)

For MIDI items, in the source properties, you can check "ignore project tempo" and set what ever tempo you want there. (I believe there are a number of scripts out there to make this easier for MIDI)
James HE is offline   Reply With Quote
Old 05-22-2018, 06:45 AM   #7
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by Reno.thestraws View Post
copy all track,
open new project tab,
paste
It is hell for big projects.
mpl is offline   Reply With Quote
Old 05-22-2018, 07:37 AM   #8
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Quote:
Originally Posted by mpl View Post
It is hell for big projects.
Yes, there are no words for the type of hell that would be.

Obviously having the ability to turn the tempo map on and off (off would just use the tempo currently in the transport bar) as well as multiple takes/sets of tempo maps implemented natively would be ideal but if anyone wants to try and script this, I would gladly donate to help to fund that.
Klangfarben is offline   Reply With Quote
Old 05-22-2018, 10:20 AM   #9
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

So, in thinking about this, even though I can't actually see a use case where just turning the thing off really matters, I think normalizing how the Tempo maps works to be inline with other envelopes would be great.

however - being able to use automation items (which you can't currently) would be really sweet!

I lot of the music I've been making have just been freeform MIDI recordings with various instruments. A lot of times I set the items to ignore project base, and just use the tempo envelope automate the tempo of arps and other effects that can tempo sync.
James HE is offline   Reply With Quote
Old 05-22-2018, 11:18 AM   #10
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by James HE View Post
Unless I'm misunderstanding here, If you are working with just audio, you just need to set the project / track / item timebase to time (effectively turning off the tempo map)
Setting an audio track to "Time" base ignores ALL tempo changes including the Project Tempo setting. Sometimes I want to be able to go from a straight tempo (which may already be stretching the tracks) to a variable tempo map.

Someone smarter than me could probably come up with a script but since the "Tempo Map" checkbox is already there why not make it functional? It would do exactly what I describe (toggle between "Tempo Map" and straight Project Tempo).

Last edited by Nonlinear; 05-22-2018 at 11:23 AM.
Nonlinear is offline   Reply With Quote
Old 05-22-2018, 11:59 AM   #11
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

Quote:
Originally Posted by Nonlinear View Post
Setting an audio track to "Time" base ignores ALL tempo changes including the Project Tempo setting. Sometimes I want to be able to go from a straight tempo (which may already be stretching the tracks) to a variable tempo map.

Someone smarter than me could probably come up with a script but since the "Tempo Map" checkbox is already there why not make it functional? It would do exactly what I describe (toggle between "Tempo Map" and straight Project Tempo).
Gotcha. I feel it.

saving / loading tempo maps via script would not be that difficult for the entire timeline - subbing in parts gets a bit hairy though. It would be possible but since you have to manipulate the .rpp via script to do this (correct me if I'm wrong mpl et. al.) It seems... too cumbersome to take on - at least without some dangers of breaking things.


On the other hand - if your could have automation items in the tempo map. Oh baby! You'd have a clean way to do some interesting things.
James HE is offline   Reply With Quote
Old 05-22-2018, 12:26 PM   #12
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Toggle tempo envelope (Lua)

Code:
-- @version 1.0
-- @author MPL
-- @description Toggle tempo envelope
-- @website http://forum.cockos.com/member.php?u=70694
-- @changelog
--   + init

  for key in pairs(reaper) do _G[key]=reaper[key]  end 
  -------------------------------------------------------
  function main_SaveRemoveTempoEnv()  
    local tr = GetMasterTrack( 0 )
    local tempo_env = GetTrackEnvelope(  tr, 0 )
    local retval, te_chunk = GetEnvelopeStateChunk( tempo_env, '', false )
    SetProjExtState(0, 'MPL_TOGGLETEMPOENV', 'temptimesignenv', te_chunk ) 
    -- erase
    local m_cnt = CountTempoTimeSigMarkers( 0 )
    for markerindex =m_cnt, 1, -1 do DeleteTempoTimeSigMarker( 0, markerindex-1 ) end
  end
  ------------------------------------------------------- 
  function main_RestoreTempoEnv()
    -- restore envelope
      local ret, ext_te_chunk = GetProjExtState(0, 'MPL_TOGGLETEMPOENV', 'temptimesignenv') 
      if ret then  
        local tr = GetMasterTrack( 0 )
        local tempo_env = GetTrackEnvelope(  tr, 0 )
        SetEnvelopeStateChunk( tempo_env, ext_te_chunk, false ) 
      end
    -- update grid
      local m_cnt = CountTempoTimeSigMarkers( 0 )
      local retval, timepos, measurepos, beatpos, bpm, timesig_num, timesig_denom, lineartempo = GetTempoTimeSigMarker( 0, m_cnt-1 )
      if retval then SetTempoTimeSigMarker( 0, m_cnt-1, timepos, measurepos, beatpos, bpm, timesig_num, timesig_denom, lineartempo ) end
  end
  -------------------------------------------------------
  local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
  local state = reaper.GetToggleCommandState( cmdID )
  if state == -1 then state = 0 end
  SetToggleCommandState( sectionID, cmdID, math.abs(1-state) )
  -------------------------------------------------------
  if state == 0 then main_SaveRemoveTempoEnv() else main_RestoreTempoEnv() end  
  UpdateTimeline() -- update ruler
Quote:
"Tempo Map" checkbox is already there
I think it is not a check 'enable/disable or follow/unfollow' as for other envelopes. Tempo envelope must always exists and it is a MasterTrack envelope. I guess it is easier to deal with standart envelope tools this way. Actually I could build a script only because of that, although there is a specific API, but a bit more complex to deal with and not supporting returning metronome patterns back.

Quote:
straight Project Tempo
...is a Tempo Envelope with single point at 0:00:00

Last edited by mpl; 05-22-2018 at 12:40 PM.
mpl is offline   Reply With Quote
Old 05-23-2018, 10:48 AM   #13
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by mpl View Post
Toggle tempo envelope (Lua)
Ah! Did you just write this or did I over look it in the Actions list?

Excellent - will give it a try. Thank you!
Nonlinear is offline   Reply With Quote
Old 05-23-2018, 07:45 PM   #14
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by Nonlinear View Post
Ah! Did you just write this or did I over look it in the Actions list?
Both. If you have ReaPack, simply run 'Syncronize packages', then search the action list.
mpl is offline   Reply With Quote
Old 07-13-2023, 04:38 PM   #15
MonkeyBars
Human being with feelings
 
MonkeyBars's Avatar
 
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,630
Default

Hi mpl!

Any reason why you axed this script from your repo?
MonkeyBars is offline   Reply With Quote
Old 12-28-2023, 04:10 PM   #16
saxmand
Human being with feelings
 
saxmand's Avatar
 
Join Date: Dec 2023
Location: Denmark
Posts: 21
Default

Quote:
Originally Posted by mpl View Post
Toggle tempo envelope (Lua)
Just tried the script. It works AMAZINGLY!!
__________________
Reaper is my new spirit animal!
saxmand 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 06:59 AM.


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