PlayRange

PlayRange

is an option for Play and related functions which specifies what range of sound amplitude levels should be included.

Details

  • All amplitudes are scaled so that the amplitude levels to be included lie within the range that can be output.
  • Amplitude levels outside the specified range are clipped.
  • The possible settings for PlayRange are:
  • Allinclude all amplitude levels
    Automaticoutlying levels are dropped
    {amin,amax}explicit amplitude limits

Examples

open allclose all

Basic Examples  (1)

Sample with an automatic PlayRange:

Keep function values between 0 and 1; this will create additional distortion:

Applications  (1)

Play a clipped sine wave:

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

Text

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

CMS

Wolfram Language. 1991. "PlayRange." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PlayRange.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_playrange, author="Wolfram Research", title="{PlayRange}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/PlayRange.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_playrange, organization={Wolfram Research}, title={PlayRange}, year={1991}, url={https://reference.wolfram.com/language/ref/PlayRange.html}, note=[Accessed: 22-December-2024 ]}