ListPlay

ListPlay[{a1, a2, ...}]
creates an object that plays as a sound whose amplitude is given by the sequence of levels .

Details and OptionsDetails and Options

  • ListPlay returns a Sound object, which displays in StandardForm as a button that can be clicked to play the sound.
  • The following options can be given:
  • DisplayFunctionAutomaticfunction for generating output to display
    PlayRangeAllthe range of amplitude levels to include
    SampleDepth8how many bits to use to represent each amplitude level
    SampleRate8192how many times per second amplitude samples should be generated
  • ListPlay[{list1, list2}] generates stereo sound. The left-hand channel is given first.
  • ListPlay[{list1, list2, ...}] generates sound on any number of channels. If the lists are of different lengths, silence is inserted at the ends of the shorter lists.
New in 2 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »