TL;DR

At the 2026 Outline Demoparty, a demonstration revealed that 16 bytes of x86 assembly code can turn matrix rain visuals into sound. This is achieved by leveraging video memory and speaker port manipulation, producing a fractal-based audio pattern. The event showcases the intersection of minimal code and complex digital art.

At the 2026 Outline Demoparty in Ommen, Netherlands, a demo revealed that just 16 bytes of x86 real-mode DOS assembly code can generate sound directly from visual fractals by manipulating video memory and the PC speaker port. This breakthrough demonstrates how extreme code constraints can produce complex, multisensory digital art, highlighting the technical ingenuity of the demoscene community.

The demo involves a carefully crafted 16-byte assembly routine that initializes video mode 0, setting up a uniform text buffer in VGA memory. It then performs a mathematical process—using additive prefix sums and XOR operations—to generate a Sierpinski fractal pattern within the video memory. Simultaneously, it toggles the speaker port’s Bit 1 based on the fractal’s binary structure, converting the visual pattern into audible square waves.

The code’s core exploits the port 0x61, which controls the PC speaker cone. By toggling Bit 1 in sync with the fractal’s pattern, the routine produces a distinctive soundscape that mirrors the fractal’s structure, with higher frequencies corresponding to denser regions and pauses aligning with empty spaces. The code’s execution speed determines the sound’s pitch and rhythm, creating an audio representation of the visual matrix rain.

Why It Matters

This development matters because it exemplifies how minimal code—just 16 bytes—can produce complex, multisensory digital art, blending visual mathematics with sound synthesis. It pushes the boundaries of algorithmic density, demonstrating that even extremely constrained environments can generate rich, expressive outputs. For the demoscene and digital artists, it showcases new possibilities for code-based audiovisual art and highlights the potential for compact, efficient creative expressions in computing.

COOIDEA 3.5mm Stereo Audio Switcher(1 in 2 Out /2 in 1 Out) with 3.5mm Audio Cable, 2 Ports AUX Audio Speaker Selector for PC Phone Laptop Headphone

COOIDEA 3.5mm Stereo Audio Switcher(1 in 2 Out /2 in 1 Out) with 3.5mm Audio Cable, 2 Ports AUX Audio Speaker Selector for PC Phone Laptop Headphone

【Bidirectional 3.5mm Audio Switch】Plug and play, no power supply required. 1X2 (one input to two outputs) or 2X1…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

The demonstration builds on longstanding demoscene traditions of creating intricate visuals and sound with minimal code. Historically, programmers have used assembly language to push hardware capabilities to their limits, often within strict byte constraints. This particular routine, presented at the 2026 Demoparty, extends that tradition by integrating fractal mathematics, audio synthesis, and hardware manipulation into a compact form, illustrating a convergence of art and technical mastery.

Prior to this, similar efforts have used larger codebases or more complex routines to generate audiovisual effects. This demo’s novelty lies in its extreme brevity—only 16 bytes—yet achieving a multisensory output that visually and sonically represents a fractal pattern, a hallmark of the demoscene’s innovative spirit.

“This is a remarkable example of how extreme code constraints can still produce rich, layered art—both visual and auditory.”

— Demoscene participant

“Using only 16 bytes to generate sound from fractal visuals demonstrates the incredible density and creativity possible within minimal code.”

— Assembly programmer involved in the project

JINSWY 10.1" Security Monitor, 1024x600 HD Display, HDMI VGA BNC AV USB Ports, Small Monitor with Built-in Speakers & Remote Control, for CCTV Surveillance, DVR, PC, Raspberry Pi

JINSWY 10.1" Security Monitor, 1024×600 HD Display, HDMI VGA BNC AV USB Ports, Small Monitor with Built-in Speakers & Remote Control, for CCTV Surveillance, DVR, PC, Raspberry Pi

Enhanced Visual Experience: Immerse yourself in clear and vibrant visuals with the JINSWY 10.1-inch mini monitor. Featuring a…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

Details about the precise implementation, such as timing mechanisms and how the pattern scales with different hardware, remain unclear. It is also not confirmed whether this routine can be adapted for modern hardware or if it relies on specific legacy features of DOS and VGA. The full extent of the demo’s audiovisual fidelity and potential for real-time interaction are still under investigation.

The C Programming Language

The C Programming Language

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Further analysis is expected to explore the routine’s adaptability to contemporary systems, possibly leading to new tools for audiovisual coding within minimal byte constraints. The demoscene community may attempt to extend or modify the code to produce more complex patterns or integrate into larger projects. Additionally, researchers and artists may experiment with similar techniques to develop compact, hardware-efficient visual-audio generators.

Sovol 3D Printer Tools Kit, 36 PCS 3D Printer Accessories with Deburring Tool, Digital Caliper, Art Knife Set, Removal Tools, Cutters, Pliers and Tools Storage Bag for Smoothing, Finishing, Craving

Sovol 3D Printer Tools Kit, 36 PCS 3D Printer Accessories with Deburring Tool, Digital Caliper, Art Knife Set, Removal Tools, Cutters, Pliers and Tools Storage Bag for Smoothing, Finishing, Craving

Complete 3D Printer Tool Kit with Accessories: Our comprehensive kit features a wide array of 3D printer tools…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does the 16-byte code generate sound from visuals?

The code manipulates video memory to create a fractal pattern and toggles the PC speaker port’s Bit 1 based on that pattern, producing square wave sounds that mirror the fractal’s structure.

Can this routine run on modern computers?

It is unlikely to run directly on modern hardware without emulation or adaptation, as it relies on legacy DOS interrupt calls, VGA memory, and direct port manipulation specific to older PC architectures.

What is the significance of using only 16 bytes?

This extreme brevity demonstrates the power of minimal code in producing complex audiovisual effects, pushing the limits of algorithmic density and creativity in programming.

Is this a practical method for sound synthesis?

No, it is primarily a proof of concept and artistic demonstration rather than a practical sound synthesis technique. Its main value is in showcasing technical ingenuity within byte constraints.

You May Also Like

These great digital gifts will arrive just in time for Mother’s Day

Discover top digital gifts for Mother’s Day, from streaming subscriptions to gaming memberships, perfect for last-minute gifting and instant delivery.

Spotify is down for some users

Spotify is currently facing a service disruption affecting some users, with issues beginning around noon ET. The company has acknowledged the problem but has not provided a timeline for resolution.

What Makes Powered Bookshelf Speakers So Easy to Live With

Discover how powered bookshelf speakers simplify your audio setup and enhance sound quality, making your listening experience effortlessly enjoyable.