profile_features: Profile features

Description Usage Arguments Value

View source: R/profile-features.R

Description

Computes profiling information for a set of features. These features are computed for a transition between two chords.

Usage

1
profile_features(random = TRUE, features = voice_features())

Arguments

random

(Logical scalar) Whether the two chords should be resampled each time or not. The latter is useful for evaluating the effect of memoization on function speeds.

features

A named list of feature functions, defaulting to the list created by voice_features.

Value

A named numeric vector of computation times for each feature, with units of seconds.


pmcharrison/voicer documentation built on Dec. 17, 2020, 1:09 p.m.