Class RMidi.Info

Namespace
SpessaSharp.MIDI
Assembly
SpessaSharp.dll

Info type represents metadata for an RMIDI file.

public sealed record RMidi.Info : IEquatable<RMidi.Info>
Inheritance
RMidi.Info
Implements
Inherited Members

Constructors

Info(string?, string?, string?, string?, string?, ArraySegment<byte>?, string?, DateTime?, string?, string?, string?, string?, string?)

Info type represents metadata for an RMIDI file.

public Info(string? Name = null, string? Engineer = null, string? Artist = null, string? Album = null, string? Genre = null, ArraySegment<byte>? Picture = null, string? Comment = null, DateTime? CreationDate = null, string? Copyright = null, string? InfoEncoding = null, string? MidiEncoding = null, string? Software = null, string? Subject = null)

Parameters

Name string

The name of the song.

Engineer string

The engineer who worked on the sound bank file.

Artist string

The artist of the MIDI file.

Album string

The album of the song.

Genre string

The genre of the song.

Picture ArraySegment<byte>?

The image for the file (album cover).

Comment string

The comment of the file.

CreationDate DateTime?

The creation date of the file.

Copyright string

The copyright of the file.

InfoEncoding string

The encoding of the RMIDI info.

MidiEncoding string

The encoding of the MIDI file's text messages.

Software string

The software used to write the file.

Subject string

The subject of the file.

Properties

Album

The album of the song.

public string? Album { get; init; }

Property Value

string

Artist

The artist of the MIDI file.

public string? Artist { get; init; }

Property Value

string

Comment

The comment of the file.

public string? Comment { get; init; }

Property Value

string

The copyright of the file.

public string? Copyright { get; init; }

Property Value

string

CreationDate

The creation date of the file.

public DateTime? CreationDate { get; init; }

Property Value

DateTime?

Engineer

The engineer who worked on the sound bank file.

public string? Engineer { get; init; }

Property Value

string

Genre

The genre of the song.

public string? Genre { get; init; }

Property Value

string

InfoEncoding

The encoding of the RMIDI info.

public string? InfoEncoding { get; init; }

Property Value

string

MidiEncoding

The encoding of the MIDI file's text messages.

public string? MidiEncoding { get; init; }

Property Value

string

Name

The name of the song.

public string? Name { get; init; }

Property Value

string

Picture

The image for the file (album cover).

public ArraySegment<byte>? Picture { get; init; }

Property Value

ArraySegment<byte>?

Software

The software used to write the file.

public string? Software { get; init; }

Property Value

string

Subject

The subject of the file.

public string? Subject { get; init; }

Property Value

string

Methods

Get(Key)

public object? Get(RMidi.Info.Key key)

Parameters

key RMidi.Info.Key

Returns

object