A twelve-tone row is an ordered sequence of all twelve pitches in the chromatic scale, used in serial composition to avoid tonal hierarchy. This JavaScript code assigns a rhythm to each note in the row and determines a corresponding time signature:
A twelve-tone row is an ordered sequence of all twelve pitches in the chromatic scale, used in serial composition to avoid tonal hierarchy. This JavaScript code assigns a rhythm to each note in the row and determines a corresponding time signature: