makeCues: Creates a string with the cues for each frequency band and...

Description Usage Arguments Value Author(s) Examples

Description

Creates a string with the cues for each frequency band and segment seperated by "_"

Usage

1
makeCues(WAVE, IntensitySteps = 5, Smooth = 800)

Arguments

WAVE

A Wave object (see tuneR). Currently it is implemented for use with 16kHz sampling rate.

IntensitySteps

Number of steps that the intensity gets compressed to. Default is 5.

Smooth

A parameter for using the kernel smooth function provied by the package zoo.

Value

A string containing the coding. Each band and part is seperated by "_"

Author(s)

Denis Arnold

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
         
         library(tuneR)
         library(seewave)
         Wave=readWave("MyWaveFile.wav")
         if(Wave@samp.rate!=16000){
         Wave=resamp(Wave,f=Wave@samp.rate,g=16000,output="Wave")
         }
         Cues=makeCues(Wave,IntensitySteps=5,Smooth=800)
         
         
## End(Not run)

AcousticNDLCodeR documentation built on May 2, 2019, 3:01 a.m.