AsspFileFormat | R Documentation |
Function to get or set the file format of an AsspDataObj.
AsspFileFormat(x)
AsspFileFormat(x) <- value
x |
an object of class AsspDataObj |
value |
an integer or a string indicating the new file format |
libassp
handles a number of file formats common in speech research.
This function enables the user to determine the file format of an object
read from file and to set it for subsequent writing. This allows for file
format conversion to some degree. Note, that many conversions are not
reasonable/possible: conversions are therefore discouraged unless the user
knows what they are doing. Format specifiers can be found in
AsspFileFormats
and exist in two forms: a code name and a
code number. Both are suitable for setting the format.
for AsspFileFormat
the code name of the object's
currently set file format
for AsspFileFormat<-
, the updated object
Lasse Bombien
AsspFileFormats
, AsspDataFormat
## Not run:
obj <- read.AsspDataObj('/path/to/file.wav')
AsspFileFormat(obj)
AsspFileFormat(obj) <- 'SSFF' ## or
AsspFileFormat(obj) <- 20
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.