Tempo mapping with SWS

From CockosWiki

(Difference between revisions)
Jump to: navigation, search
(Moved double content)
Line 1: Line 1:
==About==
==About==
-
This is documentation for the Breeders (BR) actions and dialogs regarding tempo and tempo-mapping. You need to have the [http://code.google.com/p/sws-extension/downloads/list latest beta] of [[SWS extension]] installed.<br>All coding by breeder. Concepts by Breeder and G-Sun.
+
This is documentation for the Breeders (BR) actions and dialogs regarding tempo and tempo mapping. You need to have the [http://code.google.com/p/sws-extension/downloads/list latest beta] of [[SWS extension]] installed.<br>All coding by breeder. Concepts by Breeder and G-Sun.
==Introduction==
==Introduction==
-
Let's say you have a mono/stereo/multi-track recorded, by yourself or by someone else. Then, in Reaper, you want to align the tempo-grid to allow yourself to sync and quantise midi and/or audio to the original music. You then need to find the tempo of the original song. <br>
+
Let's say you have a mono/stereo/multi-track recorded, by yourself or by someone else. Then, in Reaper, you want to align the tempo-grid to allow yourself to sync and quantize midi and/or audio to the original music. You then need to find the tempo of the original song. <br>
If it was recorded to a fixed tempo, then it's just a matter of finding that tempo. However if it was not, then you need to tempo-map the song. That is what this page is about.
If it was recorded to a fixed tempo, then it's just a matter of finding that tempo. However if it was not, then you need to tempo-map the song. That is what this page is about.
Line 11: Line 11:
Please open the action dialog (Shift + ?), and type in "SWS/BR" or "BR". Select the appropriate action. You'll often find the actions easier to use if you assign a shortcut to them, or make some buttons for your toolbar (see [[REAPER User Guide]]).
Please open the action dialog (Shift + ?), and type in "SWS/BR" or "BR". Select the appropriate action. You'll often find the actions easier to use if you assign a shortcut to them, or make some buttons for your toolbar (see [[REAPER User Guide]]).
-
==(A) Adding markers==
+
==(A) Preparations==
-
The first thing you'll have to do is putting markers on all beats. Choose the beat-frequency of your taste/need, typical 1/1, 1/4 or 1/8.
+
===Relevant settings===
 +
*When tempo mapping, you will always want to have '''Items/envelopes/markers timebase''' set to '''Time''' because you do not want your project markers to move when conversion process starts creating tempo changes. When opening conversion dialog, it will notify you if timebase is not set to time and offer to change timebase for you.
 +
*If you want to tempo map MIDI you will want to enable '''Ignore project tempo''' in Source properties (right click item) for those MIDI items. Once done, you need to glue those items to "embed" tempo information into them.<br>
 +
[[File:MIDI item properties.png]]
 +
===Timebase explanation===
 +
Reaper actually has 2 timebase options which can be found in [[Project_Settings#Overview|Project settings]]:<br>
 +
[[File: Timebase options.png]]<br>
 +
*First timebase option is the relevant one, while the other is intended for special purposes and should be left alone in most cases.<br>
 +
*Also note that Reaper has separate timebase options for tracks ''(right click track in TCP or MCP)'' and items ''(Item properties)'' - these can follow project timebase or have their own timebase. By default they always follow project timebase so you should not worry about those unless you explicitly changed them.
 +
*'''Explanation of timebase modes:'''
 +
**'''Items/envelopes/markers timebase:'''
 +
***''Beats (position, length, rate):'' Project elements will keep their position and length constant as measured in beats. It basically means that things will move and change their length according to tempo to preserve musical position and musical length.
 +
***''Beats (position only):'' This mode is similar to previous, but it does not change media item length, only their time position to make items keep the same musical position.
 +
***''Time:'' This mode will let elements keep their time position when changing tempo.
 +
**'''Tempo/time signature envelope:'''
 +
***''Beats:'' Default setting that lets tempo map adjust to changes which in turn keeps tempo markers' musical position constant. This mode should always be turned on unless you explicitly need the other mode.
 +
***''Time:'' Long time ago in a galaxy far, far away, Reaper did not care about tempo - tempo markers' time position was absolute and it never changed. Instead their musical position changed. This mode will let you get that old and basically "wrong" behavior.
 +
 
 +
 
 +
==(B) Adding markers==
 +
The first thing you'll have to do is put project markers on all beats. Choose the beat-frequency of your taste/need, typical 1/1, 1/4 or 1/8.
===Using your pc-keyboard===
===Using your pc-keyboard===
-
Then, play the song from start to finish tapping M on your pc-keyboard (inserting a marker on each place).<br>
+
Play the song from start to finish tapping M on your pc-keyboard (inserting a marker on each place).<br>
-
Play the song through a second time. See if all markers are on right place, and that no-one is missing. Edit/add/delete markers until satisfied.
+
You might want to play the song through a second time to check that all markers are in the right place, and that no-one is missing. Edit/add/delete markers until satisfied.
You'll then have something like this:
You'll then have something like this:
Line 22: Line 42:
[[File:Markers1.png]]
[[File:Markers1.png]]
-
===Using midi===
+
===Using MIDI===
-
Or, you can use your midi-keyboard or other midi-device (like drum-triggers). Arm a track for your input, and tap a note on every beat.<br>
+
Alternatively you can use your midi-keyboard or other midi-device (like drum-triggers). Arm a track for your input, and tap a note on every beat.<br>
-
This is convenient for giving a sound to each tap.
+
This is convenient for giving a sound to each tap and is probably a more accurate when compared to inserting project markers with action.
-
 
+
It may look something like this:
It may look something like this:
[[File:Midi.png]]
[[File:Midi.png]]
-
Then run the action "sws/br: Create project markers from notes in selected midi items".
+
Then run the action "SWS/BR: Create project markers from notes in selected midi items".
 +
 
 +
''Note:'' You might want to use this action to create project markers directly from the MIDI item you want to tempo map. It is not always a viable option and depends on the type of material you want to tempo map. If you can do it, it is enough copy paste the item and remove all the notes that do not represent a beat.
-
==(B) Convert markers to tempo==
+
==(C) Convert markers to tempo==
-
When you're satisfied with the placement of your markers, choose the action "SWS/BR: Convert project markers to tempo.."<br>
+
When you're satisfied with the placement of your markers, choose the action "SWS/BR: Convert project markers to tempo..."<br>
-
Important: Items timebase should be set to to TIME so items don`t strech or get moved during mapping. When opening dialog, you will get notified to change timebase if it`s already not set
+
Then a dialog will open:
Then a dialog will open:
Line 41: Line 61:
-
*Markers per measure: For 1/1 enter 1, for 1/4 enter 4 or for 1/8 enter 8.
+
*''Markers per measure:'' For 1/1 enter 1, for 1/4 enter 4 or for 1/8 enter 8.
-
*Time signature: Set the correct time-signature for your project or time-selection. (Tips: In some cases 1/4 or 1/8 can be useful)
+
*''Time signature:'' Set the correct time-signature for your project or time-selection. (Tips: In some cases 1/4 or 1/8 can be useful)
-
*Create gradual tempo changes: This will output linear shaped points, and twice as many.
+
*''Create gradual tempo changes:'' This will output linear shaped points, and twice as many.
-
*Remove project markers: Choose (unchecked is recommended)
+
*''Remove project markers:'' Remove project markers after converting (all or time selection)
-
*Convert only time-selection: If a time-selection is set, you can choose to only convert this time-section (Necessary for songs with different time-signatures)
+
*''Convert only time selection:'' If a time-selection is set, you can choose to only convert this time-section (Necessary for songs with different time-signatures)
-
*Split middle point by: If you've chosen "Create gradual tempo changes" above, this option will appear. It allows you to split the middle point and choose the length of the middle line. The purpose is a smoother tempo-line. You can choose whatever fraction you like (Format 1/3; 0,3 or 0.3). 1/3 or 1/2 is recommended.
+
*''Split middle point by:'' If you've chosen "Create gradual tempo changes" above, this option will appear. The purpose is to get a smoother tempo map. Ratio (between 0 and 1) can be typed (decimal or fraction) or chosen from the list. Dictates by how much created markers will get moved from the musical middle. Recommended ratios are 1/2 and 1/3.
-
===Notes===
+
'''Note:''' Using square output is probably the most easiest method since those points can be later be [[#(C) Post-conversion operations|manipulated]] without any quirks (linear tempo manipulation has certain problematic corner-cases). And once completely satisfied, you can [[Tweaking_tempo#Change_tempo_marker_shape|easily change]] them to gradual without disturbing time positions of tempo markers
 +
<br>
====Square output====
====Square output====
-
For our example (and good starting-point if you're unsure), let's use these settings:
+
For our example (and good starting point if you're unsure), let's use these settings:
[[File:Convert markers to tempo.png]]
[[File:Convert markers to tempo.png]]
Line 79: Line 100:
*The number of points is tripled compared to square output
*The number of points is tripled compared to square output
-
==(C) Tweaking tempo==
+
==(C) Post-conversion operations==
-
Please see sub-page: [[Tweaking tempo]]
+
You will probably have to fix things up later. SWS includes methods for easier manipulation of tempo markers. Most people will be interested in these:
 +
*[[Tweaking_tempo#Move_tempo_marker|Moving tempo marker]]
 +
*[[Tweaking_tempo#Delete_tempo_marker|Delete tempo marker]]
 +
For other methods see the rest of the article:[[Tweaking tempo]]
==Other tools==
==Other tools==

Revision as of 13:21, 26 January 2013

Contents

About

This is documentation for the Breeders (BR) actions and dialogs regarding tempo and tempo mapping. You need to have the latest beta of SWS extension installed.
All coding by breeder. Concepts by Breeder and G-Sun.

Introduction

Let's say you have a mono/stereo/multi-track recorded, by yourself or by someone else. Then, in Reaper, you want to align the tempo-grid to allow yourself to sync and quantize midi and/or audio to the original music. You then need to find the tempo of the original song.
If it was recorded to a fixed tempo, then it's just a matter of finding that tempo. However if it was not, then you need to tempo-map the song. That is what this page is about.

Tips: Use alt + t to show your master track with tempo envelope.

Where to find them

Please open the action dialog (Shift + ?), and type in "SWS/BR" or "BR". Select the appropriate action. You'll often find the actions easier to use if you assign a shortcut to them, or make some buttons for your toolbar (see REAPER User Guide).

(A) Preparations

Relevant settings

  • When tempo mapping, you will always want to have Items/envelopes/markers timebase set to Time because you do not want your project markers to move when conversion process starts creating tempo changes. When opening conversion dialog, it will notify you if timebase is not set to time and offer to change timebase for you.
  • If you want to tempo map MIDI you will want to enable Ignore project tempo in Source properties (right click item) for those MIDI items. Once done, you need to glue those items to "embed" tempo information into them.

MIDI item properties.png

Timebase explanation

Reaper actually has 2 timebase options which can be found in Project settings:
Timebase options.png

  • First timebase option is the relevant one, while the other is intended for special purposes and should be left alone in most cases.
  • Also note that Reaper has separate timebase options for tracks (right click track in TCP or MCP) and items (Item properties) - these can follow project timebase or have their own timebase. By default they always follow project timebase so you should not worry about those unless you explicitly changed them.
  • Explanation of timebase modes:
    • Items/envelopes/markers timebase:
      • Beats (position, length, rate): Project elements will keep their position and length constant as measured in beats. It basically means that things will move and change their length according to tempo to preserve musical position and musical length.
      • Beats (position only): This mode is similar to previous, but it does not change media item length, only their time position to make items keep the same musical position.
      • Time: This mode will let elements keep their time position when changing tempo.
    • Tempo/time signature envelope:
      • Beats: Default setting that lets tempo map adjust to changes which in turn keeps tempo markers' musical position constant. This mode should always be turned on unless you explicitly need the other mode.
      • Time: Long time ago in a galaxy far, far away, Reaper did not care about tempo - tempo markers' time position was absolute and it never changed. Instead their musical position changed. This mode will let you get that old and basically "wrong" behavior.


(B) Adding markers

The first thing you'll have to do is put project markers on all beats. Choose the beat-frequency of your taste/need, typical 1/1, 1/4 or 1/8.

Using your pc-keyboard

Play the song from start to finish tapping M on your pc-keyboard (inserting a marker on each place).
You might want to play the song through a second time to check that all markers are in the right place, and that no-one is missing. Edit/add/delete markers until satisfied.

You'll then have something like this:

Markers1.png

Using MIDI

Alternatively you can use your midi-keyboard or other midi-device (like drum-triggers). Arm a track for your input, and tap a note on every beat.
This is convenient for giving a sound to each tap and is probably a more accurate when compared to inserting project markers with action. It may look something like this:

Midi.png

Then run the action "SWS/BR: Create project markers from notes in selected midi items".

Note: You might want to use this action to create project markers directly from the MIDI item you want to tempo map. It is not always a viable option and depends on the type of material you want to tempo map. If you can do it, it is enough copy paste the item and remove all the notes that do not represent a beat.

(C) Convert markers to tempo

When you're satisfied with the placement of your markers, choose the action "SWS/BR: Convert project markers to tempo..."

Then a dialog will open:

Convert markers to tempo3.png


  • Markers per measure: For 1/1 enter 1, for 1/4 enter 4 or for 1/8 enter 8.
  • Time signature: Set the correct time-signature for your project or time-selection. (Tips: In some cases 1/4 or 1/8 can be useful)
  • Create gradual tempo changes: This will output linear shaped points, and twice as many.
  • Remove project markers: Remove project markers after converting (all or time selection)
  • Convert only time selection: If a time-selection is set, you can choose to only convert this time-section (Necessary for songs with different time-signatures)
  • Split middle point by: If you've chosen "Create gradual tempo changes" above, this option will appear. The purpose is to get a smoother tempo map. Ratio (between 0 and 1) can be typed (decimal or fraction) or chosen from the list. Dictates by how much created markers will get moved from the musical middle. Recommended ratios are 1/2 and 1/3.

Note: Using square output is probably the most easiest method since those points can be later be manipulated without any quirks (linear tempo manipulation has certain problematic corner-cases). And once completely satisfied, you can easily change them to gradual without disturbing time positions of tempo markers

Square output

For our example (and good starting point if you're unsure), let's use these settings:

Convert markers to tempo.png

This will output something like this:

Square output.png

Notice:

  • First marker will have a time-signature setting and have "allow partially measure before this marker" set.
  • Last marker will have no tempo-marker.

Linear output

For the same project markers, choosing linear output will give this:

Linear output.png

Notice:

  • Doubling of the points are needed to make linear transitions correct.
  • In this case, the first point is set to linear manually prior to running this action.

Linear output, split middle point

For the same project markers, choosing linear output split middle points checked (here 1/3), will give this:

Linear output split.png

Notice:

  • The number of points is tripled compared to square output

(C) Post-conversion operations

You will probably have to fix things up later. SWS includes methods for easier manipulation of tempo markers. Most people will be interested in these:

For other methods see the rest of the article:Tweaking tempo

Other tools

Other methods

There are other methods of doing tempo-mapping, see:

Personal tools