Table of Contents

Struct MelodySlice

Namespace
Celeritas.Core.Harmonization
Assembly
Celeritas.dll

A slice of melody notes that will receive one chord.

public readonly record struct MelodySlice : IEquatable<MelodySlice>
Implements
Inherited Members

Constructors

MelodySlice(Rational, Rational, int[], bool)

A slice of melody notes that will receive one chord.

public MelodySlice(Rational Start, Rational End, int[] Pitches, bool IsStrongBeat)

Parameters

Start Rational
End Rational
Pitches int[]
IsStrongBeat bool

Properties

End

public Rational End { get; init; }

Property Value

Rational

IsStrongBeat

public bool IsStrongBeat { get; init; }

Property Value

bool

Pitches

public int[] Pitches { get; init; }

Property Value

int[]

Start

public Rational Start { get; init; }

Property Value

Rational