Class MIDIInfo
- Namespace
- VisioForge.Core.Types.MediaPlayer
- Assembly
- VisioForge.Core.dll
Contains metadata and properties extracted from MIDI (Musical Instrument Digital Interface) files.
public class MIDIInfoInheritance
Inherited Members
Remarks
This class represents information embedded in MIDI files, including standard metadata fields like title, author, and copyright, as well as extended metadata for multimedia content. MIDI files can contain various text events and meta-events that provide information about the composition, performance instructions, and related multimedia resources.
The URL fields support enhanced MIDI specifications that allow linking to external resources such as logos, watermarks, and additional information. This is particularly useful for karaoke applications and multimedia presentations.
Properties
AuthorName
Gets or sets the author name from the MIDI file metadata.
public string AuthorName { get; set; }Property Value
Remarks
This is typically extracted from MIDI text events or meta-events that identify the author.
BaseURL
Gets or sets the base URL for related web content.
public string BaseURL { get; set; }Property Value
Remarks
This URL can be used to resolve relative paths for logos, watermarks, and other linked resources in enhanced MIDI files.
Copyright
Gets or sets the copyright information for the MIDI file.
public string Copyright { get; set; }Property Value
Remarks
This is extracted from the MIDI copyright meta-event and should be displayed or honored according to copyright laws and licensing agreements.
Description
Gets or sets a textual description of the MIDI content.
public string Description { get; set; }Property Value
Remarks
This may include performance notes, genre information, or other descriptive text embedded in the MIDI file.
LogoIconURL
Gets or sets the URL to a small icon version of the logo.
public string LogoIconURL { get; set; }Property Value
Remarks
This provides a smaller, icon-sized version of the logo suitable for display in constrained spaces like title bars or taskbars.
LogoURL
Gets or sets the URL to the logo image associated with the MIDI content.
public string LogoURL { get; set; }Property Value
Remarks
Typically used in karaoke applications to display the music producer's or distributor's logo during playback.
MoreInfoBannerImage
Gets or sets the URL or path to the banner image for additional information.
public string MoreInfoBannerImage { get; set; }Property Value
Remarks
This banner is typically used in conjunction with MoreInfoURL and MoreInfoText to create clickable promotional or informational elements.
MoreInfoBannerURL
Gets or sets the URL that the information banner should link to.
public string MoreInfoBannerURL { get; set; }Property Value
Remarks
This allows the banner image to function as a clickable link to promotional or informational content.
MoreInfoText
Gets or sets additional descriptive text providing more information about the content.
public string MoreInfoText { get; set; }Property Value
Remarks
This can include any supplementary text such as liner notes, trivia, lyrics credits, or promotional messages that enhance the user's understanding or appreciation of the content.
MoreInfoURL
Gets or sets the URL to additional information about the MIDI content.
public string MoreInfoURL { get; set; }Property Value
Remarks
Users can follow this link to learn more about the music, purchase related content, or visit the artist's website.
Rating
Gets or sets the content rating of the MIDI file.
public string Rating { get; set; }Property Value
Remarks
This field is typically used in karaoke and multimedia MIDI files to indicate age appropriateness or content advisory information.
Title
Gets or sets the title of the MIDI composition.
public string Title { get; set; }Property Value
Remarks
The title is usually stored in the MIDI file's sequence/track name text event. For karaoke files, this typically represents the song name.
WatermarkURL
Gets or sets the URL to the watermark image to be displayed during playback.
public string WatermarkURL { get; set; }Property Value
Remarks
Watermarks are typically semi-transparent images displayed over the content to identify the source or rights holder during playback.
Methods
ToString()
Returns a formatted string representation of all MIDI metadata fields.
public string ToString()Returns
- string
-
A multi-line string containing all metadata fields with their values, formatted as "FieldName: Value" on separate lines.