C# Класс Symphonary.MidiInfo

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

Открытые свойства

Свойство Тип Описание
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