interval-class note strict? [Function]

Returns the interval class of note. The interval class is the number of chromatic steps between C and the note's class. note may be either a symbolic note or note class reference in the standard chromatic scale. If strict? is t, then the true IC is returned, which means the interval or its inversion, whichever is smaller.

Example:

? (interval-class 'a4)
8

? (interval-class 'a4 t)
3

See Also:

note [Item Type], note-class [Function], *standard-scale* [Variable]


Last Modified: 25-Jul-1998