read.Sound {R.audio}R Documentation

Reads a sound from file

Description

Reads a sound from file. Currently WAV and AU files are supported.

Usage

Sound$read(filename, format=NULL, ...)

Arguments

filename The name of the file to be read.
format The fileform (a character) to be read. If NULL, it is decided from the filename extension.
... Not used.

Value

Returns a Sound object.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*write(). For more information see Sound.


[Package R.audio version 0.6.2 Index]