View source: R/morph_utilities.R
morphList | R Documentation |
Internal soundgen function.
morphList(l1, l2, nMorphs = 5)
l1 , l2 |
lists of formants (various lengths are ok) |
nMorphs |
length of morphing sequence |
A list of length nMorphs.
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.