C# 클래스 GeneticMIDI.Fractal.NoteRangeRestrictor

파일 보기 프로젝트 열기: stefan-j/GeneticMIDI 1 사용 예제들

공개 메소드들

메소드 설명
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