<?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: yucnsoce</title>
    <description>The latest articles on DEV Community by yucnsoce (@yucnee).</description>
    <link>https://dev.to/yucnee</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%2F4283397%2F629914e3-e6bd-44e4-ac44-b4766ae8a5ad.jpg</url>
      <title>DEV Community: yucnsoce</title>
      <link>https://dev.to/yucnee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yucnee"/>
    <language>en</language>
    <item>
      <title>From AM Signals to a Ghost Cat: Building Retro Radio Lab with Kiro</title>
      <dc:creator>yucnsoce</dc:creator>
      <pubDate>Fri, 04 Dec 2026 20:04:20 +0000</pubDate>
      <link>https://dev.to/yucnee/from-am-signals-to-a-ghost-cat-building-retro-radio-lab-with-kiro-2ob4</link>
      <guid>https://dev.to/yucnee/from-am-signals-to-a-ghost-cat-building-retro-radio-lab-with-kiro-2ob4</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is for the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I’m a third-year electrical engineering student in Taiwan, major is communications.&lt;/p&gt;

&lt;p&gt;When decided to join Kiroween in November, I didn’t really know what to do. I wanted to make something related to my major, but also wanted it engaging. I had some experience with Python and MATLAB, but making a game was completely new to me.&lt;/p&gt;

&lt;p&gt;I like games, animals, and old things. So I thought, why not make a game about fixing an old radio?&lt;/p&gt;

&lt;p&gt;That eventually became &lt;strong&gt;Retro Radio Lab: Ghosts in the Frequency&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  My first AM simulator
&lt;/h2&gt;

&lt;p&gt;The first version looked nothing like the game now.&lt;/p&gt;

&lt;p&gt;I started with &lt;strong&gt;Python&lt;/strong&gt; and &lt;strong&gt;Streamlit&lt;/strong&gt;. It was a very simple AM simulation with 200 Hz carrier and 10 Hz message signal, checking the FFT plot to see if there were three peaks at 190, 200, and 210 Hz.&lt;/p&gt;

&lt;p&gt;At that time, there was no story or artwork. It just a graph and some controls. It look more like some project for a university homework.&lt;/p&gt;

&lt;p&gt;I wanted to do something more with it.&lt;/p&gt;

&lt;p&gt;Since I joined the Resurrection category, I thought about bringing an old radio back to life. But I also wanted a reason for the player to fix it. That’s where the idea of Bobo — a little cute ghost cat — came from.&lt;/p&gt;

&lt;h2&gt;
  
  
  A cat waiting for radio broadcast
&lt;/h2&gt;

&lt;p&gt;The story takes place in an old radio repair workshop.&lt;/p&gt;

&lt;p&gt;In November 1978, Bobo listened to the same radio program every night. One night, there was a storm. The radio broke right before the announcer saying goodnight.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Many years later, Bobo is still waiting.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The player have to fix the radio and help Bobo hear the broadcast again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are four engineering tasks in the game:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frequency tuning&lt;/li&gt;
&lt;li&gt;RF band-pass filtering&lt;/li&gt;
&lt;li&gt;RC envelope detection&lt;/li&gt;
&lt;li&gt;Audio low-pass filtering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted the radio to actually work, I didn’t want to just play an audio when player turned the knob to correct position.&lt;/p&gt;

&lt;p&gt;The game uses &lt;strong&gt;TypeScript&lt;/strong&gt; and the &lt;strong&gt;Web Audio API&lt;/strong&gt;. There are two simulated AM stations, noise, filters, an envelope detector, and FFT analysis. I used &lt;strong&gt;a scaled frequency plan with a sampling rate of 48 kHz&lt;/strong&gt;. The signals are rendered offline in the browser.&lt;/p&gt;

&lt;p&gt;One of my favorite part is the final broadcast. &lt;strong&gt;It goes through the receiver with the settings the player has adjusted during the game.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After all, the player has spent the whole game fixing that radio.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs5736seq8jaoaepmcyhn.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs5736seq8jaoaepmcyhn.jpeg" alt="Bringing an old AM radio back to life." width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I had to study while making the game
&lt;/h2&gt;

&lt;p&gt;One little embarrassing thing about this is that I was still learning these topics in class.&lt;/p&gt;

&lt;p&gt;When I started working on the receiver, I knew about AM modulation and band-pass filters, &lt;strong&gt;but hadn’t learn envelope detection yet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I remember looking at the implementation tasks and having no idea what them meant. I had to ask AI to explain them to me, and this happened quite a lot during development.&lt;/p&gt;

