Global

Methods

# myhill_property(constantopt) → {Boolean}

Returns true if a scale has the Myhill Property

Parameters:
Name Type Attributes Default Description
constant Number <optional>
2

The exact number of specific intervals necessary for each generic interval

Source:
See:
  • Clough, J. and G. Myerson (1985). "Variety and multiplicity in diatonic systems." Journal of Music Theory 29(2): 249-270.
Returns:
Type
Boolean
Example
let edo = new EDO(12) //define tuning
let scale = edo.scale([0,2,4,7,9]) //a major pentatonic scale
scale.get.myhill_property() //true

Type Definitions

# Identity_Fragment

Type:
  • Object
Properties
Name Type Description
set Array.<number>

The original set used

mode Array.<number>

The mode of that set which normalizes the identity fragment to 0.

fragment Array.<number>

The fragment

is_diagnostic Boolean

Whether the fragment is in itself a diagnostic combination

Source:

# quality_position_obj

Type:
  • Object
Properties
Name Type Description
quality Array.<Number>

Some chord quality

positions Array.<Number>

The positions where this quality is available

Source:

# steps_quality_obj

Type:
  • Object
Properties
Name Type Description
steps Array.<Number>

The given steps

combos Array.<quality_position_obj>

An array of qualities and their positions

Source:

# Symmetricalness

Type:
  • Object
Properties
Name Type Description
manifestations: Number

The total number of pitch combinations found

distinct Number

The number of distinct pitch combinations from the total number

ratio Number

The ratio of manifestation to distinct

normalized: Number

A normalized value: 1 being perfectly symmetrical and 0 being fully-non-symmetrical

Source:

# Symmetricalness_verbose

Type:
  • Object
Properties
Name Type Description
fragment: Array.<Number>

A fragment found in the set

manifestations: Number

The number of time this fragment manifests in the set

Source: