Learn R Programming

musicMCT (version 0.1.2)

meantone_fifth: Define a tempered fifth for various meantone scales

Description

Creates an interval that approximates a pure 3:2 fifth which has been tempered smaller by some fraction of a syntonic comma, making it easy to construct diatonic meantone scales. The default is to create a quarter-comma meantone fifth (i.e. about 697 cents).

Usage

meantone_fifth(frac = 1/4)

Value

Single numeric value of the tempered fifth measured in 12edo semitones.

Arguments

frac

The fraction of a syntonic comma that the fifth should be tempered by. Defaults to 1/4. Numeric.

Examples

Run this code
zarlino_fifth <- meantone_fifth(2/7)
zarlino_diatonic <- sort((0:6 * zarlino_fifth) %% 12)
print(zarlino_diatonic)

fifth_in_19edo <- convert(11, 19, 12)
meantone_fifth(1/3) - fifth_in_19edo

Run the code above in your browser using DataLab