Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

play

Playing Waves


Description

Plays wave files and objects of class Wave.

Usage

play(object, player, ...)

Arguments

object

Either a filename pointing to a Wave file, or an object of class Wave or WaveMC. If the latter, it is written to a temporary file by writeWave, played by the chosen player, and deleted afterwards.

player

(Path to) a program capable of playing a wave file by invocation from the command line. If under Windows and no player is given, “mplay32.exe” or “wmplayer.exe” (if the former does not exists as under Windows 7) will be chosen as the default.

...

Further arguments passed to the Wave file player. If no player and no further arguments are given under Windows, the default is: "/play /close".

Author(s)

See Also


tuneR

Analysis of Music and Speech

v1.3.3
GPL-2 | GPL-3
Authors
Uwe Ligges <ligges@statistik.tu-dortmund.de> with contributions from Sebastian Krey, Olaf Mersmann, Sarah Schnackenberg, Guillaume Guenard, Andrea Preusser, Anita Thieler, Johanna Mielke and Claus Weihs, as well as code fragments and ideas from the former package 'sound' by Matthias Heymann and functions from 'rastamat' by Daniel P. W. Ellis. The included parts of the libmad MPEG audio decoder library are authored by Underbit Technologies.
Initial release
2018-07-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.