get_metaFuncFormals: A utility function that computes appropriate parameters for a...

View source: R/reindeeR_signalextensions.R

get_metaFuncFormalsR Documentation

A utility function that computes appropriate parameters for a bundle based on metadata

Description

This function may be used to derive what parameters would be appropriate to use for a single bundle (in a session) bases on metadata set for the bundle.

Usage

get_metaFuncFormals(
  emuDBhandle,
  session,
  bundle,
  onTheFlyFunctionName,
  onTheFlyParams = list(),
  metadata.defaults = list(Gender = NA, Age = 35),
  recompute = FALSE,
  package = "superassp"
)

Arguments

emuDBhandle

The Emu database handle.

session

Only consider this session.

bundle

The bundle in the session to build an argument list for.

onTheFlyFunctionName

The name of the digital speech processing function

onTheFlyParams

If default parameters are given, they are applied to all bundles / files, overwriting parameters set based on metadata.

metadata.defaults

Default values for metadata. Usually used for setting Age and Gender for bundles missing that information.

recompute

If TRUE the Age and Gender specific DSP settings will be recomputed from the database. Please see get_metadataParameters for more information.

package

Value

A list which may be supplied to a do.call call for the DSP function.

See Also

do.call


humlab-speech/reindeer documentation built on May 21, 2023, 4:43 p.m.