C# 클래스 Midi.ScalePattern

Description of a scale's pattern as it ascends through an octave.
This class describes the general behavior of a scale as it ascends from a tonic up to the next tonic. It is described in terms of semitones relative to the tonic; to apply it to a particular tonic, pass one of these to the constructor of Scale.
파일 보기 프로젝트 열기: jstnryan/midi-dot-net 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( System obj ) : bool

Value equality.

GetHashCode ( ) : int

Hash code.

ScalePattern ( string name, int ascent ) : System

Constructs a scale pattern.

ToString ( ) : string

ToString returns the pattern name.

operator ( ) : bool

Inequality operator does value inequality.

비공개 메소드들

메소드 설명
AscentIsValid ( int ascent ) : bool

Returns true if ascent is valid.

메소드 상세

Equals() 공개 메소드

Value equality.
public Equals ( System obj ) : bool
obj System
리턴 bool

GetHashCode() 공개 메소드

Hash code.
public GetHashCode ( ) : int
리턴 int

ScalePattern() 공개 메소드

Constructs a scale pattern.
name or ascent is null. ascent is invalid.
public ScalePattern ( string name, int ascent ) : System
name string The name of the scale pattern.
ascent int The ascending pattern of the scale. See the /// property for a detailed description and requirements. This parameter is copied.
리턴 System

ToString() 공개 메소드

ToString returns the pattern name.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Inequality operator does value inequality.
public static operator ( ) : bool
리턴 bool