listen {sequenceR}R Documentation

Listen to a sound sample

Description

Listen to a sound sample. Based on tuneR function 'play'

Usage

listen(x)

Arguments

x

sound sample object.

Value

nothing - listening function.

Examples

# Define sound sample
sam <- soundSample(sin(2*pi*seq(0,1,,44100)*440)+0.1*rnorm(44100)) # 1-second noisy A
## Not run: 
# This line of code is wrapped in \dontrun{} since it relies
# on an external audio player to listen to the audio sample.
# See ?tuneR::setWavPlayer for setting a default player.
listen(sam)
## End(Not run)

[Package sequenceR version 1.0.1 Index]