Description Usage Arguments Value Examples
View source: R/utilities_morph.R
Internal soundgen function.
1 | morphList(l1, l2, nMorphs = 5)
|
l1, l2 |
lists of formants (various lengths are ok) |
nMorphs |
length of morphing sequence |
A list of length nMorphs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | l1 = list(f1 = data.frame(time = c(0, .5, 1),
freq = c(700, 900, 1200),
amp = c(30), width = c(80)),
f2 = data.frame(time = c(0),
freq = c(900),
amp = c(30),
width = c(120)),
f3 = data.frame(time = c(0),
freq = c(1500),
amp = c(20),
width = c(150)))
l2 = list(f1 = data.frame(time = c(0),
freq = c(400),
amp = c(40),
width = c(120)),
f2 = data.frame(time = c(0, 1),
freq = c(1500, 2000),
amp = c(30),
width = c(150)))
ml = soundgen:::morphList(l1, l2, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.