Ok, the Fairlight stored it's samples on 8" floppies. Images of many of these floppies are available on the web and can be accessed with a program called CMIOS9. I used CMIOS9 to extract all files from each floppy and wrote down information such as disk label, disk user and disk date. A the Fairlight has several file types, but the ones relevant for this project are the '.VC' files. As you probably guess, a VC file is a voice file. Each VC is 21 888 bytes, with the first 5504 containing header information and last 128 containing footer information. The 16 384 bytes in between contains raw, 8-bit unsigned audio data. Each VC file's binary data and meta information was inserted in a MySQL database with the help of a custom PHP-library. I then ran a script that extracted loop points from the header information into separate columns, and the 16 384 audio bytes to a separate audioData column. All audio data was MD5:ed so duplicates can be found faster.
When requesting a sample download from this page, everything is dynamically generated on the fly. For example, if you request the SARRAR in 22 050 Hz in SFZ format + 16-bit WAV, this is what happens; 1) The audio is fetched from the audioData column and sent to the createWav() function. 2) createWav() generates a 102 byte wav header with the correct sampling rate, the converts the audio data from 8-bit to 16-bit and merges them. 3) For each 'preset', an sfx is generated by the createSFZ() function. 4) The wavs and sfzs generated are zipped and sent to you.