Somewhere in your studio there is a box. Mine has CD-ROMs with hand-written labels, a stack of floppies with the corners worn round, and a few disk images I made years ago "just in case". Akai, Kurzweil, sounds bought, swapped and sampled myself over decades. Every one of them still sounds wonderful. Getting them to make a sound, though, has become a project in itself.

This is the story of how that annoyance became MEY PLAY, and a look at what happens under the hood when it opens one of those disks.

The joy, and the nagging, of old samplers

Anyone who still has a hardware sampler from the late eighties or early nineties knows the ritual. You switch it on, wait for the hard disk to spin up, hope the SCSI chain agrees with itself today, scroll through a small display to the volume you want, and then wait. And wait. A full volume over SCSI takes minutes, not seconds.

And then the memory runs out. These machines came with a few megabytes, more if you added expansion boards, and a good piano or a long pad fills that in no time. So you load less, choose, unload, load again. Every song becomes a puzzle of what fits.

Meanwhile the hardware is getting old. SCSI drives that ran for thirty years start clicking and one day simply don't come back. Displays fade, backlights give up, a row of pixels disappears. Floppy drives stop reading the disks they wrote themselves. Every machine that dies takes a way to hear those sounds with it.

But the sound

And yet. Put a drum loop or a string patch from one of those disks next to a modern library and there is something there that is hard to name: the bite of sixteen bits, samples recorded at 22 or 33 kHz to save memory, a filter that closes the way it does, loops someone set by ear on a tiny screen. That character is not nostalgia. It is a sound you can make music with today.

The disk images we collected over the years are still perfectly good. The sounds on them are fine. It is only the road to them that is getting worse.

From a converter to a sampler

So I started building a tool for myself. The first idea was modest: a converter. Read the Akai and Kurzweil disks, write the samples and programs out in a format modern software samplers understand, done.

It worked, but it kept bothering me. Every time I wanted a sound, there was an extra step: convert, import, check the mapping, fix what got lost on the way. And while building it, it became clear that the reading was by far the hardest part. Taking apart a disk format nobody has documented properly for thirty years, every program, every keygroup, every loop, exactly as the machine meant it. Once that works, playing the samples is the easy half.

The choice was quick after that. If the hard work is reading, then don't stop at a file on disk: build a sampler that reads the disks itself and plays them right away. No converting, no importing, no extra step. Open the disk, pick a volume, play.

Under the hood: reading the disks

For those who like to know how it works, here it gets technical.

It looks at what a file is, not what it is called

Disk images go around under every possible extension: .iso, .img, .hds, .hdd, .bin, .cdr. PLAY doesn't trust the name. It looks at the contents: is it a SoundFont, a Kurzweil object file, a FAT volume, or an Akai disk? Whatever the file is called, it is opened as what it really is.

Akai hard disks and CDs

An Akai S1000 or S1100 hard disk or CD is not a file system your computer knows. It is divided into blocks of 8 KB. At a fixed place there is a partition table: a count, the size of each partition, and a total that the sizes have to add up to. PLAY checks that sum before it trusts anything.

Every partition holds up to a hundred volumes, and every volume up to 341 files. Names are twelve characters long, in Akai's own character set: digits, a space, A to Z and the characters # + - .. That is why every Akai name looks the way it does.

A nice trap: old images often contain stale copies of partition headers in unused space, left over from earlier use of the disk. Search for them and you find ghosts. PLAY therefore never searches; it reads the headers exactly where the format says they are, and checks each one before using it. PLAY is also built to cope with damaged rips, so a disk with a bad patch can still open with what is readable.

Akai floppies

Floppies work differently from hard disks. An Akai floppy image is recognised by its size: 1600 blocks of 1 KB for a high-density disk, 800 for a double-density one. Files are not stored in one run, but spread over the disk and linked through a FAT table, which PLAY follows link by link. S1000 floppies have a directory of 64 entries, S3000 floppies one of 512, in a different place. Both are read.

PLAY reads images of floppies, not the floppies themselves. Read a floppy into an image file once, with whatever drive and tool you have, and from then on PLAY opens it like any other disk, and that floppy is safe from the drive that would have refused it next year.

The samples themselves

An Akai sample header is 150 bytes on the S1000 and 192 on the S3000. The audio is 16-bit mono. Every sample can carry eight loops, stored with sub-sample precision in fixed point, each with its own dwell time.

