Looping guide · YouTube in desktop Chrome or Edge

How to loop part of a YouTube video, with the loop on the beat

YouTube can already repeat a whole video: right-click the player on a computer and choose Loop. It has no way to repeat just one section, from a point A to a point B. For that, open the free TransposeAny extension beside the video in Chrome or Edge on a computer, drag across the strip over the bars you want, and they repeat until you stop. The edges settle on the song’s beat, a count-in can play before every pass, and the loop is still there when you come back to the video.

Add to Chrome — free

No account and no ads. The audio is processed on your computer and never uploaded. Laptops and desktops only.

TransposeAny Loop/Bookmark section with Start 1:39:27 and End 1:50:80, an 11.5 second loop marked in yellow over the waveform that starts just after the chord changes to F, with green beat marks below and Lead-in 4 at 82.8 BPM.
An 11.5-second loop starting just after the change to F. At 82.8 BPM a bar lasts about 2.9 seconds, so this is four bars. The times read minutes, seconds and hundredths.

What YouTube’s own Loop does, and where it stops

YouTube Help describes a Loop setting for single videos and playlists. On a computer you right-click inside the player and click Loop; in the YouTube app on a phone, YouTube Help puts it under Settings, then Additional settings, then Loop video. Either way the whole video repeats continuously. For a short exercise video or a backing track you want under you for twenty minutes, that is all you need, and nothing has to be installed.

It stops short for learning a song. A four-minute track looped whole means about four minutes between each try at the eight seconds you actually care about. The Share box’s Start at option gets you to the right moment, but only once: nothing brings you back there when the bar is over, so you end up dragging the playhead back by hand with your fretting hand off the neck. Looping part of a video means giving the repeat its own start and end.

Choose the edges by the bar, not by the second

A loop that is a whole number of bars long sounds like the song carrying on. A loop that is three bars and a bit, or three bars minus half a beat, lurches every time it wraps round, and your hands learn the lurch along with the part. So decide the loop in bars first and let the times follow.

  • A goes on a downbeat, usually beat 1 of the bar before the hard part. If the phrase starts with a pickup, such as a melody that comes in on the last beat of the previous bar, A still goes on the beat 1 that contains the pickup, so the first thing you hear is the groove, not the middle of a note.
  • B goes on the next downbeat after the phrase, not on the last note itself. Ending exactly on the last note clips it; ending on the following beat 1 lets the note ring for its full length and makes the repeat land where bar one would have.

To sanity-check a loop, compare its length with the bar length at the song’s tempo. A bar of 4/4 lasts 240 ÷ BPM seconds (four beats of 60 ÷ BPM each); a bar of 3/4 lasts 180 ÷ BPM. The panel shows the tempo it found and the length of your loop, so the two numbers are easy to compare.

Tempo (4/4)1 bar2 bars4 bars
72 BPM3.33 s6.67 s13.33 s
84 BPM2.86 s5.71 s11.43 s
96 BPM2.50 s5.00 s10.00 s
108 BPM2.22 s4.44 s8.89 s
120 BPM2.00 s4.00 s8.00 s
132 BPM1.82 s3.64 s7.27 s

If your loop at 120 BPM reads 8.5 seconds, it is a quarter of a bar too long, which is one extra beat, and you will hear it as a stumble at the join.

Three ways to set A and B

Open the video in Chrome or Edge, open TransposeAny from the browser’s Extensions menu, and let the passage play once at normal speed. Beats and chords are found instantly for anything already played, but a part the video has not reached yet has to be heard once in real time before its beat marks appear. Then use whichever of these suits the job.

  1. Paint it on the timelineDrag across the strip from where you want A to where you want B. Before a loop exists there are two drag areas, labelled “drag to loop the song” and “drag to loop this view”: the first sets a loop anywhere in the song, the second inside the stretch of timeline you have zoomed in on, which is easier for a loop of a bar or two. Drag either yellow handle to adjust it; let go near a beat mark and the edge settles on the beat.
  2. Catch it while it playsThe Start and End fields each have a small button that sets that edge to the current time (hover it and it reads “Set Start to the current time”). Press the Start one as the bar begins and the End one as the phrase finishes, then tidy the edges by dragging. With the side panel in focus, the [ and ] keys do the same.
  3. Type the timesClick into the Start or End field and type. The fields read minutes, seconds and hundredths, so 2:41:20 means two minutes and 41.2 seconds, not two hours. Typing 2:41 gives 2:41:00, and a plain number counts seconds. Press Enter to keep it or Esc to cancel. This is the way to copy a loop from a written note, or from a lesson whose teacher says “from 2:41”.

The repeat button next to the fields turns the repeating on and off without losing the markers (hover it and it reads “Repeat is on — click to turn it off”). Turn it off when you want to play from A straight through B and into what follows, to check that you can get out of the passage as well as into it.

A count-in on every pass, or an unbroken loop?

