audioSample-methods | R Documentation |
audioSample
methods behave in the same way as the underlying
methods of numeric vectors and matrices except that they preserve
the attributes and class of the objects.
## S3 method for class 'audioSample'
x$name
## S3 replacement method for class 'audioSample'
x$name <- value
## S3 method for class 'audioSample'
x[..., drop = FALSE]
## S3 method for class 'audioSample'
as.Sample(x, ...)
## S3 method for class 'audioSample'
print(x, ...)
x |
sample object |
name |
name of the attribute to get/set |
value |
value to set |
drop |
see |
... |
parameters passed to the object-specific method |
x <- audioSample(sin(1:8000/10), 8000)
x$rate
x[1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.