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
NamestringThe name of the song.
EngineerstringThe engineer who worked on the sound bank file.
ArtiststringThe artist of the MIDI file.
AlbumstringThe album of the song.
GenrestringThe genre of the song.
PictureArraySegment<byte>?The image for the file (album cover).
CommentstringThe comment of the file.
CreationDateDateTime?The creation date of the file.
CopyrightstringThe copyright of the file.
InfoEncodingstringThe encoding of the RMIDI info.
MidiEncodingstringThe encoding of the MIDI file's text messages.
SoftwarestringThe software used to write the file.
SubjectstringThe subject of the file.
Properties
Album
The album of the song.
public string? Album { get; init; }
Property Value
Artist
The artist of the MIDI file.
public string? Artist { get; init; }
Property Value
Comment
The comment of the file.
public string? Comment { get; init; }
Property Value
Copyright
The copyright of the file.
public string? Copyright { get; init; }
Property Value
CreationDate
The creation date of the file.
public DateTime? CreationDate { get; init; }
Property Value
Engineer
The engineer who worked on the sound bank file.
public string? Engineer { get; init; }
Property Value
Genre
The genre of the song.
public string? Genre { get; init; }
Property Value
InfoEncoding
The encoding of the RMIDI info.
public string? InfoEncoding { get; init; }
Property Value
MidiEncoding
The encoding of the MIDI file's text messages.
public string? MidiEncoding { get; init; }
Property Value
Name
The name of the song.
public string? Name { get; init; }
Property Value
Picture
The image for the file (album cover).
public ArraySegment<byte>? Picture { get; init; }
Property Value
Software
The software used to write the file.
public string? Software { get; init; }
Property Value
Subject
The subject of the file.
public string? Subject { get; init; }
Property Value
Methods
Get(Key)
public object? Get(RMidi.Info.Key key)