Ms2mml
Tandem mass spectrometry is an analytical technique that reveals the architecture of molecules. In an MS² experiment, a selected precursor ion is fragmented, and the masses and intensities of the resulting product ions are recorded. Each peak in an MS² spectrum is a numeric fingerprint — a mass-to-charge ratio paired with an abundance. To a chemist, these peaks tell a story of bond cleavages and structural motifs. But to an untrained observer, the spectrum is a silent scatter plot: static, quantitative, and dense. This is where the first part of “ms2” ends — with a wealth of precise but non-perceptual data.
Music Markup Language (MML), in its various forms (from classical music notation XML to retro computer music languages), provides a symbolic system to encode pitch, duration, volume, and tempo. It is a bridge between the abstract mathematics of sound waves and the expressive reality of performance. To move from “ms2” to “mml,” one must map the physical properties of ions onto the psychoacoustic properties of music. This mapping is not arbitrary; it is a translation of dimensions. ms2mml
Of course, “ms2mml” is not without challenges. The mapping from ion physics to musical acoustics must be carefully scaled to avoid auditory masking (where loud, low pitches obscure soft, high ones). The temporal dimension is also arbitrary: a real mass spectrum has no inherent time axis, so the composer must decide whether to sweep through masses linearly, logarithmically, or to order fragments by collision energy. Moreover, aesthetic choices — major vs. minor tonalities, percussive vs. sustained attacks — can either clarify or distort the underlying chemistry. An ethical “ms2mml” translation strives for perceptual fidelity, not just pleasant listening. Tandem mass spectrometry is an analytical technique that