Class: RelativePitch

RelativePitch

A pitch that is relative to another pitch in a scale or chord. It is converted to a pitch by Scale.pitch() or Chord.pitch()

Constructor

new RelativePitch(degree, shift)

Parameters:
Name Type Default Description
degree

the number of scale degrees (pitches in the scale) relative to the base pitch

shift 0

applies a chromatic shift (AKA an accidental) to allow for pitches outside the scale.

Source: