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

audioInstance-methods

Audio instance class methods


Description

audioInstances supports most methods relevant to them. See the corresponding generics help for details.

Noteworthy is that $data is the canonical way to get data associated with an audio instance - i.e. played or recorded content.

Usage

## S3 method for class 'audioInstance'
x$name
## S3 method for class 'audioInstance'
resume(x, ...)
## S3 method for class 'audioInstance'
pause(x, ...)
## S3 method for class 'audioInstance'
rewind(x, ...)
## S3 method for class 'audioInstance'
close(con, ...)
## S3 method for class 'audioInstance'
play(x, ...)
## S3 method for class 'audioInstance'
print(x, ...)

Arguments

x

audio instance

name

name of the attribute - currently only "data" is supported

con

audio instance (the name is unfortuantely defined in the close generic like this)

...

ignored


audio

Audio Interface for R

v0.1-10
MIT + file LICENSE
Authors
Simon Urbanek <simon.urbanek@r-project.org>
Initial release

We don't support your browser anymore

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