#!/bin/sh # MEMBERSHIP: the club's own 1980s recruitment advert. Every announcer line is its own read, so each # can sit on its own shot. usage: sh tools/trailer/ad.sh ... (parallel) cd "$(dirname "$0")/../.." V="uv run -q --with requests --with pillow python tools/trailer/gen.py voice" STYLE="An over-enthusiastic 1980s British television advert announcer: a warm, plummy, upper-class southern English accent, a big beaming smile in the voice, bouncy, salesy, slightly too cheerful." FAST="A 1980s British television advert announcer reading the legal small print at the very end of an advert: extremely fast, flat, barely breathing, every word still intelligible, upper-class southern English accent." line() { case $1 in v01) $V v01 "$STYLE" "Looking for a tennis club with real tradition?" ;; v02) $V v02 "$STYLE" "Since eighteen seventy-seven, Saint Mor-dreds has offered the finest grass courts in the county..." ;; v03) $V v03 "$STYLE" "...lovingly tended by our dedicated ground staff..." ;; v04) $V v04 "$STYLE" "...with our very own lawn tonic!" ;; v05) $V v05 "$STYLE" "Treat yourself to strawberries and cream..." ;; v06) $V v06 "$STYLE" "...served fresh daily!" ;; v07) $V v07 "$STYLE" "Join a warm, welcoming community of members..." ;; v08) $V v08 "$STYLE" "...with officials who never miss a thing!" ;; v09) $V v09 "$STYLE" "Our umpire has presided over every match since nineteen-oh-eight..." ;; v10) $V v10 "$STYLE" "...including our longest-running fixture!" ;; v11) $V v11 "$STYLE" "But don't just take our word for it!" ;; v12) $V v12 "$STYLE" "Saint Mor-dreds Lawn Tennis Club. Lifetime membership... now open!" ;; v13) $V v13 "$FAST" "Membership is for life. Membership does not end with life. Members may not leave the grounds. Strawberries are not fresh. Terms and conditions apply." ;; *) echo "unknown line $1" ;; esac } for n in "$@"; do line "$n" & done; wait