Learn R Programming

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

sound (version 1.1)

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

342

Version

1.1

License

GPL version 2 or newer

Maintainer

Matthias Heymann

Last Published

December 11th, 2023

Functions in sound (1.1)

normalize

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

Pitch a Sample Object
saveSample

Save a Sample Object as a WAV File
appendSample

Append Sample Objects
plot.Sample

Plot a Sample Object
channels

Number of Channels of a Sample Object
noSilence

Cut Off Silence from a Sample Object
Sine

Create Sample Objects for the Basic waveforms
bits

Bits per Sample
reverse

Play a Sample Object Backwards
WavPlayer

Set or Get the System Command for Playing WAV Files
left

Extract one Channel from a Stereo Sample
cutSampleEnds

Prepare Sample Object for appendSample
fitSampleParameters

Adjust Parameters of Two Sample Objects.
stereo

Create a Stereo Sample Object from Two Mono Samples
play

Play a Sample Object or a WAV File
sampleLength

Length of a Sample Object
sound

The Waveform Matrix of a Sample Object
print.Sample

Print a Sample Object
rate

The Sampling Rate
panorama

Narrow the Panorama of a Stereo Sample
Ops.Sample

Basic Operations for Sample Objects
nullSample

The NULL Sample Object
cutSample

Cut Sample Objects
center

Center a Sample Object.
loadSample

Load a WAV File from Disk
Sample

Sample Objects
mirror

Mirror a Stereo Sample
duration

Duration of a Sample Object