pitch_distance: Get pitch distance

Description Usage Arguments Value References

View source: R/pitch-distance.R

Description

Gets the pitch distance between two sonorities, after \insertCiteParncutt1994;textualparn94.

Usage

1

Arguments

x

The first sonority to compare, passed to pitch_salience(). Typically will be a numeric vector of MIDI pitches.

y

The second sonority to compare, passed to pitch_salience(). Typically will be a numeric vector of MIDI pitches.

...

Further arguments to pass to pitch_salience().

Value

Pitch distance, as a numeric scalar.

References

\insertAllCited
pmcharrison/parn94 documentation built on April 10, 2021, 1:33 p.m.