&lt;p&gt;Another problem was the game sometimes felt like a lab assignment. There were graphs, numbers, and instructions everywhere.&lt;/p&gt;

&lt;p&gt;Even I found some parts confusing when I play it, &lt;strong&gt;how can a person who had never studied communications supposed to know?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I tried to improve the instruction and make the feedback easier to understand. I added audio comparisons so the player can hear the difference between settings.&lt;/p&gt;

&lt;p&gt;I also made an engineering notebook. It was supposed to explain a few basic things about the radio, and ended up having &lt;strong&gt;eleven pages&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Making notebook was way more harder than I thought. I had to check the formulas, diagrams, and explanations. Sometimes I found that diagrams didn’t match the simulation, so I had to go back and change it.&lt;/p&gt;

&lt;p&gt;I also add a &lt;strong&gt;Free Mode&lt;/strong&gt; for people who just want to play with the receiver and don’t want to follow the story.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyp74bdfmn6jncyfrbqv0.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyp74bdfmn6jncyfrbqv0.jpeg" alt="Learning while building." width="800" height="558"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I used Kiro
&lt;/h2&gt;

&lt;p&gt;I used Kiro mainly for the engineering side of the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are three Specs in my repository:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AM Receiver Prototype&lt;/li&gt;
&lt;li&gt;Receiver MVP DSP&lt;/li&gt;
&lt;li&gt;Story Progression&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each Spec has requirements, a design document, and implementation tasks.&lt;/p&gt;

&lt;p&gt;At first, I was overwhelmed by how much there had to read. The tasks were very detailed, and I didn’t understand all of them.&lt;/p&gt;

&lt;p&gt;But once the project bigger, I was glad I had those documents.&lt;br&gt;
I was using Kiro and Codex, so I needed a way to make sure they were working on the same project with the same rules.&lt;/p&gt;

&lt;p&gt;I used Steering to write down things I wanted the implementation to follow. For example, the measurements had to come from actual calculations. &lt;strong&gt;The radio and the analyzer had to use the same receiver state.&lt;/strong&gt; The story couldn’t continue just because a button was pressed. &lt;strong&gt;The engineering task actually had to pass.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I also wanted the last broadcast to go through the receiver, didn’t want this part to get replaced with direct audio playback later.&lt;/p&gt;

&lt;p&gt;Having these rules saved me from having to explain the same things over and over again.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpsyk6q62ef8onle0i4z2.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpsyk6q62ef8onle0i4z2.jpeg" alt="Organizing the project with Kiro Specs." width="799" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent Hooks
&lt;/h2&gt;

&lt;p&gt;I set up four hook configurations for audio, DSP, and release reviews.&lt;/p&gt;

&lt;p&gt;One of them, the &lt;strong&gt;Audio Asset Guard&lt;/strong&gt;, found a problem near the end of development.&lt;/p&gt;

&lt;p&gt;When the radio was detuned, the broadcast was supposed to become quieter. However, the gain calculation didn’t properly account for how the volume control worked.&lt;/p&gt;

&lt;p&gt;I probably wouldn’t have noticed this just by playing the game.&lt;br&gt;
Kiro helped me fix it and improve the tests.&lt;/p&gt;

&lt;p&gt;I also configured the &lt;strong&gt;DSP Contract Guard&lt;/strong&gt; and &lt;strong&gt;Release Readiness&lt;/strong&gt; hooks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Agents
&lt;/h2&gt;

&lt;p&gt;I made two custom agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RF &amp;amp; DSP Reviewer&lt;/li&gt;
&lt;li&gt;Gameplay &amp;amp; Audio QA Reviewer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I used the &lt;strong&gt;RF &amp;amp; DSP Reviewer&lt;/strong&gt; to check things like the filters, measurements, and task evaluation.&lt;br&gt;
Sometimes the game looked good, but I wasn’t sure whether the engineering behind was right. Having a reviewer focused on that part was useful.&lt;/p&gt;

&lt;p&gt;I kept the Specs, Steering files, hooks, and custom agent definitions in the GitHub repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making a game is a lot of work
&lt;/h2&gt;

&lt;p&gt;I thought the DSP part would take most of my time.&lt;/p&gt;

&lt;p&gt;Then I started making the illustrations and working on the audio, I spent a lot of time trying to get the radio to look good. I had to separate the knobs and pointers from the radio so they could move separate in the game. I also had to check whether the frequency markings matched the tuning behavior.&lt;/p&gt;

&lt;p&gt;Getting all the illustrations to have a similar style was another problem.&lt;br&gt;
And then there was the radio announcer.&lt;/p&gt;

