MP3GainWrapper Class

A wrapper of MP3Gain.exe application.

Definition

Namespace: DevCase.ThirdParty.MP3Gain
Assembly: DevCase.net48.ThirdParty.MP3gain (in DevCase.net48.ThirdParty.MP3gain.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class MP3GainWrapper : IDisposable
Inheritance
Object    MP3GainWrapper
Implements
IDisposable

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed applications:

MP3Gain (mp3gain.exe)

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

MP3GainWrapper Initializes a new instance of the MP3GainWrapper class.

Properties

Exists Gets a value indicating whether the MP3Val.exe file Exists.
FilePath Gets the MP3Val.exe filepath.
Process Gets the MP3Gain.exeProcess instance.

Methods

ApplyChannelGain(FileInfo, MP3GainChannel, Int32, Boolean) Applies a volume gain change on the specified audio file.
ApplyChannelGain(String, MP3GainChannel, Int32, Boolean) Applies a volume gain change on the specified audio file.
ApplyGain(FileInfo, Int32, Boolean) Applies a volume gain change on the specified audio file.
ApplyGain(String, Int32, Boolean) Applies a volume gain change on the specified audio file.
Dispose Releases all the resources used by this instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
FileHasTagInfo(FileInfo) Determines whether the specified file contains an APEv2 tag containing MP3Gain information.
FileHasTagInfo(String) Determines whether the specified file contains an APEv2 tag containing MP3Gain information.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
SetGain(FileInfo, Int32, Boolean) Sets the global volume gain on the specified audio file.
SetGain(String, Int32, Boolean) Sets the global volume gain on the specified audio file.
ToString Returns a string that represents the current object.
(Inherited from Object)
UndoGain(FileInfo, Boolean) Undoes the gain changes made on the specified audio file.

The audio file must contain a valid APEv2 tag generated by MP3Gain.

UndoGain(String, Boolean) Undoes the gain changes made on the specified audio file.

The file must contain a valid APEv2 tag containing MP3Gain information.

Events

Exited Event raised when the MP3Gain.exe process has exited.
ProgressChanged Event raised when MP3Gain.exe progress changes.
Started Event raised when the MP3Gain.exe process has been started.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also