<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ninja MDE</title>
    <description>The latest articles on DEV Community by Ninja MDE (@promo312).</description>
    <link>https://dev.to/promo312</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4281000%2F9efc23f4-74d1-40ef-b832-c3a6ff39549d.png</url>
      <title>DEV Community: Ninja MDE</title>
      <link>https://dev.to/promo312</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/promo312"/>
    <language>en</language>
    <item>
      <title>We brought a 1985 karaoke format back to life with Kiro</title>
      <dc:creator>Ninja MDE</dc:creator>
      <pubDate>Thu, 03 Dec 2026 15:40:38 +0000</pubDate>
      <link>https://dev.to/promo312/we-brought-a-1985-karaoke-format-back-to-life-with-kiro-4o5</link>
      <guid>https://dev.to/promo312/we-brought-a-1985-karaoke-format-back-to-life-with-kiro-4o5</guid>
      <description>&lt;p&gt;This post is written as part of the Kiroween 2026 hackathon.&lt;/p&gt;

&lt;p&gt;In 1985 a few engineers found spare room in the subcode channel of an audio disc and used it to hide pictures. The format was called CD+G, Compact Disc plus Graphics. It drew lyrics on a TV screen in time with the music, and for twenty years it was the reason karaoke worked. Then streaming arrived and CD+G died.&lt;/p&gt;

&lt;p&gt;For Kiroween we brought it back as PlusG, a release check for independent musicians. You choose a finished song in your browser. PlusG measures it the way streaming services do, gives it a score out of 100 with the number behind every mark, suggests safe fixes, and lets you tap along to time your lyrics. Then it writes a real .cdg file, the same 24 byte packets at 300 per second a 1985 player expected, and draws its retro preview by decoding those exact bytes.&lt;/p&gt;

&lt;p&gt;Try it: &lt;a href="https://promo312.github.io/plusg/" rel="noopener noreferrer"&gt;https://promo312.github.io/plusg/&lt;/a&gt;&lt;br&gt;
Code: &lt;a href="https://github.com/promo312/plusg" rel="noopener noreferrer"&gt;https://github.com/promo312/plusg&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Spec first, then code
&lt;/h2&gt;

&lt;p&gt;We built the whole thing with Kiro CLI, and we started with a spec, not a prompt. Kiro wrote requirements in EARS form, a design and a task list, and every task cites the requirements it closes.&lt;/p&gt;

&lt;p&gt;The spec paid for itself before any code ran. Writing it showed that "trim silence", "fix loudness" and "score" were three ideas nobody had tied together. The requirement now says fixed audio is measured again and the score comes from that new measurement. It also showed that a category called "Length and structure" could not show a measured number without section detection, so it became "Length and ending", and the reason is written down.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steering kept us honest
&lt;/h2&gt;

&lt;p&gt;Our first Kiro pass built an Express server with a Dockerfile, because nothing said not to. We threw it away. Then we wrote steering files: no server, static files only, ffmpeg for development only, plain calm UI copy, and the contest rules. Every turn after that stayed inside those lines, and each turn started fresh from the repo, so the spec and the steering were the project's memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tests that argue back
&lt;/h2&gt;

&lt;p&gt;Property tests caught what we would have missed. One said that after any fix the true peak must sit at or under the ceiling. It found that on audio shorter than 400 ms no loudness block passes the gate, and the gain could push the peak over. Unit tests corrected the spec itself: a 16 bit decode never reaches 1.0 on the positive side, so "clipped" now means 32767/32768.&lt;/p&gt;

&lt;p&gt;The test we trust most compares us to code we did not write. Our JavaScript loudness meter has to match ffmpeg within 0.1 LU, and it does on nine generated fixtures. Our CD+G decoder has to match ffmpeg's own decoder pixel for pixel. That oracle found a real bug: we sent Border Preset before Memory Preset, and our own decoder hid the mistake while ffmpeg's showed it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we would tell another builder
&lt;/h2&gt;

&lt;p&gt;Write the requirements before the code, and let a tool you did not write grade your work. Kiro made both cheap: the spec was the first thing it produced, and every oracle test was one more task in the list.&lt;/p&gt;

&lt;p&gt;The whole build used about 60 of the 4,000 hackathon credits.&lt;/p&gt;

&lt;p&gt;Demo video: &lt;a href="https://youtu.be/gonK5b3sPXE" rel="noopener noreferrer"&gt;https://youtu.be/gonK5b3sPXE&lt;/a&gt;&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>hackathon</category>
      <category>javascript</category>
      <category>music</category>
    </item>
  </channel>
</rss>
