This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

SampleRate

SampleRate
is an option for sound primitives which specifies the number of samples per second to generate for sounds.
  • The highest frequency in hertz that can be present in a particular sound is equal to half the setting for SampleRate.
Play random noise with a sample rate of 4096 Hz:
Play with a sample rate of 1000 Hz:
Play random noise with a sample rate of 4096 Hz:
In[1]:=
Click for copyable input
Out[1]=
Play with a sample rate of 1000 Hz:
In[2]:=
Click for copyable input
Out[2]=
New in 2