// A SONG as ROUND 11's 7-INCH RESTING ON THE TRAY (the owner's go, 7 Nov 2026):// the album's tray (`AlbumTrayFace.swift`, `TrayFace`) with the single in// its faint round well — the same tray, no second painting, the 7-inch// floating concentric as Round 21's layout lays it — its label typing the// song's name and its artist, the strip its album's cover with the song's// name and artist in the cream panel. On the Songs deck the arm rests off// the record and a tap on the record plays the song (its `play` part, the// deck's act, as the single's).//// THE PLAYER. The same face is a face the player wears on Listening (the// `player` face setting's `tray`): held by the player, the label types the// held song's name and artist with the time played and the time left either// side of the spindle; the record TURNS at 33⅓ while it plays (the// turntable's turn, `TurntableDeck.turn`: paused it coasts to rest upright;// Reduce Motion, still); the arm sits on the 7-inch's outer groove and// sweeps to its run-out with the song, lifted while paused, and dragged// along its arc it seeks (`scrub`); the strip shows the held song's album// and its artist. A tap on the record plays or pauses; beside it, left of// its centre `previous` and right of it `next`, which the shell runs.//// Every word is the card's: `title`, `subtitle` or the player's `artist`,// `album`, the player's `duration`, and its picture the album's cover.importCottonValuesimportSwiftUI/// The song's tray, and the songs it is reviewed with: on the Songs deck,/// and as the player under the player's word.publicenumSongTrayFaceCatalogue {publicstaticlet stock: FaceStock = .ownpublicstaticlet ground: FaceGround = .tolexpublicstaticlet face = Face(id: "song.tray", specimens: [Specimen("song", harbour, picture: "poster-ferry"),Specimen("no cover", train),Specimen("player playing", playing, picture: "poster-ferry", play: TrackPlay(held: true, playing: true, elapsed: 134, duration: 242)),Specimen("player paused", playing, picture: "poster-ferry", play: TrackPlay(held: true, playing: false, elapsed: 134, duration: 242)),Specimen("largest", largest, play: TrackPlay(held: true, playing: false, elapsed: 312, duration: 669)), ]) { card, picture, _ inTrackPlaying(card: card) { player inTrayFace(card: card, cover: picture, play: player.play, toggle: player.toggle, seek: player.seek, kind: .song) } }/// An invented song off an invented album, as the Songs deck holds it.publicstaticlet harbour = DeckCard(face: .songTray, fields: ["title": .text("Harbour Lights"),"subtitle": .text("The Low Tide"),"album": .text("Night Ferry"),"length": .text("4:02"), ])/// Another album's song, no cover.publicstaticlet train = DeckCard(face: .songTray, fields: ["title": .text("Slow Train"),"subtitle": .text("Mara Vance"),"album": .text("Common Ground"),"length": .text("3:17"), ])/// The song as the player's card holds it: its name, artist, album and/// length in seconds, 4:02.publicstaticlet playing = DeckCard(face: .songTray, fields: ["title": .text("Harbour Lights"),"artist": .text("The Low Tide"),"subtitle": .text("The Low Tide"),"album": .text("Night Ferry"),"duration": .number(242), ])/// The longest words on the player, no cover, drawn at every text size/// Loom has, the largest among them.publicstaticlet largest = DeckCard(face: .songTray, fields: ["title": .text("The Slow Train Home Through Sixteen Lanterns"),"artist": .text("Mara Vance and The Low Tide"),"subtitle": .text("Mara Vance and The Low Tide"),"album": .text("Sixteen Lanterns and the Blue Hour Sessions"),"duration": .number(669), ])}