IntervalTable:
Filter:
Classes (extension) | DissonanceLib

IntervalTable
ExtensionExtension

Auxiliary class.
Location: NOT INSTALLED!

Description

A table of intervals helpful for classifying and naming microtonal intervals. Used in rationalization (see number extras).

There are two kinds of interval tables: one obtained from the Huygens-Fokker Foundation, http://www.huygens-fokker.org/docs/intervals.html, with 356 intervals inside an octave; or 5 tables generated with the program JST for the Atari ST by Clarence Barlow (see https://www.musikinformatik.uni-mainz.de/Autobusk). Each table contains ratios generated within a minimum harmonicity value and encompassing 9 octaves above and below unison (+/- 10800 cents). (See Barlow, "Two Essays on Theory", Computer Music Journal, 1987).

Class Methods

.loadTable

load the table into the class.

Arguments:

type

A symbol. Either \huygens or \JST.

min

If type is \JST, an additional argument for minimum harmonicity should be provided (\030, \035, \040, \045 or \050)

path

in case one wants to load a table from a custom path. For this, you can explore the interval tables in the class folder of this extension: huygensList.int and JSTList0X0.int

.classify

From the current loaded interval table, return an array of intervals and their properties (ratio, size in cents and name/harmonicty) that fall within a tolerance range from a list of intervals.

Arguments:

centsList

A list of cent values out of which the classification will be done.

tolerance

Tolerance range in cents (+/- from a value).

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Use case examples: