sweep_harmonic_template: Sweep harmonic template

Description Usage Arguments Value

Description

Sweeps a harmonic template over an input spectrum.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sweep_harmonic_template(x, num_harmonics = 12, rho = 0.75,
  sigma = 6.83, array_dim = 1200, ...)

## S3 method for class 'pc_set'
sweep_harmonic_template(x, num_harmonics = 12,
  rho = 0.75, sigma = 6.83, array_dim = 1200, ...)

## S3 method for class 'milne_pc_spectrum'
sweep_harmonic_template(x,
  num_harmonics = 12, rho = 0.75, sigma = 6.83, ...)

Arguments

x

Object to analyse.

num_harmonics

See pc_harmonicity.

rho

See pc_harmonicity.

sigma

See pc_harmonicity.

array_dim

See pc_harmonicity.

...

Arguments passed to specific methods.

Value

An object of class milne_pc_spectrum, identifying each pitch class with a perceptual weight corresponding to its harmonic template fit.


pmcharrison/har18 documentation built on May 25, 2019, 4:03 a.m.