This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Sound Generation  /
ListPlay

  • ListPlay[ , , ... ] plays a sound whose amplitude is given by the sequence of levels .
  • ListPlay returns a Sound object.
  • The following options can be given:
  • ListPlay[ , ] generates stereo sound. The left-hand channel is given first.
  • ListPlay[ , , ... ] generates sound on any number of channels. If the lists are of different lengths, silence is inserted at the ends of the shorter lists.
  • See the Mathematica book: Section 1.9.13.
  • See also: Play, SampledSoundList, Show.
  • Related package: Miscellaneous`Audio`.

    Further Examples

    This generates a list of the first 1000 digits of the rational number 1/19.

    In[1]:=

    Since rational numbers have repeating decimals, you can hear their periodicity by Play-ing them.

    Evaluate the cell to hear the sound.

    In[2]:=

    In[3]:=