bioacoustica.tools.loadWaveDemo: Loads a demonstration waveform

Usage Examples

View source: R/bioacoustica.tools.loadWaveDemo.R

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function () 
{
    demofile <- "http://bio.acousti.ca/sites/bio.acousti.ca/files/13%20Track%2013_web.wav"
    demofilename <- "molecricket.wav"
    download.file(demofile, destfile = demofilename)
    wave <- readWave(demofilename)
    return(wave)
  }

BioAcoustica/BioAcousticaR-tools documentation built on May 5, 2019, 3:46 p.m.