powered by
play plays audio
play
play(x, ...) # S3 method for audioSample play(x, rate, ...) # S3 method for Sample play(x, ...) # S3 method for default play(x, rate = 44100, ...)
Returns an audio instance object which can be used to control the playback subsequently.
data to play
sample rate - it is inferred from the object (where possible) if not specified
optional arguments passed to the method specific to the object being played
# \donttest{ play(sin(1:10000/20)) # }
Run the code above in your browser using DataLab