AudioPlay

AudioPlay[audio]

returns a new AudioStream object from audio and starts the playback.

AudioPlay[astream]

starts playing an AudioStream object astream.

Details and Options

  • In AudioPlay[audio], AudioOutputDevice and SoundVolume are inherited from audio.
  • AudioPlay will continually change the "Position" property of astream starting from the current position.
  • AudioPlay by default plays the entire stream until paused, stopped or finished. Use MaxDuration->dur to play up to t seconds of the audio signal.

Examples

open allclose all

Basic Examples  (1)

Create an AudioStream object and start the playback:

In[1]:=
Click for copyable input
Out[2]=

Scope  (2)

See Also

Audio  AudioStop  AudioPause  AudioStream  EmitSound  AudioChannelAssignment

Introduced in 2017
(11.2)