WOLFRAM

ListPlay[{a1,a2,}]

creates an object that plays as a sound whose amplitude is given by the sequence of levels ai.

Details 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
    SampleRate8000how many times per second amplitude samples should be generated
  • ListPlay[{list1,list2}] generates stereo sound. The lefthand 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.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Play random noise:

Out[1]=1

Play random noise with a sample rate of 4096 Hz:

Out[1]=1

Scope  (1)Survey of the scope of standard use cases

Play a TimeSeries:

Out[2]=2

Applications  (6)Sample problems that can be solved with this function

Play averaged random noise:

Out[1]=1

Play bifurcations in the logistic map:

Out[1]=1

Play a nested sequence generated by the Fibonacci substitution system:

Out[1]=1

Play the sequence at a lower register:

Out[2]=2

Play the sequences of differences between primes:

Out[1]=1

Play a random sequence of blocks:

Out[1]=1

Play a random path of a TelegraphProcess:

Out[1]=1
Out[2]=2

Properties & Relations  (1)Properties of the function, and connections to other functions

Combine sampled and note-based sound:

Out[1]=1
Wolfram Research (1991), ListPlay, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPlay.html (updated 2007).
Wolfram Research (1991), ListPlay, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPlay.html (updated 2007).

Text

Wolfram Research (1991), ListPlay, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPlay.html (updated 2007).

Wolfram Research (1991), ListPlay, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPlay.html (updated 2007).

CMS

Wolfram Language. 1991. "ListPlay." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ListPlay.html.

Wolfram Language. 1991. "ListPlay." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ListPlay.html.

APA

Wolfram Language. (1991). ListPlay. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListPlay.html

Wolfram Language. (1991). ListPlay. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListPlay.html

BibTeX

@misc{reference.wolfram_2025_listplay, author="Wolfram Research", title="{ListPlay}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ListPlay.html}", note=[Accessed: 25-May-2025 ]}

@misc{reference.wolfram_2025_listplay, author="Wolfram Research", title="{ListPlay}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ListPlay.html}", note=[Accessed: 25-May-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_listplay, organization={Wolfram Research}, title={ListPlay}, year={2007}, url={https://reference.wolfram.com/language/ref/ListPlay.html}, note=[Accessed: 25-May-2025 ]}

@online{reference.wolfram_2025_listplay, organization={Wolfram Research}, title={ListPlay}, year={2007}, url={https://reference.wolfram.com/language/ref/ListPlay.html}, note=[Accessed: 25-May-2025 ]}