For the judges
Signature Tune is paper that carries its own song. A sender types a name, hears its melody, adds a message, and prints a card. The card carries a scan code. The recipient scans it, the player opens in the browser, and the message appears one character at a time, each with its own note. The greeting travels inside the card link, so there is no account and no message database.
Ordinary greetings are easy to send and easy to forget. Signature Tune turns your own words into a musical keepsake. A birthday wish, a thank you, or a simple "I love you" becomes a personal melody that someone can hold, scan, hear, and keep. No musical experience, no account, and no installation. Just your words, a piece of paper, and a song made from the greeting itself.
Signature Tune is designed for people who want to give a meaningful personal gift without knowing how to compose music or design stationery. A parent can create a birthday song for a child, a couple can exchange musical anniversary cards, and someone living far from family can share a personal greeting through a single link. Recipients need no account, and the silent reveal offers an alternative to listening.
Judge this project in 60 seconds
- Play the 35-second sample card, or open the card maker and follow steps 2 to 5.
- Type a name under Who is this for? and press Hear your tune.
- Add a message and a sender. The card draws itself as you type.
- Press Hear your full greeting to preview the song. For an optional technical demonstration, open How it works to see how LOVE is encoded into notes and decoded back into letters.
- Press Print your card to preview the stationery, or press Copy link, open the link in a new tab and press Tap to play. Use Reveal without sound for a silent demonstration.
The greeting travels inside its link. No account or message database is required. Kiro guided this build through 20 numbered requirements, 12 correctness properties, six steering documents and three configured hooks. The saved test run reports 243 passing tests, and the two save hooks recorded 551 runs. Fresh-seed testing exposed a faulty test generator, while hook failures caught violations of the visual design rules. The evidence below shows what failed, what changed and why.
Start the demo in seconds
Start with the primary demo, a card for Michael, from Sarah. Open it, tap Play, and watch the message "I love you Michael Smith, you are my all" appear in time with the melody. The full arrangement runs about 35 seconds. Then try the birthday card and the thank you note below. Each sample is a real card: its link was built by the same encoder a sender uses, and the player rebuilds the greeting from the link alone.
For Michael, from Sarah: open and play this card
Hear the full arrangement (about 35 seconds)
Watch the demo video on YouTube
Working sample cards
Each card below is built through the real card encoder, not a hand-written link that skips validation. "Open and play this card" opens the live player. "Hear the full arrangement" plays a pre-rendered version of the same song.
The sample greetings are fictional. The pre-rendered arrangements were produced offline by this project's own renderer, which uses the same arranger and the same synthesized voices as the browser, so they sound the same as playing the card.
Five parts, one song
Signature Tune joins five small machines into one working object. A gilded thread shows how the separate parts are sewn together, which is the Frankenstein idea in the palace look: five pieces joined into one.
- Letter cipher. Every letter maps deterministically to one note. Ten pitches and three note lengths make thirty slots. A goes to the first slot, B to the next, through Z, with a space and a few marks in the last slots. The canonical A to Z cipher is reversible:
decodeNotesreads A to Z text back from the canonical pitch and duration alone, with no stored characters (property P12). Other writing systems and emoji still produce deterministic notes, but their original characters cannot always be recovered from sound alone; the complete greeting is always preserved exactly in the card link and in the song's melody-event representation (property P10). You can try this yourself in the How it works panel on the card maker, where the word LOVE and any short word you type are shown as notes and read back from the notes. - Music box. The whole card plays as a short song, synthesized in the browser from code: a music-box lead over a soft accompaniment. Only the melody carries the words. The chords and the gentle beat add richness without changing the encoded greeting (property P11).
- Paper card. The finished card is drawn as SVG with explicit fills, as a royal invitation with a gold frame and a wax seal, so it prints cleanly without background graphics. The message is never printed on the paper. The card and the player show the word "From" before the sender, while it is the sender's name that is encoded in the card.
- Scan code. The card link is turned into a scan code on the paper, on a clean white surface with its quiet zone kept clear.
- Link as storage. The whole greeting is packed into the card link. There is no backend and no database; the card carries its own song.
Why it belongs in Frankenstein
Unlike a printed card that links to a prerecorded song, Signature Tune generates music from the greeting itself. Its five mechanisms combine musical encoding, browser synthesis, printable SVG stationery, scan codes and self-contained data links. The recipient's browser reconstructs the greeting without retrieving a stored recording or message from a database. The novelty is not any individual technology, but how they work together to turn paper into a playable musical keepsake.
Measurable correctness
The saved automated test run records 243 passing tests, zero failures and zero skipped tests. Seeded property tests check musical encoding, card serialization, scan-code capacity, malformed links and playback behavior; each runs 200 generated cases plus fixed regression cases and prints its seed so a run reproduces exactly. Some song-property inputs are excluded when they fail card validation. These results establish automated correctness, not physical print-and-scan reliability or real-device audio compatibility, which remain unverified.
| Property | What it checks | Seed and cases |
|---|---|---|
| P1 | A to Z letters round-trip exactly through the cipher. | seed 1345409072, 200 cases + 3 regression |
| P2 | Case does not change the melody; upper and lower map alike. | seed 1345474610, 200 cases + regression |
| P3 | Every note lands in the scale; the fallback is deterministic. | seed 1345540147, 200 cases + 5 regression |
| P4 | A card survives packing into a link and unpacking back. | seed 1345605684, 200 cases + 5 regression |
| P5 | The scan-code capacity gate matches the real encoder. | seed 1345671221, 200 cases + boundary |
| P6 | Decoding is total and safe: it never throws on bad input. | seed 1345736758, 200 cases + 9 regression |
| P7 | Playback reveals characters in order, after the signature melody. | seed 1345781761, 200 cases + 1 regression |
| P8 | A stopped session cannot keep revealing text. | seed 1345847297, 200 cases + 2 regression |
| P9 | The melody of a name does not depend on the message or sender. | seed 1345933369, 200 cases |
| P10 | The full-card song round-trips: the melody recovers the exact fields. | seed 1343266817, 200 cases + 8 regression |
| P11 | Decorative events carry no text and are ignored by the decoder. | seed 1343336449, 200 cases + 8 regression |
| P12 | Canonical note pitch and duration decode back to A to Z text, with no stored characters. | seeds 1343356929, 1343356930, 1343356931, 200 cases each |
These seeds are the fixed per-property seeds from the saved local run recorded in evidence/test-results.txt, regenerated in this session. Anyone can reproduce that run with npm test, which uses the fixed seeds by default. Continuous integration uses a fresh seed per run instead: it sets PROP_SEED from the run number, so each CI run exercises a new sequence and prints the seed it used. The CI run history is on the workflow runs page rather than quoted here, because its seed changes every run. The count of 243 tests is the current local run, not an estimate. The song properties P10, P11, and the full-song part of P12 skip any generated input that fails card validation, so their generated-case counts are not all assertions on valid cards; the cases that pass validation are the ones that assert the property.
Fresh-seed property runs found inputs the hand-written unit tests never tried. In Session 14 the property suites were run with a fresh seed, and that fresh seed made the valid-card generator build a name of spaces only, an input the fixed unit cases never used. validateCard correctly rejects a blank name, so the generated "valid" card did not validate: seed 91 failed P5 (scan-code capacity) and seeds 121, 171, 181, 201, and 4242 failed P4 (card serialization round trip) with "generated card should validate". This was a test-generator bug, not a product bug; the product was right to reject a blank name, and the generator had wandered outside the valid domain it was meant to sample. The fix forced the generated name to hold at least one non-space code point, and the six seeds became regression cases. The card-width tests are the honest counter-example: the Session 15 and Session 18 width tests passed while real capitals still overflowed the card column, because they computed their expected widths from the same assumed numbers the code used, so a shared wrong assumption passed on both sides. Session 19 switched those tests to real measured Cormorant Garamond widths (capitals run 0.76 to 0.92 em, not the assumed 0.62 em), so the fit is now checked against the font.
The continuous-integration history is not a clean green line. Until Session 14 the workflow ran on Node 20 and passed a quoted tests/**/*.test.js glob that the Node 20 test runner did not expand, so it found no test files, and the output was piped into tee without set -o pipefail, which hid the failure. Those earlier green runs executed no tests. Since Session 14 the workflow runs on Node 22 with set -o pipefail, an explicit list of test files, and a guard that fails the job when the reporter counts zero tests, with a fresh property seed each run.
Built with Kiro
The build was guided by Kiro, working from steering, a written spec, and hooks, across a run of recorded sessions. The application code, the spec, the steering, the hooks, and the tests were written in recorded Kiro CLI sessions. Screenshots, the git commits and pushes, and a few small wording edits noted in KIRO.md were done outside Kiro, and the later phases respond to written outside-review notes.
- Steering first. The
.kiro/steeringfiles set the product, the technology constraints, the brand, the privacy rules, and the writing standards before any code was written, so each session worked to the same rules. - A written spec. The
.kiro/specs/signature-tunefolder holds the EARS requirements (R1 through R20), the design with the cipher and data model, the numbered correctness properties, and the task list. The Analyze Requirements button in the IDE was not used; the equivalent review was written by Kiro in the CLI asrequirements-analysis.md. - Hooks for safety. Two save hooks and one turn-end hook are configured under
.kiro/hooks. The Public Copy Check runs the copy checker on a public-file save; across the main buildevidence/hook-runs.logrecords about 200 of its runs, each with its exit code and scanned-file count. The Correctness Check runs the test subset on asrc/ortests/save; across the main build the log records only 7 of its runs, and none whilesrc/was being rewritten, because its file matcher was anchored with^and did not match the absolute paths the editor saved. The matcher was changed to(^|/)(src|tests)/and the command pointed at a fast test subset, and from that fix on the Correctness Check fires on every source save (its laterpass=97lines in the log are those working runs). The turn-end Spec Alignment Review runs an agent review with no file output, so it leaves no line in the hook log. In total the log now holds 551 runs, all from the two save hooks: 391 Public Copy Check and 160 Correctness Check. - Session by session. The foundation and steering came first, then the pure engine and its tests, then the Make, Play, and card screens, then visual polish, then two passes on the song and sound, then the current palace look, the cipher decoder with its interactive demo, and the documentation. Three later sessions responded to outside-review notes: session 14 made continuous integration actually run the tests, session 15 fixed interaction, print, layout, and playback defects, and session 16 matched the sample audio and every public claim to the live build. Session 17 reworded the steering and hook text to a neutral authorship rule and recorded a CI run link. Session 18 guarded emoji names against the scan code at real font width: a name of twelve emoji still ran under the scan code because the width estimate counted each emoji at one em while colour emoji fonts draw them about 1.35 em wide, so the estimate now counts emoji at no less than 1.35 em and arms the textLength guard at 92 percent of the column. Session 19 fit the card text to the real measured Cormorant Garamond width (capitals measure 0.76 to 0.92 em, not the 0.62 em the code had assumed) using real-width fixtures, and fixed the name-field font and per-field error placement. Session 20, run in two parts, made five interaction and layout fixes from outside review: the music-box pin clip, focus on the play screen and the cipher demo, a single render for an early tap, the cipher-demo reset, and the narrow-screen phone layout. Session 21 was a documentation and evidence pass that filled in the session identifiers, recorded the demo metrics, and made the property-testing and copy-checker write-ups precise; session 21b was a short follow-up that filled in the session 21b identifier and tightened that wording further. Session 22 made six small fixes from an outside review of the live build: the card measurer now reuses one hidden SVG, the reveal announces the whole message once through a separate live region, the music-box drum keeps its pins full with the keyhole removed, a stale copy status is cleared, a short emoji name is kept clear of the card label, and the session table was corrected. Session 23 was this second review pass: it swept the music-box pins a full two-column period over 13 columns so the loop is seamless, guarded the copy control against a stale result when the sender edits or copies again, made the name count agree with the code-point limit, left a single tagline at the top of the maker, and completed the session records. Session 24 was the final software pass: it removed the native maxlength attributes from the name, message, and sender fields so the browser no longer truncates an emoji name or a pasted message below the real code-point limit, and it kept the on-screen copy fallback visible through Print and the full-greeting playback so a sender whose clipboard is blocked can still copy the link by hand. Most sessions left a log in
evidence/development-log.md; the foundation session and a short palette-rename session are reconstructed there from the commit history rather than written live. - Tests as the contract. The correctness properties were written into the design and implemented as tests, and no property was ever weakened to make a test pass.
Two things the evidence shows
These are drawn straight from the recorded logs, with nothing added.
- The copy hook caught off-palette colour and recorded the fix. During the palace rework, the Public Copy Check save hook failed.
evidence/hook-runs.logshows a run ofexit=1lines from 03:02 to 03:07 quoting the offending source: a non-palette hex used for the wax-seal shading and two colour defaults left over from the previous palette. The session log records the fix: the wax-seal shading moved to an approved burgundy with reduced opacity, and the offending declarations were removed. The next clean line in the hook log, at 03:07:57, shows the checker passing with no violations. - The sound improved across two measured passes. The first song pass measured the rendered demo at a peak of -3.24 dBFS with 0 clipped samples, and an earlier render had about 1,500 large sample-to-sample jumps that were removed by band-limiting the excitation and adding short click-free attacks. The second pass retuned the voices and the arrangement and measured the demo again: peak -1.56 dBFS (below -1), 0 clips, RMS from -14.14 to -10.99 dBFS, and the duration from 35.48 to 36.67 seconds. Both measurements are recorded in the session logs under
evidence/. The current arrangement renders at 34.75 seconds with a peak of -2.55 dBFS, an RMS of -13.65 dBFS, and 0 clipped samples (evidence/demo-render-metrics.txt, fromscripts/measure-render.mjs); the 36.67 seconds above is the length at that earlier pass.
The full build log, with the real session identifiers and dates, is in KIRO.md and evidence/development-log.md.
Privacy
A card holds only a name, an optional message, and an optional sender. Everything happens in the browser: making the melody, drawing the card and the scan code, decoding a link, and playing the sound. The app makes no network requests of its own at runtime and loads only its own files.
Your greeting is stored in the card link. Anyone with the link can open it. Do not include sensitive information. The link holds its data after the "#", which an ordinary page request does not send to a web server. That is not encryption: the link is readable by anyone who has it.
Screenshots
These images were captured from the application. They are self-hosted, so the Content-Security-Policy allows them.
Evidence
Pre-rendered arrangements, produced offline by this project's own renderer from the same arranger and voices as the browser:
Documents, the spec, the steering, the hooks, the tests, and the CI workflow. These point at the repository on GitHub, because the hosting service may not serve dot folders: