C# Класс GeneticMIDI.Fractal.NoteRangeRestrictor

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetDuration ( int index ) : int
GetNumDurations ( ) : int
GetNumPitches ( ) : int
GetPitch ( int index ) : int
NoteRangeRestrictor ( int lowPitch, int highPitch, int shortLength, int longLength, ScaleType scaleToUse ) : System

Specify all restrictions that should be placed on the range of generated notes.

Описание методов

GetDuration() публичный Метод

public GetDuration ( int index ) : int
index int
Результат int

GetNumDurations() публичный Метод

public GetNumDurations ( ) : int
Результат int

GetNumPitches() публичный Метод

public GetNumPitches ( ) : int
Результат int

GetPitch() публичный Метод

public GetPitch ( int index ) : int
index int
Результат int

NoteRangeRestrictor() публичный Метод

Specify all restrictions that should be placed on the range of generated notes.
public NoteRangeRestrictor ( int lowPitch, int highPitch, int shortLength, int longLength, ScaleType scaleToUse ) : System
lowPitch int The lowest pitch that can be generated.
highPitch int The highest pitch that can be generated.
shortLength int The shortest duration that can be generated.
longLength int The longest duration that can be generated.
scaleToUse ScaleType The scale to use to generate notes.
Результат System