u/Ill-Town-5623

▲ 3 r/esp32

**Win-95-Tracker-Cyd - a MOD file player on an ESP32 CYD with I2S mod**

https://preview.redd.it/ksj8xaf3crzg1.png?width=600&format=png&auto=webp&s=de51ef21750faa244936ad1a8230e8776030bbcb

I randomly saw a tracker on a website and thought nothing of it, then later I was wondering if I could play them on a microcontroller and here I am today. So this code requires I2S and runs on a 240×320 + XPT2046 setup.

In this post i collabed with the owner of Lopaka (Mikhail Llin) Where i made the ui.
He made the pictures to look better since they were originally taken from my potato quality webcam.

This Tracker was mainly developed on An ESP32-2432S028(R) Board also known as "Cheap Yellow Display" and has all the pinouts for it

But a quick reminder for the people running the firmware an Such board: If you want Clean and Clear sound then you need to Install an i2s mod on Your cyd as i did.

**Cyd I2S Mod**

The CYD has almost no usable GPIO exposed once the display is wired up. I2S audio needs dedicated pins and clean timing, PWM is unusable for clean tracker output.

You see the CYD only has 2 usable pins if you want sound with correct timing, so you need to solder a wire either to the LED pad or directly to the ESP32 core. I did both in different builds.

I the photo quality sucked so Mikhail made it better with AI but here’s exactly where you can see what I did

https://preview.redd.it/a3qu5nt6crzg1.png?width=1254&format=png&auto=webp&s=e44e1e2ec9893e12a8722306018b07beb0873b55

**The UI**

https://preview.redd.it/d5ob0gb9crzg1.png?width=1448&format=png&auto=webp&s=67b2413eaf5a3890242cd6241ea2694ec986f0bb

For the ui i started out as a basic prototype but wanted more from it. I went on Lopaka.app and Made the ui Into a windows 95 looking app.

The ui had a song progress bar But i removed it Because songs that reused Patterns Made the bar go crazy, And added a status text (inspired from Bassoontracker) that Also has a loading bar i also Took from bassoontracker.

I also added squares around each individual effect in every channel that light up when a Effect/ Note Or sample gets hit in each channel.

**How to Build / Flash**

  1. Open the files in **Arduino IDE**
  2. Make sure all libraries are installed (especially **TFT_eSPI**)
  3. Set up TFT_eSPI for your pinout
  4. Make sure your device has the I2S driver (mod needed if not)
  5. Flash the tracker firmware
  6. Put test .MOD files like _false visage_ on your SD card
  7. Enjoy!

Repo link: https://github.com/ivans805/Win-95-Tracker-Cyd

UI: https://lopaka.app/gallery/32384/67407

Right now it is literally just a bare CYD board sitting on my desk and it looks kind of sad.

I want to design a 3D printed case for it but I cant decide what vibe to go for.

Should I make it look like a tiny beige CRT monitor?

or something else completely stupid and retro

reddit.com
u/Ill-Town-5623 — 8 days ago