SampleRate

SampleRate
is an option for sound primitives that specifies the number of samples per second to generate for sounds.

DetailsDetails

  • The default setting is SampleRate->8000.
  • The highest frequency in hertz that can be present in a particular sound is equal to half the setting for SampleRate.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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]=
Introduced in 1991
(2.0)