Learn R Programming

⚠️There's a newer version (1.4.6) of this package.Take me there.

sound (version 1.3)

A Sound Interface for R

Description

Basic functions for dealing with wav files and sound samples.

Copy Link

Version

Install

install.packages('sound')

Monthly Downloads

215

Version

1.3

License

GPL (>= 2)

Maintainer

Matthias Heymann

Last Published

October 29th, 2012

Functions in sound (1.3)

channels

Number of Channels of a Sample Object
WavPlayer

Set or Get the System Command for Playing WAV Files
sound

The Waveform Matrix of a Sample Object
stereo

Create a Stereo Sample Object from Two Mono Samples
print.Sample

Print a Sample Object
fitSampleParameters

Adjust Parameters of Two Sample Objects.
sampleLength

Length of a Sample Object
cutSampleEnds

Prepare Sample Object for appendSample
normalize

Rescale the Range of a Sample to [-1,1]
cutSample

Cut Sample Objects
Sine

Create Sample Objects for the Basic waveforms
Sample

Sample Objects
noSilence

Cut Off Silence from a Sample Object
reverse

Play a Sample Object Backwards
bits

Bits per Sample
center

Center a Sample Object.
pitch

Pitch a Sample Object
mirror

Mirror a Stereo Sample
left

Extract one Channel from a Stereo Sample
panorama

Narrow the Panorama of a Stereo Sample
plot.Sample

Plot a Sample Object
appendSample

Append Sample Objects
saveSample

Save a Sample Object as a WAV File
duration

Duration of a Sample Object
loadSample

Load a WAV File from Disk
Ops.Sample

Basic Operations for Sample Objects
play

Play a Sample Object or a WAV File
rate

The Sampling Rate
nullSample

The NULL Sample Object