generateTone.Sound {R.audio}R Documentation

Generates a sound with a given tone

Description

Generates a sound with a given tone.

Usage

Sound$generateTone(freq, nbrOfSeconds=1, samplesPerSecond=22500, bitsPerSample=8, ...)

Arguments

freq Frequence (a numeric) of the tone to be generated.
nbrOfSeconds Length in seconds of the tone.
samplesPerSecond Samples per second.
bitsPerSample Bits per sample.
... Not used.

Value

Returns a Sound object.

Author(s)

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

See Also

For more information see Sound.


[Package R.audio version 0.6.2 Index]