Skip to content

IChord.GetScaleNotes

Chanan edited this page Aug 18, 2020 · 4 revisions

IChord.GetScaleNotes Method

Namespace: CW.Soloist.CompositionService.MusicTheory
Assembly: CW.Soloist.CompositionService.dll

Summary

Returns an enumerator that can be used to iterate through the collection
of all note pitches which belong to the scale that is mapped to this chord's type,
and full fill the requested pitch range constraint.

Overloads

IEnumerable<NotePitch> GetScaleNotes(int minOctave, int maxOctave);
IEnumerable<NotePitch> GetScaleNotes(NotePitch minPitch, NotePitch maxPitch);

Returns

The sequence of all note pitches from the scale that is mapped to this chord's type,
and full fill the requested pitch range constraint.

Remarks

There are two versions: one constraints the range in octave ordinal numbers,
and the other constraints the range with specific note pitches.

  • Home
  • Getting Started
  • Design
    • Business Logical Layer (CW.Soloist.CompositionService)
    • Data Access Layer
    • Presentation Layer
Clone this wiki locally