Photopea App / Home

Ms2mml Apr 2026

Thus, “ms2mml” is more than a file extension or a code. It is a manifesto for multisensory science — a belief that in the resonance between a bond’s break and a note’s decay, we might discover truths that numbers alone cannot sing.

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

A typical “ms2mml” conversion might work as follows: each fragment ion’s mass-to-charge ratio (( m/z )) becomes a pitch (e.g., low ( m/z ) = low frequency, high ( m/z ) = high frequency). The relative intensity of that ion becomes the note’s velocity or loudness. The difference in mass between consecutive fragments could define melodic intervals, while the presence of neutral losses (e.g., water or ammonia) might be rendered as rests, grace notes, or changes in timbre. Thus, the peptide backbone of a protein or the fragmentation pattern of a metabolite is no longer a list of numbers but a rising and falling contour — a musical phrase that encodes chemical information. Thus, “ms2mml” is more than a file extension or a code

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. It is a bridge between the abstract mathematics