morphList: Morph lists

View source: R/utilities_morph.R

morphListR Documentation

Morph lists

Description

Internal soundgen function.

Usage

morphList(l1, l2, nMorphs = 5)

Arguments

l1, l2

lists of formants (various lengths are ok)

nMorphs

length of morphing sequence

Value

A list of length nMorphs.

Examples

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)

soundgen documentation built on Aug. 14, 2022, 5:05 p.m.