Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Play

Usage

Play[f, {t,  ,  }] plays a sound whose amplitude is given by f as a function of time t in seconds between  and  .


Notes

Play evaluates its arguments in a non-standard way (see Section A.4.2).
Play[{ ,  }, {t,  ,  }] produces stereo sound. The left-hand channel is given first.
Play[{ ,  , ... }, ... ] generates sound output on any number of channels.
• The following options can be given:
Compiled True whether to compile f for evaluation
DisplayFunction $SoundDisplayFunction function for generating output
Epilog {} sound or graphics to be used as an epilog
PlayRange Automatic the range of amplitude levels to include
Prolog {} sound or graphics to be used as a prolog
SampleDepth 8 how many bits to use to represent each amplitude level
SampleRate 8192 how many times per second amplitude samples should be generated
Play returns a Sound object.
• New in Version 2.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: