Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Sound Primitives  /
SampledSoundFunction

  • SampledSoundFunction[ f , n , r ] is a sound primitive, which represents a sound whose amplitude sampled r times a second is generated by applying the function f to successive integers from 1 to n.
  • SampledSoundFunction[ , , ... , n , r ] yields sound on several channels.
  • SampledSoundFunction is generated by Play.
  • SampledSoundFunction primitives can appear inside Sound, Graphics and Graphics3D objects.
  • See the Mathematica book: Section 2.9.18.

    Further Examples

    The Sound object produced by Play contains a SampledSoundFunction primitive that uses a compiled function to generate amplitude samples for the sound.

    Evaluate the cell to see the graphic and hear the sound.

    In[1]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.