Mathematica > Data Manipulation > Importing and Exporting > Audio Formats > SampleRate >

SampleRate

SampleRate
is an option for sound primitives that 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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF