C# 클래스 Symphonary.MidiInfo

파일 보기 프로젝트 열기: tfreedman/Symphonary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
a_ChannelInstrumentNames string[]
a_ChannelInstrumentNumbers int[]
a_ExistingChannelOrder int[]
a_UsedChannels bool[]
d_MilisecondsPerQuarterNote double
d_MilisecondsPerTick double
debugConsole DebugWindow
i_DeltaTicksPerQuarterNote int
i_MicrosecondsPerQuarterNote int
i_NumMusicChannels int
i_TempoInBPM int
i_TempoInNanoseconds int
i_TimeSignatureDenominator int
i_TimeSignatureNumerator int
l_Metadata List
midiEventCollection MidiEventCollection
notesForAllChannels List[]
s_TimeSignature string

공개 메소드들

메소드 설명
MidiInfo ( DebugWindow console ) : System

Constructor

Refresh ( string filename, int selectedChannel ) : void

비공개 메소드들

메소드 설명
ActualTime ( long timeInMIDIFile ) : long

Calcuates the actual clock time given the time unit found in MIDI file

GetAllTimingInformation ( ) : void

Gets all the timing information: delta ticks per quarter note, tempo (in BPM and nanoseconds), microseconds per quarter note, miliseconds per quarter note, miliseconds per tick, time signature (numerator and denominator)

GetAllTimingInformationHelper_GetTempo ( ) : void

Calculate the tempo. This should only be called from GetAllTimingInformation.

GetAllTimingInformationHelper_GetTimeSignature ( ) : void

Gets the time signature. This should only be called from GetAllTimingInformation.

GetChannelInstruments ( ) : void

Gets the channel instruments

GetNotesForAllChannels ( ) : void

Gets all the notes for every used channel in the midi file

GetTitle ( string filename ) : void
GetUsedChannels ( ) : void

Gets the channels being used

메소드 상세

MidiInfo() 공개 메소드

Constructor
public MidiInfo ( DebugWindow console ) : System
console DebugWindow
리턴 System

Refresh() 공개 메소드

public Refresh ( string filename, int selectedChannel ) : void
filename string
selectedChannel int
리턴 void

프로퍼티 상세

a_ChannelInstrumentNames 공개적으로 프로퍼티

public string[] a_ChannelInstrumentNames
리턴 string[]

a_ChannelInstrumentNumbers 공개적으로 프로퍼티

public int[] a_ChannelInstrumentNumbers
리턴 int[]

a_ExistingChannelOrder 공개적으로 프로퍼티

public int[] a_ExistingChannelOrder
리턴 int[]

a_UsedChannels 공개적으로 프로퍼티

public bool[] a_UsedChannels
리턴 bool[]

d_MilisecondsPerQuarterNote 공개적으로 프로퍼티

public double d_MilisecondsPerQuarterNote
리턴 double

d_MilisecondsPerTick 공개적으로 프로퍼티

public double d_MilisecondsPerTick
리턴 double

debugConsole 공개적으로 프로퍼티

public DebugWindow,Symphonary debugConsole
리턴 DebugWindow

i_DeltaTicksPerQuarterNote 공개적으로 프로퍼티

public int i_DeltaTicksPerQuarterNote
리턴 int

i_MicrosecondsPerQuarterNote 공개적으로 프로퍼티

public int i_MicrosecondsPerQuarterNote
리턴 int

i_NumMusicChannels 공개적으로 프로퍼티

public int i_NumMusicChannels
리턴 int

i_TempoInBPM 공개적으로 프로퍼티

public int i_TempoInBPM
리턴 int

i_TempoInNanoseconds 공개적으로 프로퍼티

public int i_TempoInNanoseconds
리턴 int

i_TimeSignatureDenominator 공개적으로 프로퍼티

public int i_TimeSignatureDenominator
리턴 int

i_TimeSignatureNumerator 공개적으로 프로퍼티

public int i_TimeSignatureNumerator
리턴 int

l_Metadata 공개적으로 프로퍼티

public List l_Metadata
리턴 List

midiEventCollection 공개적으로 프로퍼티

public MidiEventCollection midiEventCollection
리턴 MidiEventCollection

notesForAllChannels 공개적으로 프로퍼티

public List[] notesForAllChannels
리턴 List[]

s_TimeSignature 공개적으로 프로퍼티

public string s_TimeSignature
리턴 string