Lead-in sets a count from the metronome before the loop starts, and the click follows the song’s own beat. Its two settings answer different questions:

  • Every repeat puts the count before each pass. Use it when the end of the passage is nowhere near its start: a run that finishes high up the neck and starts low, or a fill that ends on a crash. At 96 BPM a four-beat Lead-in gives you 2.5 seconds to get back into position, and because the count is in time, each restart lands exactly on the beat.
  • First only counts you in once, and after that B flows straight back into A. Use it when the music really does go round in a circle, like a two-bar riff or a vamp that the song repeats anyway. Then the join itself is part of what you are practising.

Audible lets the track play through the count, so you hear what you are coming in on; Silent gives only clicks and starts the track at A.

Worked example

A one-bar drum fill into a chorus at 96 BPM

A drummer wants the fill that leads into the second chorus of a song at 96 BPM in 4/4, where one bar lasts 2.5 seconds. The fill is a single bar of sixteenth notes around the toms, starting at 2:43:70 in the panel’s format and landing on a crash at 2:46:20, the first beat of the chorus.

Looping only the fill, 2:43:70 to 2:46:20, drills the sticking but never the crash, because B cuts it off. So the main loop runs from the groove bar before the fill to the end of the first chorus bar: Start 2:41:20, End 2:48:70. That is three bars, 7.50 seconds, and the panel’s loop length agrees. Groove, fill, crash and one bar of chorus groove, then round again.

At Speed 80% the song plays at 76.8 BPM and the three bars take about 9.4 seconds. With Lead-in 4 on Every repeat, the count adds about 3.1 seconds, enough to bring the sticks back from the crash to the hi-hat. Save that loop as “fill into chorus 2”, then make two more from it: the fill bar alone, for the sticking, and the last beat of the fill plus the crash bar, for the landing. Three short loops, one song, and every one of them is in the list when you open the video tomorrow.

Loops together with Speed and Pitch

The loop is pinned to the video’s own timeline, so changing Speed does not move it: 2:41:20 is still 2:41:20 at 60% or at 120%, only the time each pass takes changes, and the pitch stays where it was. Speed runs from 25% to 200%.

Pitch works the same way the other round. Move the song up to 12 semitones up or down and the loop stays put, the tempo does not change, and the chord names along the timeline move with your setting. A keyboard player looping a two-bar hook in E♭ can raise it one semitone to E to rehearse a gig arrangement, and read the chords for E above the loop.

Keeping your loops for the next session

Choose Save Loop and give it a name you will understand next week, such as “fill into chorus 2” rather than a time. It joins the Saved Loops list for that video, and the saved loops come back whenever you open the video again. The Library tab collects saved loops from every video in one place, with a search box, which is handy when you are learning several songs at once.

The working state is remembered per video as well: speed, pitch, the current loop and tone settings return when you come back to the same video. Clear Loop removes the current loop from the strip; your saved loops stay in the list.

When the loop misbehaves

  • It hiccups at the join. The loop is not a whole number of bars. Check its length against the table above and drag the stray edge onto the right beat mark.
  • The last note is cut short. B sits on the note instead of after it. Move B to the next downbeat.
  • There are no beat marks under the loop. That part of the song has not played yet. Let it play through once at normal speed, and the marks appear.
  • An ad starts in the middle of practice. The panel says it is waiting out the ad and that your loop is safe. The loop is still set when the video comes back.
  • The count-in feels long. If the passage goes round in a circle anyway, switch Lead-in to First only, or turn it off.

Questions about looping YouTube

Can YouTube loop just part of a video?

Not on its own. YouTube’s Loop setting, which you find by right-clicking the player on a computer, repeats the whole video from the start. To repeat a section from a point A to a point B you need a tool such as TransposeAny, which adds an A-B loop beside the video in Chrome or Edge on a computer.

How do I loop a YouTube video on my phone?

In the YouTube app, open the video, tap Settings, then Additional settings, then Loop video. That repeats the whole video. TransposeAny’s A-B loops need Chrome or Edge on a laptop or desktop computer; it does not run in the YouTube app or in a phone browser.

Why does my loop stumble every time it repeats?

Its length is not a whole number of bars, so the restart comes early or late. Put A on a downbeat and B on the downbeat after the phrase, then compare the loop length with one bar at the song’s tempo: 240 ÷ BPM seconds for 4/4.

Will my loop still be there when I come back to the video?

Yes, if you choose Save Loop. Saved loops are kept per video and come back when you open it again, and the Library tab lists them across all your videos. Speed, pitch and the current loop are also remembered for each video.

Does looping a section slow the video down or change its key?

No. The loop only sets where playback repeats. Speed and Pitch are separate controls, and you can use either, both or neither while the loop runs.

Keep practising

Your next practice session

Find the eight seconds you keep rewinding to.

Loop them as whole bars, put a count-in in front, and save the loop with a name. Tomorrow it is one click away.

Get TransposeAny for Chrome

Requires desktop Chrome or Edge. This extension is not affiliated with YouTube or Google.