Colin Calnan  /  Builds  /  Automated video · Applied AI

My 57,609-view clip was between songs. Now my tool looks there.

I built a tool with AI that cuts my gig videos into a reel per song. Now it also reads what I say between songs to find moments worth posting.

Measured
The AI judge ranks my best clip’s moment 1st of 21. The old way ranked it 9th.
A stranger’s hand passes me a pint mid set, with a green $20 note held against the glass. My hand reaches in from the left.
The pintI cut this one by hand.
On fireFound with my tool. Tap for sound.
Status
In use on my own gigs since May 2026
How
Claude wrote the code. I set the rules and checked the results.
01

May 2026

I film every gig, so I built a tool to cut out the songs

A phone on my speaker stand films every gig, start to finish. One Saturday evening in May I built a tool with Claude, the AI I write code with.

It finds each song by how loud the room gets, Claude names it from the words I sing, and it cuts a reel. By October it had made 323 song reels from 16 gigs.

  • Song reel: me singing Dancing in the Dark under a gazebo at Intrigue, captioned without a spark
  • Song reel: me with my guitar, captioned Oh, stand, stand by me
  • Song reel: a close-up of me singing, captioned Those were the best days of my life
One 83-minute gig's loudness. 20 yellow bands are the songs it found and kept. The hatched gaps between them, 17 minutes in all, are the talk it threw away. How loud the room was, minute by minute a song it kept talk it threw away 0 min 20 min 40 min 60 min 80 min One 83-minute gig's loudness. 20 yellow bands are the songs it found and kept. The hatched gaps between them, 17 minutes in all, are the talk it threw away. 0 min 40 min 80 min How loud the room was
At one 83-minute gig it found all 20 songs, in yellow, and named 19 right. The hatched gaps are 17 minutes of talk it threw away.
02

June 2026

My best clip was a stranger’s pint, and my tool skipped it

At a June gig at Folktale, a stranger handed me a pint mid set, with $20 behind the glass. He wanted Fast Car, a song I’d never played live. I played it next.

I cut that clip by hand and it got 57,609 views on Instagram, seven times my next best. I’d thought the songs were the important part, but they’re not. People wanted something real.

An hour into the Folktale gig: song 14 ends at 1:00:51, then 111 seconds of talk the tool skipped, then song 15, Fast Car, at 1:02:42. The pint arrives at 1:01:15, 24 seconds into the gap. Folktale, an hour into the night Song 14 Song 15Fast Car The pint 111 seconds of talk, skipped by the tool 1:00:51 1:01:15 1:02:42 An hour into the Folktale gig: song 14 ends at 1:00:51, then 111 seconds of talk the tool skipped, then song 15, Fast Car, at 1:02:42. The pint arrives at 1:01:15, 24 seconds into the gap. Folktale, an hour in Song 14 Song 15 The pint, 1:01:15 Fast Car 111 seconds of talk, skipped by the tool 1:00:51 1:02:42
Where the pint landed in that night’s video. The original is on Instagram.
03

The first try

So I taught it to read what I say between songs

In September I had it write down everything said between songs and score each stretch. My first try counted replies, questions and laughs.

On the pint gig it ranked the pint 9th of 21. Chattier stretches beat it, because counting can’t tell that something actually happened.

Folktale, between songsscored by counting
Scored higher:
“Between a lot of us we can figure it out. I like it.”
“Okay, well so far, are we three for three on requests?”

9th of 21, the pint:
“Oh, not a challenge. Just a beer. No, no, no. Okay, next one. Appreciate it. Cheers.”
Both lines on top scored higher than the pint. Nothing happens in either.
04

The fix, September 2026

Then an AI judge picked the moments where something happened

The judge is Claude, reading the same words. Its test: something happened to me that I didn’t plan, and I reacted. It must rank them and keep five at most, so it can’t call everything good.

My rule on top: I slip four snippets from the middle of songs in among them. If it picks one of those, I throw out the whole result.

Two rankings of the 21 stretches of talk at the Folktale gig. Counting the talk put the pint 9th. The AI judge kept 4, put the pint first, and kept none of the 4 song snippets. Counting the talk the pint, 9th The AI judge song snippets: none kept the pint kept not kept song snippet Two rankings of the 21 stretches of talk at the Folktale gig. Counting the talk put the pint 9th. The AI judge kept 4, put the pint first, and kept none of the 4 song snippets. Counting the talk the pint, 9th The AI judge song snippets: none kept the pint kept not kept song snippet
It put the pint 1st of 21, where counting had it 9th, and picked none of the four song snippets. That’s one gig where I already knew the answer.
05

November 2026

That’s how I found the night I joked I was on fire

Rose Hill Orchard in October was a gig where I didn’t know the answer. It got hot, so I took my jacket off and said, “It might be because I’m on fire. On fire, but modest.” I found that moment with the new tool, and it’s a post now.

  • Under a tent in an orchard, jacket still on, captioned hot up here.
  • Jacket off, guitar on, captioned I'm on fire.
  • Turned to the mic stand, captioned On fire, but modest.
  • Smiling at the room, captioned Humble.

Moments from the nine-second post. Someone at a picnic table is blurred here.

06

Still breaks