The sample rate comes from the header. Samples recorded at 22.05 or 33.075 kHz to save memory get a tuning correction of 12 × log₂(rate / 44100) semitones, so they play at the right pitch without being resampled on load. A program can have as many keygroups as it was made with, each with four velocity zones, and drum keygroups that have to play at one pitch across the keyboard keep doing so.

Kurzweil

Kurzweil K2000 and K2500 is a different world. The files (.krz, .k25, .k26) are big-endian object files that start with "PRAM", made of objects of three kinds: programs, keymaps and samples. A Kurzweil keymap has eight velocity zones; where a key uses more than four, PLAY spreads it over extra keygroups so nothing is lost. Layers carry their own key and velocity ranges and can be stereo.

Kurzweil CDs and floppies are ordinary FAT volumes (FAT12, 16 or 32), which PLAY reads itself. One caveat: some Kurzweil programs use samples that live in the instrument's own ROM rather than on the disk. Those are not on the disk, so PLAY tells you which ones they are and skips them, rather than playing something else in their place.

SoundFonts

SoundFont 2 files are read too: every preset becomes a program, with up to four velocity zones per keygroup, and only the samples those presets actually use are loaded.

No memory puzzle any more

This is where PLAY is the opposite of the hardware. When you pick a volume, every sample of that volume goes into your computer's memory at once. Not the samples of one program: all of them. There is no limit in PLAY on the number of samples or the amount of memory; the only limit is the memory in your computer, and a whole Akai volume is small next to that.

The disk image itself is not loaded completely. When it is opened only the directories are read, and the bytes of a file are read only when they are needed. So even a CD image of hundreds of megabytes opens without being read in full, and picking a volume takes a moment where the SCSI disk took minutes.

While a volume loads, the audio thread never waits for it. If it finds the instrument busy, it plays silence for that one block and keeps the incoming notes for the next one, rather than stalling your host.

The voices

PLAY does not emulate an Akai or a Kurzweil. It reads their formats and plays the programs with voices of its own. It contains no code of the original machines.

  • 64 voices. The S1100 had 16. When 48 voices are sounding, a new note first fades an older one out over 5 ms, rather than cutting it off.

  • 4-point Hermite interpolation to play samples at other pitches.

  • Loops play forward, from the sample's first active loop.

  • Two ADSR envelopes per voice, the second for the filter.

  • The filter is three poles, 18 dB per octave, without resonance, as on the Akai. Its 0 to 99 setting follows the original curve: around 73 Hz at 0, about 650 Hz at 30, 5.8 kHz at 60, 18 kHz at 80, and fully open from 86 up. A program you set to filter 45 thirty years ago closes where it did then.

The converter, per output

A good part of the character of those machines is not in the samples but in the way they leave the box. Every one of PLAY's ten outputs therefore has its own converter model, built on the Burr-Brown PCM56P, a 16-bit resistor-ladder converter of that era: sixteen-bit quantisation, the small weight error of each bit, the error at the major carry where the most significant bit flips, and the converter's noise. The model is fitted to the datasheet, within half a decibel of its typical distortion at 0, -20 and -60 dB. Aliasing and the analogue output filter are deliberately left out.

Around it

  • 16 MIDI channels, each with its own programs. Load a whole volume at once, one program per channel, or put programs where you want them with a right-click.

  • Program change selects the programs with that number.

  • Ten outputs: the stereo pair and eight individual outputs, so a drum kit can go to eight channels of your desk.

  • The two delays and the reverb of MEY ROB on the stereo pair: delays in series or parallel, synced or free, with a bucket-brigade mode, and room, hall, plate and spring.

  • Sessions come back as you left them: the disk, the volume, the programs on each channel and the effects.

Why I hope you'll be as happy as I am

There is a moment I didn't expect when I started on this. I open an image of an old floppy, one I haven't heard in twenty years, pick a program, and press a key. And there it is, exactly as it was, but without the wait, without the clicking drive, without the puzzle of what still fits.

That is what PLAY is for me: not a museum, but a way to make music again with sounds I thought were lost behind old hardware. I really hope PLAY makes you as happy as it makes me every time I load another old floppy.

Dig out that box. Your sounds are waiting.

Akai, S1000, S1100, S3000, Kurzweil, K2000 and K2500 are trademarks of their owners. MEY is not affiliated with them.