Skip to content

WavFileConverter<TSource>.Convert Method

Overloads

Name Description
Convert(TSource) Converts the given source file to the target format.
Convert(IOFile, UInt32) Converts the specified source file to a WAV file with the given sample rate.
Convert(TSource, UInt32) Converts the specified strongly-typed source file to a WAV file with the given sample rate.

Convert(TSource)

Converts the given source file to the target format.

public sealed override WavFile Convert(TSource source);

View source

Parameters

Name Type Description
source TSource The source file to convert.

Returns

WavFile

The converted file.

Convert(IOFile, UInt32)

Converts the specified source file to a WAV file with the given sample rate.

public new WavFile Convert(IOFile source, uint sampleRateHz = 44100);

View source

Parameters

Name Type Description
source IOFile The source file to convert.
sampleRateHz UInt32 The sample rate in Hz for the output WAV file.

Returns

WavFile

The converted WAV file.

Convert(TSource, UInt32)

Converts the specified strongly-typed source file to a WAV file with the given sample rate.

public new abstract WavFile Convert(TSource source, uint sampleRateHz = 44100);

Parameters

Name Type Description
source TSource The source file to convert.
sampleRateHz UInt32 The sample rate in Hz for the output WAV file.

Returns

WavFile

The converted WAV file.