bowl18_min_freq_dist: Minimum frequency distance

Description Usage Arguments Value References Examples

Description

This function returns the minimum distance between the fundamental frequencies of a chord, after Bowling et al. (2018). It makes no assumptions about the chord's tuning.

Usage

1
2
3
4
5
6
7
bowl18_min_freq_dist(x)

## Default S3 method:
bowl18_min_freq_dist(x)

## S3 method for class 'fr_chord'
bowl18_min_freq_dist(x)

Arguments

x

Chord to analyse. The default method assumes that the chord is expressed as a numeric vector of frequencies. Representations from the hrep package (e.g. pi_chord()) can be used to analyse chords expressed as MIDI note numbers.

Value

(Numeric scalar) The minimum distance between the fundamental frequencies of the chord, in Hz.

References

\insertRef

Bowling2018bowl18

Examples

1
2
3
bowl18_min_freq_dist(c(220, 440, 560)) # processed as frequencies
bowl18_min_freq_dist(hrep::fr_chord(c(220, 440, 560))) # same as above
bowl18_min_freq_dist(hrep::pi_chord(c(60, 64, 67))) # MIDI note numbers

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