C# 클래스 Cascade.MusicManager

파일 보기 프로젝트 열기: RIT-Tool-Time/Cascade

공개 프로퍼티들

프로퍼티 타입 설명
Chords ].int[
MajorScale int[]
PanelManagers List
PentatonicScale int[]
SoundEffects List

공개 메소드들

메소드 설명
AddNote ( MusicalNote m ) : MusicalNote
AddNote ( SoundEffectInstance i ) : MusicalNote
AddPanelManager ( MusicalScaleType musicalScaleType ) : PanelManager
CreateChordProgression ( ) : void
LoadBassSound ( int instrumentNumber, int midiNumber ) : SoundEffect
LoadPadSound ( int padNumber, int midiNumber ) : SoundEffect
LoadUserSound ( int UserNumber, int MidiNumber, int Version, string InstrumentName ) : SoundEffect
LoadUserSounds ( int UserNumber, int MidiNumber, string InstrumentName ) : Microsoft.Xna.Framework.Audio.SoundEffect[]
NotePlayedByUser ( int midiNumber, int playerIndex, int instrumentNumber ) : void
SetState ( MusicState s ) : void
SetTimer ( MusicState s, Tempo t ) : void
StartAnalysis ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
BarIncremented ( ) : void
BeatIncremented ( ) : void
NoteIncremented ( ) : void
UnitIncremented ( ) : void
timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

메소드 상세

AddNote() 공개 정적인 메소드

public static AddNote ( MusicalNote m ) : MusicalNote
m MusicalNote
리턴 MusicalNote

AddNote() 공개 정적인 메소드

public static AddNote ( SoundEffectInstance i ) : MusicalNote
i Microsoft.Xna.Framework.Audio.SoundEffectInstance
리턴 MusicalNote

AddPanelManager() 공개 정적인 메소드

public static AddPanelManager ( MusicalScaleType musicalScaleType ) : PanelManager
musicalScaleType MusicalScaleType
리턴 PanelManager

CreateChordProgression() 공개 정적인 메소드

public static CreateChordProgression ( ) : void
리턴 void

LoadBassSound() 공개 정적인 메소드

public static LoadBassSound ( int instrumentNumber, int midiNumber ) : SoundEffect
instrumentNumber int
midiNumber int
리턴 Microsoft.Xna.Framework.Audio.SoundEffect

LoadPadSound() 공개 정적인 메소드

public static LoadPadSound ( int padNumber, int midiNumber ) : SoundEffect
padNumber int
midiNumber int
리턴 Microsoft.Xna.Framework.Audio.SoundEffect

LoadUserSound() 공개 정적인 메소드

public static LoadUserSound ( int UserNumber, int MidiNumber, int Version, string InstrumentName ) : SoundEffect
UserNumber int
MidiNumber int
Version int
InstrumentName string
리턴 Microsoft.Xna.Framework.Audio.SoundEffect

LoadUserSounds() 공개 정적인 메소드

public static LoadUserSounds ( int UserNumber, int MidiNumber, string InstrumentName ) : Microsoft.Xna.Framework.Audio.SoundEffect[]
UserNumber int
MidiNumber int
InstrumentName string
리턴 Microsoft.Xna.Framework.Audio.SoundEffect[]

NotePlayedByUser() 공개 정적인 메소드

public static NotePlayedByUser ( int midiNumber, int playerIndex, int instrumentNumber ) : void
midiNumber int
playerIndex int
instrumentNumber int
리턴 void

SetState() 공개 정적인 메소드

public static SetState ( MusicState s ) : void
s MusicState
리턴 void

SetTimer() 공개 정적인 메소드

public static SetTimer ( MusicState s, Tempo t ) : void
s MusicState
t Tempo
리턴 void

StartAnalysis() 공개 정적인 메소드

public static StartAnalysis ( ) : void
리턴 void

Update() 공개 정적인 메소드

public static Update ( ) : void
리턴 void

프로퍼티 상세

Chords 공개적으로 정적으로 프로퍼티

public static int[,] Chords
리턴 ].int[

MajorScale 공개적으로 정적으로 프로퍼티

public static int[] MajorScale
리턴 int[]

PanelManagers 공개적으로 정적으로 프로퍼티

public static List PanelManagers
리턴 List

PentatonicScale 공개적으로 정적으로 프로퍼티

public static int[] PentatonicScale
리턴 int[]

SoundEffects 공개적으로 정적으로 프로퍼티

public static List SoundEffects
리턴 List