Table of Contents

Struct MelodicInterval

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

A single melodic interval with context.

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

Constructors

MelodicInterval(int, MelodicDirection, MelodicMotionType)

A single melodic interval with context.

public MelodicInterval(int Semitones, MelodicDirection Direction, MelodicMotionType Motion)

Parameters

Semitones int
Direction MelodicDirection
Motion MelodicMotionType

Properties

Direction

public MelodicDirection Direction { get; init; }

Property Value

MelodicDirection

Motion

public MelodicMotionType Motion { get; init; }

Property Value

MelodicMotionType

Semitones

public int Semitones { get; init; }

Property Value

int