WebVortex

Music for the sound chip of the ZX Spectrum 128, the Amstrad CPC and their relatives, played in your browser, with everything you need to write new tunes.

Tap the chip to play.
0:00 Open

Three voices and a noise

What you hear comes from one small chip, the AY-3-8910 or its twin, the YM2149. It has three voices that play square waves, one noise generator for drums and hiss, and one envelope that can make a voice swell or fade.

That's all. Every chord, drum roll and swirl in these tunes is a musician changing the chip's settings fifty times a second: rapid arpeggios to fake chords, noise bursts for snares, the envelope pressed into service as a bass.

Written as rows of notes

Musicians wrote this music in trackers: a grid read top to bottom, one row at a time, with a column for each voice. Each cell holds a note, the sound to play it with (a sample), a pattern of quick pitch steps (an ornament) and a volume.

WebVortex is a tracker too. It reads the files these trackers saved, plays them, and lets you change them.

Rows from pattern 14 of “Minimal” by macros, the tune above. Each cell reads: note, sample, ornament, volume.

Built on Sergey Bulba's work

Sergey wrote Vortex Tracker II, a Windows tracker for the AY and YM chips, and Ay_Emul, a separate player that runs the original game and demo code to play its music. He made the sources of both available.

WebVortex is a web-based tracker using both codebases: the same file formats, the same player, the same sound. WebVortex is published with Sergey's permission. It was previously checked against both programs on about a thousand files and sounds the same, sample for sample.

His site also has much more music.

What you can do

Listen

About a thousand tunes come with it: tracker modules and music from Spectrum and CPC games and demos.

Open your own files

Pro Tracker, Sound Tracker, ASC, SQ-Tracker, Vortex Tracker files and AY files. They stay on your computer.

Write music

Edit patterns, samples and ornaments, play with a MIDI keyboard, and save files Vortex Tracker opens.

Nothing to install. It works offline, and nothing you open is uploaded anywhere.

Why this exists

I'm a Linux user and haven't used Windows in more than a decade, but I wanted to listen to more Speccy music, and some of it wouldn't leave my head.

I'd been poking at WebAudio often enough to appreciate what it can do, and that made me wonder whether Sergey's code could be ported to run in a browser. Claude delivered, and I keep updating the code with it, planning to add features gradually.

Source

Experimental

MIDI importer

Turns a MIDI file into a Vortex Tracker II module. Each track becomes a part with a few AY sounds to choose from by ear, and you paint which part plays on each channel, bar by bar.

Early, chaotic prototype zone! Expect things to break when they shouldn't and vice versa, all the while defying your expectations. Better yet, stop expecting things and just play with the thingy.

License

Apache License 2.0. Crediting me is optional; crediting Sergey, the author of the code adapted from Vortex Tracker II and Ay_Emul, is required.

The fonts are under the SIL Open Font License, and the music belongs to its composers.