What it still can’t do

  • It can’t cut a joke well. Its first cuts lost the setup, so now it hands me longer videos to trim myself.
  • Most of what it flags is only a maybe. Across 8 gigs it kept 26 moments and rated only 5 as clear.
  • Some gigs only have sound. Five of the first 12 gigs it checked had lost their video.
The moments it kept at each of 8 gigs, May to September: 26 in all. It rated 5 as clear, at three of the gigs.What it kept at each of 8 gigsrated clearnot sureMayMayMayJuneJuneAugSeptSept The moments it kept at each of 8 gigs, May to September: 26 in all. It rated 5 as clear, at three of the gigs.What it kept at each of 8 gigsrated clearnot sureMayMayMayJunJunAugSepSep
The full story

In my words

“AI has helped me cut up my gigs. I was thinking that the songs were the things that were important, but they’re not. The clip with the pint and the money hidden behind the pint, that’s the thing that made it viral. That was the moment people wanted to see, something real, and it wasn’t cut by the tool I created. Now I’ve updated it to READ the transcript in between songs, to try to find the little bits of gold that people might like.”

Me, November 2026

The first evening, in May

Built in Claude Code over one Saturday evening, on the footage from Predator Ridge the night before: 28 songs found and 23 reels cut.

TimeWhat happened
6:22 pmFirst working version: split, name, cut reels.
6:29 pmReels sped up by only listening to 90 seconds of each song.
9:18 pmEvery step made safe to stop and restart.
9:19 pmShazam removed. It never matched a live acoustic cover, because it matches studio recordings.
10:10 pmFixed a cut-short copy of the audio that had hidden half the gig: 15 of 28 songs found until then.

How the songs part works

Loudness is measured over 15-second windows, so a quiet verse doesn’t split a song, and a song is anything above the cut-off for more than 90 seconds. Whisper writes down a minute of each song and Claude Sonnet names it. Each reel starts just before the most repeated phrase, usually the chorus.

Captions come from the published lyrics (LRCLIB), placed on my voice by forced alignment, behind two checks: the right song’s lyrics share 59 to 92% of their words with what was heard, a wrong song’s 4 to 9%. Asking Claude to correct what the speech model heard made it worse, from 25% of words wrong to 41%. For four months “Stand By Me” came out as Me_by_Ben_E_King_-_Stand, because my code split Claude’s reply at the first “ by ”.

In August a gig took about 75 minutes for 26 reels on my old Intel Mac. In October, after speed fixes and on an M5 Pro, a one-hour, 13-song gig went from video to reels in 3 minutes 15 seconds. Once every gig was split and named I could ask for one song across all of them: 16 “one song, many gigs” reels came out of one overnight run, each mixing lines from five to ten gigs.

How I got the pint’s story wrong

For three months my notes put the pint at the wrong gig, and my portfolio said the tool had cut it. In September I checked. Matching the posted clip’s sound against every gig’s audio found Folktale, with a score of 0.996 where every other gig sat near 0.916. The file times settled it: the tool split that gig about two hours after the clip was already live. I’d cut it by hand in InShot. A guess from the frame rate had sent the first search to the wrong venue, because Instagram re-encodes everything to 30 frames a second.

How the moment finder and the judge work

moments.py takes every gap of 12 seconds or more between songs and writes it down from the original video, since the cut-down audio has lost the high end where applause and consonants live. moment_judge.py gives Claude Sonnet those gaps plus four unlabelled decoys from the middle of songs, and the standard in RUBRIC.md. It must rank them and keep five at most. The decoys were my rule, written down after another tool of mine returned plausible wrong numbers three times in one day.

In and out points come from the word timings, never from the model, with a four-second lead-in so a “did you spot it?” clip is already running when the moment lands. One bug: judged twice, the same gig got four picks, then two. The judge now runs at temperature 0, so the answer doesn’t move. The check that keeps it honest is tests/known_moments.json, the pint with its known answer: counting put it 9th of 21; the judge put it 1st, with none of the four decoys ranked.

What I changed after watching its clips

“there should be no zoom on moments and if we can we need to blur their face, and in the case of this one we missed the context at the beginning which was the name of the song, so we could clip some of the song and then the conversation”

“it’s hard to nail these. It might make sense to make the clips longer so that I can grab them and just edit them in inshot manually?”

Me, September 2026

So moment clips are full frame, reach back into the song for context, and export long and uncaptioned with a note of where the payoff lands. Other people’s faces are blurred by following their bodies, because face detection kept losing them: on the one real two-person moment, four sampled frames found faces 0, 2, 1 and 1 times, and people 2, 2, 2 and 2.

Runs

Songs: 16 whole gigs and 323 song reels by October, plus 65 from older clips back to 2022, and more gigs since. Moments: the first sweep looked at 12 gigs. The 8 that had been split gave 26 moments kept and 5 rated clear, including the pint and Screen Time, the night my daughter’s screen-time controls locked my iPad mid-song.

Tools

  • Claude Code
  • Claude Sonnet
  • Python
  • librosa
  • ffmpeg
  • Whisper large-v3 (MLX)
  • faster-whisper
  • MMS forced alignment
  • LRCLIB
  • Pillow
  • InShot, for hand edits
Next build: my shoe on a kick pedal at a gig