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 Primitives  /
PlayRange

  • PlayRange is an option for Play and related functions which specifies what range of sound amplitude levels should be included.
  • All amplitudes are scaled so that the amplitude levels to be included lie within the range that can be output.
  • Amplitude levels outside the range specified are clipped.
  • The possible settings for PlayRange are:
  • See the Mathematica book: Section 1.9.13.
  • See also: SampleDepth.

    Further Examples

    This plays a steadily rising tone, scaling the amplitude levels.

    Evaluate the cell to see the graphic and hear the sound.

    In[1]:=