Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Importing & Exporting > Audio Formats >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team