Skip to content

IBar.GetOverlappingChordsForNote

Chanan edited this page Aug 19, 2020 · 1 revision

IBar.GetOverlappingNotesForChord Method

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

Summary

Returns a sub-list of the bar's notes which overlap the time interval of the given chord,
i.e, all the notes from this bar's 'Notes' property that are played in parallel time to the given chord.


Overloads

IList<INote> GetOverlappingNotesForChord(int chordIndex, out IList<int> chordNotesIndices);
IList<INote> GetOverlappingNotesForChord(IChord chord, out IList<int> chordNotesIndices);

Returns

Returns the notes that are played in parallel to given chord.

Remarks

There are two versions:
one that takes an index to the requested chord in the list of chords in this bar's 'Chords' property,
and the other that takes reference to the requested chord.

besides the sequence of overlapping notes that is returned,
also their indices in the note list in the 'Notes' property are returned.

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