Description Usage Arguments Details Value Examples
Renames the class(snd)["name"] attribute and sets class(snd)["type"] <- "Sound" (if it is not already set)
1 |
snd |
snd object |
name |
New name |
At least, $sig and $fs members must be present in snd list.
If not present, it calculates $t, $nChannels, $nBits (default: 16), $nSamples, and $duration members of snd list
snd object
1 2 | class(snd.sample())
class(as.snd(snd.sample(), name = "New Name"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.