SampleRate

SampleRate

is an option that specifies the number of samples per second for sound and signal processing functions.

Details

  • Possible settings include:
  • Automaticautomatically chosen
    srsr samples per second
    Quantity[sr,unit]specifies the sample rate in the given frequency unit
  • The highest frequency in hertz that can be present in a particular sound is equal to half the setting for SampleRate.

Examples

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]=

See Also

ListPlay  Audio  AudioGenerator  AudioResample  LowpassFilter  SampleDepth

Tutorials

Introduced in 1991
(2.0)
| Updated in 2016
(11.0)