Description Usage Arguments Details Examples
Internal soundgen function
1 | wigglePars(parList, parsToWiggle, probMutation, stepVariance)
|
parList |
full list of considered parameters |
parsToWiggle |
a list of the names of pars that might be mutated |
probMutation |
the probability of a parameter mutating per iteration |
stepVariance |
scale factor for calculating the size of mutations |
Helper function for matchPars
. Takes a list of control
parameters for soundgen
and introduces some random variation in
their values.
1 2 3 4 5 6 7 8 9 | soundgen:::wigglePars(
parList = list(
sylLen = 250,
pitchAnchors = data.frame(time = c(0, 1), value = c(200, 300))
),
parsToWiggle = c('sylLen', 'pitchAnchors'),
probMutation = .75,
stepVariance = .5
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.