MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
MPfm.Sound Namespace
NamespacesMPfm.Sound
The MPfm.Sound assembly contains the Bass.NET wrapper classes, the AudioFile wrapper class for reading and writing metadata in most audio file formats, the AudioTools class for calculating audio data, the PeakFile class for reading and writing peak files, and more.
Declaration Syntax
C#Visual Basic
namespace MPfm.Sound
Namespace MPfm.Sound
Types
All TypesClassesEnumerationsDelegates
IconTypeDescription
APEMetadata
Reads and writes APEv1/APEv2 metadata for multiple audio formats. The only difference between APEv1 and APEv2 is that APEv2 has a header and APEv1 has no header. APEv2 specifications: http://wiki.hydrogenaudio.org/index.php?title=APEv2_specification

APETag
Data structure for APEv1 and APEv2 tags. The property names are based on the APE keys. For more information about the APE keys, go to http://wiki.hydrogenaudio.org/index.php?title=APE_key.

APETagNotFoundException
Exception raised when no APEv1/APEv2 tags have been found.

APETagVersion
Defines the APE tag version.

AudioFile
The AudioFile class contains the metadata of an audio file. It can refresh the metadata by reading the tags inside the audio file or from the database (using MPfm.Library).

AudioFileFormat
Defines the supported audio file formats for MPfm.

AudioFileFormatExtension
Defines an audio file format and its file extensions.

AudioFileFormatExtensions
List of audio file formats and their file extensions.

AudioTools
This static class contains different methods for manipulating audio.

ChannelType
Defines the channel type.

ConvertAudio
This static class contains methods for converting audio position/length values into different formats.

ID3v2Metadata
Reads and writes ID3v2 metadata for multiple audio formats. ID3v2 specifications: http://www.id3.org/id3v2.4.0-structure

ID3v2Tag
Data structure for ID3v2 tags.

PeakFile
The PeakFile class can generate peak files asynchronously using multiple threads with Reactive Extensions. It is also cancellable. Use the ProcessData event to get the progress.

PeakFileCorruptedException
This Exception class is raised when the peak file is corrupted. Related to the PeakFile class.

PeakFileDoneData
Defines the data used with the OnProcessDone event (actually nothing).

PeakFileFormatIncompatibleException
This Exception class is raised when the peak file is incompatible. Related to the PeakFile class.

PeakFileProgressData
Defines the progress data used with the OnProcessData event.

PeakFileStartedData
Defines the data used with the OnProcessStarted event.

PeakInfo
Peak information (includes its original position in the WaveDataMinMax array).

Playlist
Defines a playlist to be used with the Player.

PlaylistFileFormat
Defines the supported playlist file formats for MPfm.

PlaylistItem
Defines a playlist item to be used with the Player.

PlaylistTools
This static class contains useful methods for loading and saving playlists.

PeakFile..::..ProcessData
Delegate for the OnProcessData event.

PeakFile..::..ProcessDone
Delegate for the OnProcessDone event.

PeakFile..::..ProcessStarted
Delegate for the OnProcessStarted event.

SV7Metadata
Reads SV7 metadata for MPC (MusePack) audio files. SV7 specifications: http://trac.musepack.net/trac/wiki/SV7Specification

SV7Tag
Data structure for SV7/MPC tags. This is a older MusePack format (earlier than 2009).

SV7TagNotFoundException
Exception raised when no SV7 tags have been found.

SV8Metadata
Reads SV8 metadata for MPC (MusePack) audio files. SV8 specifications: http://trac.musepack.net/trac/wiki/SV8Specification

SV8Tag
Data structure for SV8/MPC tags.

SV8TagNotFoundException
Exception raised when no SV8 tags have been found.

WaveDataMinMax
Structure of data representing the different min, max of different audio channels (left, right) and a mix of both channels (mix).

XingInfoHeaderData
Data structure containing information from a Xing/Info header.

XingInfoHeaderReader
Reads the Xing/Info header of a MP3 file to extract information. Xing/Info header specifications: http://gabriel.mp3-tech.org/mp3infotag.html

XingInfoHeaderStatus
List of status labels used with XingInfoHeaderData to indicate if the Xing/Info header was loaded successfully.