dot-prosody: Prosody per sound

.prosodyR Documentation

Prosody per sound

Description

Internal soundgen function called by prosody

Usage

.prosody(
  audio,
  multProsody,
  analyze_pars = list(),
  shiftPitch_pars = list(),
  pitchManual_list = NULL,
  play = FALSE,
  plot = FALSE,
  savePlots = NULL,
  width = 900,
  height = 500,
  units = "px",
  res = NA,
  ...
)

Arguments

audio

a list returned by readAudio

multProsody

multiplier of pitch excursion from median (on a logarithmic or musical scale): >1 = exaggerate intonation, 1 = no change, <1 = flatten, 0 = completely flat at the original median pitch

analyze_pars

a list of parameters to pass to analyze (only needed if pitchManual is NULL - that is, if we attempt to track pitch automatically)

shiftPitch_pars

a list of parameters to pass to shiftPitch to fine-tune the pitch-shifting algorithm

play

if TRUE, plays the processed audio

plot

should a spectrogram be plotted? TRUE / FALSE

savePlots

full path to the folder in which to save the plots (NULL = don't save, ” = same folder as audio)

width, height, units, res

graphical parameters for saving plots passed to png

...

other graphical parameters


soundgen documentation built on Sept. 12, 2024, 6:29 a.m.