Recording a call was easy. Knowing when one had started took two days.
My Mac now records every meeting without being asked. Capturing the screen took an afternoon. Telling a live call apart from an open chat window, a recap page or a pair of AirPods took two days of rewrites.

For most of this year an OBS setup recorded my calls. A small daemon watched the camera, and when the camera came on it told OBS to start. That covered video calls and missed everything else. Half my calls are camera-off, and those never got recorded at all.
On November 25 at 16:02 I committed the first version of its replacement, a menu bar app of my own. It's called RayNote. It records the screen with ScreenCaptureKit, keeps my microphone and the call audio on separate tracks, and after the call it sends the audio off for a transcript and writes a note into my notes vault. The repo got 16 commits that first day, 45 the next and 22 the day after.
The recording part was mostly done in the first hour. Three review passes landed by 16:12, and they fixed real bugs. One was a deadlock: the daemon waited for ffmpeg to exit before reading its output, so ffmpeg filled the 64 KB pipe buffer and both sides waited forever. Those were ordinary bugs with ordinary fixes. The rewrites over the next two days went into a different question. Is there a call happening right now?
Three signals, all of them liars
The app checks three things every two seconds. Is a meeting app using the microphone? Is a camera on? Is there a window on screen whose title looks like a call? Any one of them starts a recording after three seconds, and it stops 30 seconds after all three go quiet.
The microphone. The obvious check is whether the mic device is in use. That turned out to be useless, because AirPods are held open by background audio, so the mic looks busy all day. What works is the data behind macOS's orange dot. Since macOS 14.4, CoreAudio reports per process whether it is actually capturing input, through kAudioProcessPropertyIsRunningInput. The app walks the process list and keeps only the processes whose bundle id belongs to a meeting app or a browser. A process only counts while it is in a call, which is exactly what I wanted to know.
The camera. CoreMediaIO's kCMIODevicePropertyDeviceIsRunningSomewhere needs no permission and is reliable. The one rule is to skip anything named "Virtual Camera", or a camera app sitting in the background reads as a call that never ends.
The window title. This is the signal that catches camera-off calls, and it's the one I rewrote most. Every rule I wrote matched something it shouldn't have.
- A Teams window ending in
| Microsoft Teamslooked like a safe match. Chat, Calendar, Files, a channel and a 1:1 chat all end that way. With that rule, having Teams open was enough to record. - Matching the word "meeting" caught "Meeting recap", "Meeting notes", "Meetings" and "Meeting chat". Those stay open for hours after a call ends.
- "Meeting join" is the pre-join lobby. It can also sit open for hours.
- The real in-call title, when I finally looked at one during a live call, is
Meeting with <name> | <tenant> | <email>. It contains neither of the patterns I had been matching. - In Slack, a window starting with "Huddle" is a call. A window starting with "Huddles" is the list of huddles, which you can leave open all week.
- FaceTime has no title rule at all. An idle FaceTime window is called "FaceTime", same as a call. A FaceTime call turns the camera on, so the camera signal covers it.
The Teams rule in the code now carries more comment than code, and the comments are a list of windows that used to start recordings.
On the afternoon of the 26th I tried to simplify. At 14:41 the microphone became the only trigger. At 14:48 all three were back on, because a camera-off call where I never unmute is still a call I want recorded. At 14:56 the stop delay went from 90 seconds to 30.
Short recordings were a problem of their own. On the first evening an open huddle window had produced a 118 second recording with 176 bytes of transcript, so a transcript under 400 bytes now skips the summary step. The shorter stop delay added another: a five second blip on any signal became a 40 second file, because the idle tail counted toward the minimum length. The minimum now counts only seconds when a trigger was actually active.
Who said what, for free
Transcripts without speakers are much less useful as notes. The usual fix is diarization, a model that guesses voices. I already had something better: the recording keeps my microphone and the call audio as separate tracks, because ScreenCaptureKit gives them to me separately.
Transcribing both tracks would label speakers perfectly and double the cost. So only the mixed track goes to the transcription model. Afterwards the script decodes the other two tracks locally at 8 kHz, measures loudness in 0.1 second frames, and labels each line of the transcript by whichever track was louder while it was spoken:
def label(segs, me, others):
out = []
for start, end, text in segs:
a, b = int(start / FRAME), max(int(end / FRAME), int(start / FRAME) + 1)
m = sum(me[a:b]) / max(len(me[a:b]), 1)
o = sum(others[a:b]) / max(len(others[a:b]), 1)
out.append((start, end, ("Me: " if m > o else "Others: ") + text))
return out
It works without headphones. When the call plays through my speakers, the mic picks up an echo, but the echo is quieter than the call track itself, so the comparison still comes out right. When two people talk over each other, the louder one gets the line. Others is everyone who isn't me, which is all a meeting note needs. The summary step treats a label as a strong hint, and it can still work out names from what people say.
What else broke in two days
Plenty went wrong outside the detector, and most of it had nothing to do with recording.
- Local Whisper picks the language from the first 30 seconds of audio. An 82 minute English meeting that opened with small talk came out in Chinese, full of looping hallucinations. The first fix probed the language 40% of the way into the file. By that evening the whole step had moved to a cloud model, MAI-Transcribe 2 through OpenRouter, which handles Vietnamese mixed with English, runs about four times faster than Voxtral, the other cloud model I tried, and costs about $0.10 an hour of audio. Local Whisper was dropped that night. It had also been inventing YouTube sign-offs over silence.
- A live caption overlay used a tool mode that turned on voice processing for the microphone. That took the mic away from Teams, and for a while the people on the call couldn't hear me. The overlay now listens to system audio only.
- Bash reads a script as it runs it. I edited the post-processing script while it was transcribing a 94 minute meeting, the running shell read the new bytes at the old offsets, and the job died with a syntax error that didn't exist.
- The summaries were first written by a coding agent with tool rights, which meant handing a transcript, text anyone on the call could have said, to a model that can run commands. On the 26th that changed to one plain API call with no tools, to DeepSeek Flash. It matched the agent's folder choices and meeting splits in a side-by-side, at about 3 cents a note.
By the end of the third day it had an installer, a signed auto-update that waits until no meeting is on the calendar for the next hour, and a setup window. It records about four hours of my calls a day. Over the two days the recording code barely changed. The detector got rewritten again and again, because every rule I wrote matched some window title I hadn't seen yet.