readSound: readSound

Description Usage Arguments Value Examples

View source: R/readSoundMotion.R

Description

Reading sound data from zdevice downloads

Usage

1
readSound(filename, sound_rate = 256)

Arguments

filename

Text field giving path to file to be read

sound_rate

Rate that sound is sampled, in Hz

Value

a data.frame with timestamp (Time) and sound intensity (Sound) columns

Examples

1
sound_dat <- readSound(system.file('extdata', 'example_data.txt'), package='zdeviceR')

Zansors/zdeviceR documentation built on Dec. 25, 2019, 12:23 a.m.