Rhythm Lab · how it's programmed
The program director

How Rhythm Lab is programmed

Rhythm Lab: beats, soul, jazz and electronic music from the Rhythm Lab Radio library, new and old, sequenced like the show.

A radio station's program director decides which songs the station plays, how often, and in what order. On Rhythm Lab an agent does that job around the clock, the way a real station does it: songs sit in rotation categories, every hour follows a clock, and a weekly music meeting decides what moves. Listen to Rhythm Lab · the latest music meeting.

1Judgment and rules

Jev's judgment

Jev, a model that answers typed questions with probabilities, decides what a program director decides by ear: does a new record belong here, has a song earned more airplay, are listeners tired of it, how much energy does it have. Every answer is logged with its probability.

Code's rules

Plain code applies the station's rules: the categories and their sizes, how long a song rests between plays, the hour clocks, and the separation rules. The numbers on this page are read from the configuration the station is running.

2The rotation

Every song sits in one category. A category's rest time is how long a song waits before it can play again, so a short rest means a song you hear often.

CategorySongs nowSizeRests between plays
P · Power Gold 156160 20 h
M · Rotation 887900 3.0 days (72 h)
R · Repeat, recent 660700 5.0 days (120 h)
G · Library 8692000 10.0 days (240 h)
N · New 3030 6 h

3The hour clocks

Each hour follows a clock: a fixed order of slots, starting at the top. :00 and :30 always start on time. A song that would run past one is swapped for a shorter one, and any time left over goes to the break before it.

idnewsPGMbreakNRPid_teaseGNbreakMRMbacksell :00 :30
day · 07:00–18:59
idGPGRbreakGMidGRGbreakMGbacksell :00 :30
overnight · 19:00–06:59
P Power GoldM RotationR Repeat, recentG LibraryN New IDs, news, breaks

4Separation

Before a song can fill a slot, it must pass rules that never bend:

Then softer preferences choose among the songs that pass. When there aren't enough songs to honour them all, they give way in this order: era alternation first, then the mix of sung and instrumental records, then Rhythm Lab's own hour shape (pairings Tarik played back to back, lower energy in the first half hour, an opener after the news and a closer at the end, a holiday record in season). If nothing passes the hard rules, the slot stays empty and the break runs longer; an artist is never repeated to fill it.

5The music meeting

Once a week (daily in a station's first week) the program director holds a music meeting. Jev is asked, song by song: should this new record join the rotation; has this song earned more airplay; are listeners tired of this one. Code acts only on clear answers: a probability of 0.6 or more. No category changes more than 25% of its songs in one meeting, so the station's sound shifts gradually.

See the latest meeting: every decision, with Jev's probability and the reason.

6Where songs come from

The agent reads the station's feeds (5 music sites and communities), pulls out the records each item names, and Jev rates each one against the station's brief; finds rated 0.5 or more can go to the music meeting. Each record is matched on Apple Music; a match under 80% confidence is held for a person to check, and originals are preferred over remasters, live takes and edits. Rhythm Lab also draws on its own library: thirteen years of Rhythm Lab Radio playlists, where each track starts in the category its play count earned.

7Breaks, IDs and news

The clock reserves time for station IDs (8 seconds), breaks (25 seconds), a tease at :30 and a back-announce before the top of the hour, plus the hourly newscast at :00 from 7 am to 7 pm.

Rhythm Lab has its own host, a synthetic voice (Gemini's Algieba), different from the newsreaders. Every few songs the host back-announces what played, gives one fact about it and says where the agent found the record, then teases what's next. Every fact must cite a source or it's cut: the facts come from a web search with citations (Perplexity), Apple Music and the post where the record was found, and Jev checks each script; one that says more than its facts is replaced by a plain back-announce. The words and their sources are listed in the playlist. In your player, the host and the news play between songs, never over a song; anything not yet voiced is skipped.

8What a model never does

A language model never picks the next song.

Jev answers questions; code applies thresholds and fills the clock. The order of songs comes from the rules above, so every choice can be traced back to a number on this page or a logged decision.

ONE 1.0 FMPress play
0:00