whatisgithub

What is ox0badf00d?

gistya/ox0badf00d — explained in plain English

Analysis updated 2026-05-18

8SwiftAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A Swift package that loads and renders classic 1990s tracker music files like MOD, XM, and IT, including an optional 3D spatial audio mode.

Mindmap

mindmap
  root((Ox0badf00d))
    What it does
      Loads tracker modules
      Renders PCM audio
      3D spatial sound
    Formats
      MOD
      XM
      IT
    Tech stack
      Swift
      AVAudioEngine wrapper
    Status
      IT support incomplete
      No golden tests yet

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Play classic tracker module music files inside a Swift or Apple platform app.

USE CASE 2

Add 3D spatial audio effects to retro tracker music playback.

USE CASE 3

Build a music app or game audio engine using AVAudioEngine via the companion module.

What is it built with?

Swift

How does it compare?

gistya/ox0badf00d98przem/mistthapasamir/pastry
Stars888
LanguageSwiftSwiftSwift
Setup difficultymoderateeasyeasy
Complexity4/53/5
Audiencedevelopergeneralvibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires integrating a Swift package into your own project, no standalone app.

So what is it?

Ox0badf00d is a Swift package for loading and playing back classic tracker module music, the kind of song files musicians made in the 1990s using programs like ProTracker, FastTracker II, and Impulse Tracker. The package can read MOD, XM, and IT file formats and turn them into actual audio, handling the pattern data, instrument samples, and the many small playback effects those old formats support, such as vibrato, tremolo, portamento, and volume slides. Unlike many tracker players, this project does not lean on outside libraries such as libopenmpt or ffmpeg to do the decoding. It renders the audio itself, producing streaming stereo sound directly. It also offers an optional psychoacoustic 3D mode that uses timing and level differences between ears, head-shadow filtering, and early reflection cues to make the music sound like it is coming from a real space around the listener rather than flat stereo. The project is built as a Swift package rather than a full app, so it can be plugged into other software, including a companion piece called Ox0badf00dAVFoundation that wraps it with an AVAudioEngine session for easier use on Apple platforms. A short code example shows loading a module file and rendering it to a PCM buffer of interleaved left and right samples. The author is upfront that the work is not finished. Full support for Impulse Tracker files is incomplete: compressed IT samples currently render as silence, some packed patterns fail to decode properly, and there are known bugs in how certain notes map to pitches. Other remaining goals include more accurate XM envelope and fadeout behavior, better per-format effect compatibility, filter and resonance support where formats allow it, and automated tests that compare its output against established tracker engines.

Copy-paste prompts

Prompt 1
Show me how to use Ox0badf00d to load a MOD file and render it to PCM audio in Swift.
Prompt 2
Explain how the psychoacoustic 3D spatialization option works in Ox0badf00d.
Prompt 3
Help me integrate Ox0badf00dAVFoundation into my iOS app to play tracker music.
Prompt 4
What tracker effects like vibrato and portamento does Ox0badf00d currently support?

Frequently asked questions

What is ox0badf00d?

A Swift package that loads and renders classic 1990s tracker music files like MOD, XM, and IT, including an optional 3D spatial audio mode.

What language is ox0badf00d written in?

Mainly Swift. The stack also includes Swift.

How hard is ox0badf00d to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ox0badf00d for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.