ScratchML

ScratchML diagram

ScratchML (2012), or Scratch Markup Language (.sml), is an XML-based file format for recording turntable and crossfader data during scratch performances. Like GML for graffiti, but for turntablism.

It started with Michael Auger, Kyle McDonald and me at FAT Lab, building on the same ideas as Graffiti Markup Language. The idea is as old as GML. We also owed a lot to prior turntable-capture work like TTM and Ms. Pinky. Many thanks to Kirk Moreno and Lee Meredith, as the original About page put it.

The goal was to do for scratching what GML did for graffiti: an open format you could capture, replay, analyze and share. And, eventually, teach giant robot arms how to scratch.

Art Hack Day, January 2012

People at a long table with two turntables, a mixer with a FAT record, laptops and cables Building ScratchML at Art Hack Day, Brooklyn, January 2012.

The OSC stream powered spinning-vinyl animations, TTM transcriptions, exploding 3D pizzas and a side-scrolling shooter controlled by scratches. That last one was Aliens That Look Like Skrillex, where you battle the DJ in real time. TechCrunch credits the team from Canvas. Core77 also credits Quin Kennedy on the team and Gene Kogan on visuals.

Hacked Vestax fader

Laptop screen with turntable and crossfader position graphs above code Live turntable and fader data on screen at Art Hack Day, 2012.

The format

The beta spec has sample data for one turntable and one crossfader. It’s designed for multiple decks and a wide range of capture techniques, but we only field-tested the basic 1 deck + 1 mixer setup.

ScratchML sample file: an sml element with a right-deck turntable, a sample rate of 344.53125 and a list of position values The start of the r6 sample file, 2012.

The sample data was scratched by Michael Auger, aka LM4K, mostly baby scratches and flares. The ScratchML.com database could also convert any file to JSON for JavaScript visualizations.

Press

See also: Graffiti Markup Language (GML), FAT Lab