scale_pitch: Convert an abstract set of numbers into frequencies suitable...

Description Usage Arguments

View source: R/soundcharts.R

Description

Convert an abstract set of numbers into frequencies suitable for human ears.

Usage

1
scale_pitch(x, lower = 220, upper = 880, relative = T)

Arguments

lower

@param upper Most extreme pitches. Default is A440 plus or minus an octave.

relative

If false, equal intervals in data are separated by equal intervals in absolute pitch (equal numbers of Hz). If true, equal intervals in data are separated by equal intervals in relative pitch (equal numbers of cents or semitones or octaves). Relative pitch is preferred for perceptual accuracy.


ekernf01/soundcharts documentation built on Dec. 20, 2021, 4:13 a.m.