divideIntoSyllables: Syllable structure of a bout

Description Usage Arguments Details Value Examples

Description

Internal soundgen function.

Usage

1
2
3
divideIntoSyllables(nSyl, sylLen, pauseLen, sylDur_min = 20,
  sylDur_max = 10000, pauseDur_min = 20, pauseDur_max = 1000,
  temperature = 0.025, plot = FALSE)

Arguments

nSyl

the desired number of syllables

sylLen

the desired mean syllable duration, in ms

pauseLen

the desired mean pause between syllables, in ms

sylDur_min, sylDur_max

the lower and upper bounds on possible syllable duration, in ms

pauseDur_min, pauseDur_max

the lower and upper bounds on possible pause duration, in ms

temperature

a non-negative float regulating the stochasticity of syllable segmentation; 0 = no stochasticity; 1 = sd of proposals is equal to sylLen (very strong stochasticity)

plot

produce a plot of syllable structure?

Details

Stochastic generation of syllable structure of a bout. Calls rnorm_bounded to vary the duration of each new syllable and of pauses between syllables. Total bout duration will also vary, unless temperature is zero.

Value

Returns a matrix with a list of start-end points for syllables

Examples

1
2
3
4
soundgen:::divideIntoSyllables (nSyl = 5, sylLen = 180,
  pauseLen = 55, temperature = 0.2, plot = TRUE)
soundgen:::divideIntoSyllables (nSyl = 5, sylLen = 180,
  pauseLen = 55, temperature = 0, plot = TRUE)

tatters/soundgen_beta documentation built on May 14, 2019, 9 a.m.