Namespace Melanchall.DryWetMidi.Core
Classes
Represents Active Sensing event.
Represents a text meta event.
Represents a bytes packet.
Provides methods to convert bytes to an instance of the MidiEvent.
Represents a Channel Pressure (Aftertouch) message.
Represents a MIDI file channel event.
Represents a MIDI Channel Prefix meta event.
Represents a chunk's header.
Represents a chunk's identity described by its type and corresponding ID.
Collection of ChunkType objects which provide identity information of a chunk.
Represents Continue event.
Represents a Control Change message.
Represents a Copyright Notice meta event.
Represents a Cue Point meta event.
Represents a Device Name meta event.
Represents an End Of Track meta event.
Represents an "escape" system exclusive event which defines an escape sequence.
Represents an event's identity described by its type and corresponding status byte.
Collection of EventType objects which provide identity information of an event.
Represents the data of a header chunk of a MIDI file.
Represents an Instrument Name meta event.
The exception that is thrown when the reading engine has encountered an invalid parameter
of a channel event.
The exception that is thrown when the actual size of a MIDI file chunk differs from
the one declared in its header.
The exception that is thrown when the reading engine has encountered an invalid parameter
of a meta event.
The exception that is thrown when the reading engine has encountered an invalid MIDI time
code component (i.e. a value that doesn't belong to values of MidiTimeCodeComponent)
during reading MidiTimeCodeEvent.
The exception that is thrown when the reading engine has encountered an invalid parameter
of a system common event.
Represents a Key Signature meta event.
Represents a Lyric meta event.
Represents a Marker meta event.
Represents a MIDI file meta event.
Represents a chunk of Standard MIDI file.
Holds settings according to which MidiChunk objects should
be compared for equality.
Represents a MIDI file event stored in a track chunk.
Holds settings according to which MidiEvent objects should
be compared for equality.
Provides methods to convert an instance of the MidiEvent to bytes.
Holds settings according to which MidiFile objects should
be compared for equality.
Provides useful methods to manipulate an instance of the MidiFile.
Reader of the MIDI data types.
Represents MIDI Time Code (MIDI Quarter Frame) event.
Represents a single MIDI token from a MIDI file.
Provides a way to read a MIDI file sequentially token by token keeping
low memory consumption. See
Lazy reading/writing article to learn more.
Provides a way to write data to a MIDI file sequentially token by token keeping
low memory consumption. See
Lazy reading/writing article to learn more.
Writer of the MIDI data types.
The exception that is thrown when a MIDI file chunk doesn't end with an End of Track
event.
The exception that is thrown when a MIDI file doesn't contain a header chunk.
Represents a normal system exclusive event.
The exception that is thrown when a MIDI file doesn't contain enough bytes
to read a value.
Represents a Polyphonic Key Pressure (Aftertouch) message.
Base class that represents a Note On or a Note Off message.
Represents a Note Off message.
Represents a Note On message.
Represents a Pitch Bend Change message.
Represents a MIDI Port meta event.
Represents a Program Change message.
Represents a Program Name meta event.
Settings according to which MidiReader should read MIDI data.
Settings according to which MIDI data should be read.
Represents a Sequence Number meta event.
Represents a Sequence/Track Name meta event.
Represents a Sequencer Specific meta event.
Represents a Set Tempo meta event.
Constants related to Standard MIDI Files.
Represents a SMPTE Offset meta event.
Time division that represents subdivisions of a second, in a way consistent with
SMPTE and MIDI time code.
Represents Song Position Pointer event.
Represents Song Select event.
Represents a MIDI file system exclusive event.
Represents a system common event.
Represents a system real-time event.
Represents a Text meta event.
Time division that represents number of delta-time "ticks" which make up a quarter-note.
Represents a Time Signature meta event.
Represents Timing Clock event.
The exception that is thrown while writing a MIDI file when the Chunks
contains more than MaxValue track chunks which is the maximum allowed count for
chunks of this type.
Represents a track chunk of a standard MIDI file.
Represents Tune Request event.
The exception that is thrown when the reading engine encountered unexpected running
status.
The exception that is thrown when count of track chunks in a MIDI file differs from
the one declared in the header chunk of this file.
An action that should be done in case of unknown channel event.
The exception that is thrown when the reading engine encountered unknown channel event.
Represents an unknown chunk.
The exception that is thrown when the reading engine encountered a chunk with unknown ID.
The exception that is thrown when a MIDI file format is unknown.
Represents an unknown meta event.
Settings according to which MidiWriter should write MIDI data.
Settings according to which MIDI data should be written.
Enums
Specifies how reading engine should buffer incoming MIDI data before reading it.
The default is UseFixedSizeBuffer.
Defines format of a MIDI data bytes. Depending on this format the specific
MIDI data reading/writing rules can be applied.
Specifies how reading engine should react on End Of Track event encountered.
The default is Omit.
Specifies how reading engine should react on new track chunk if already read chunks
count greater or equals the one declared at the file header. The default is Read.
Specifies how reading engine should react on invalid value of a channel event's
parameter value. Valid values are 0-127 so, for example, 128 is the invalid one
and will be processed according to this policy. The default is Abort.
Specifies how reading engine should react on difference between actual
chunk's size and the one declared in its header. The default is Abort.
Specifies how reading engine should react on invalid value of a meta event's
parameter value. For example, 255
is the invalid value for the Scale
and will be processed according with this policy. The default is Abort.
Specifies how reading engine should react on invalid value of a system common event's
parameter value. For example, 255
is the invalid value for the Number
and will be processed according with this policy. The default is Abort.
The type of a MIDI event.
Format of a Standard MIDI file which specifies overall structure of the file.
MIDI time code component.
MIDI time code type (frames per second).
The type of a MIDI token.
Specifies how reading engine should react on missed End Of Track
event.
The default is Ignore.
Specifies how reading engine should react on missing of the header chunk
in the MIDI file. The default is Abort.
Specifies how reading engine should react on lack of bytes in the underlying stream
that are needed to read MIDI data (for example, DWORD requires 4 bytes available).
The default is Abort.
Specifies how reading engine should react on Note On
events with velocity of zero.
The default is NoteOff.
Specifies how reading engine should react on unexpected track chunks count. The default is
Ignore.
Instruction for reading engine which tells how unknown channel event should be handled.
Specifies how reading engine should react on unknown channel event. The default is
Abort.
Specifies how reading engine should react on chunk with unknown ID. The default
is ReadAsUnknownChunk.
Specifies how reading engine should react on file format which doesn't belong to
the MidiFileFormat.
Specifies how reading engine should read zero-length objects such as strings or arrays.
The default is ReadAsEmptyObject.
Delegates
Callback used to decode a string from the specified bytes during reading a text-based
meta event's text.