# Search NKS | Online

1 - 2 of 2 for ListPlay

Implementation [of sound]
ListPlay[data] in Mathematica generates sound output by treating the elements of data as successive samples in the waveform of the sound, typically with a default sample rate of 8000 Hz.

This yields a chord such as
Play[Evaluate[Apply[Plus, Flatten[Map[Sin[1000 # t] &, N[2 1/12 ]^Position[list, 1]]]]], {t, 0, 0.2}]
A sequence of such chords can sometimes provide a useful representation of cellular automaton evolution.