&lt;p&gt;I used ElevenLabs for her voice. I wanted her to sound calm and warm, like someone you would enjoy listening to before going to sleep.&lt;br&gt;
Some of the first versions sounded like English listening tests.&lt;/p&gt;

&lt;p&gt;I kept changing the voice and instructions. Sometimes most of the recording sounded fine, but she suddenly became very cheerful in the middle of a sentence. It took quite a few tries to get a version I liked.&lt;/p&gt;

&lt;p&gt;I also spent time looking for background music and sound effects, wanted the workshop be comfortable.&lt;br&gt;
By this point, the project had become much bigger than the little AM simulator I started with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing and breaking my own website
&lt;/h2&gt;

&lt;p&gt;Since I used AI to write a lot of the code, I needed to test it.&lt;/p&gt;

&lt;p&gt;I used &lt;strong&gt;Vitest and fast-check&lt;/strong&gt; for the automated tests. They covered things like receiver settings, frequency mapping, filters, and story progression.&lt;/p&gt;

&lt;p&gt;For some of the &lt;strong&gt;property-based tests&lt;/strong&gt;, we also tried deliberately incorrect versions of the code. I wanted to know if the tests would actually fail when something was wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The results of my final local release check were:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;999 tests passed&lt;/li&gt;
&lt;li&gt;1 test skipped&lt;/li&gt;
&lt;li&gt;0 tests failed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I was really happy about this, but I still had to publish the game.&lt;/p&gt;

&lt;p&gt;Before release, AI-assisted code reviews found a problem with an audio file path. It worked locally, but it could cause problems when the game was hosted on &lt;strong&gt;GitHub Pages&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;I fixed it with Kiro’s help, finally let the website working.&lt;/p&gt;

&lt;p&gt;I decided to change the name of my GitHub repository from rrl to retro-radio-lab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And the website broke.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I forgot to update the Vite base path. After spending so much time checking the DSP, audio, and gameplay, I managed to break the website by renaming a repository.&lt;/p&gt;

&lt;p&gt;Fortunately, I fixed it before the deadline.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feav4nf1es35vf4d8s3j4.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feav4nf1es35vf4d8s3j4.jpeg" alt="Almost a thousand passing tests!" width="800" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;I used AI tools for this project. Kiro did much of the DSP implementation and technical verification. Codex helped with the frontend and gameplay. I used ChatGPT for the story, illustrations, and a lot of questions along the way. ElevenLabs was used for the announcer’s voice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I didn’t write all the code myself&lt;/strong&gt;, there are still parts of the code that I need to spend more time studying.&lt;/p&gt;

&lt;p&gt;But I learned a lot about how to work with AI on a larger project.&lt;/p&gt;

&lt;p&gt;Sometimes I knew what I wanted, but I didn’t know how to make it. Sometimes I didn’t even know how to describe what was wrong. I had to ask questions, learn more about the problem, and try again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I also learned that just because something works doesn’t mean it’s doing what I think it’s doing.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I never thought I would spend so much time making a project about AM modulation. It’s something I usually see in lecture slides and exam questions.&lt;/p&gt;

&lt;p&gt;Now I have a little game about it.&lt;br&gt;
I’m happy that I got to use things from my communications classes in a project that also includes things I personally enjoy, like cute animals, music, illustrations, and storytelling.&lt;/p&gt;

&lt;p&gt;There are still many things I want to improve, but for now, I’m just proud of myself that I finished it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try Retro Radio Lab:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://yucn-ee.github.io/retro-radio-lab/" rel="noopener noreferrer"&gt;Play the game&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/yucn-ee/retro-radio-lab" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devpost.com/software/retro-radio-lab-ghosts-in-the-frequency" rel="noopener noreferrer"&gt;Kiroween 2026 submission&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://youtu.be/e2v4Zy-Mh48" rel="noopener noreferrer"&gt;Demo video&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don’t need to install anything or create an account. I recommend playing on a computer with headphones.&lt;/p&gt;

&lt;p&gt;Thank you to the Kiro team for giving me a reason to try making something like this.&lt;/p&gt;

&lt;p&gt;And thank you for visiting Bobo’s little workshop!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F11v47aa252x6li6aw87t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F11v47aa252x6li6aw87t.jpg" alt="Bobo finally feels at home" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻ &lt;br&gt;
&lt;em&gt;AI disclosure: I used ChatGPT to help draft and edit this article based on my own development experience and project records.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kiroween</category>
      <category>kiro</category>
      <category>gamedev</category>
      <category>dsp</category>
    </item>
  </channel>
</rss>
