UtilNAudioConvertFileToWave(String) Method
Converts an audio file to WAVE format and save it as a RawSourceWaveStream.
Namespace: DevCase.ThirdParty.NAudioAssembly: DevCase.net48.ThirdParty.NAudio (in DevCase.net48.ThirdParty.NAudio.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static RawSourceWaveStream ConvertFileToWave(
string inputFile
)
Public Shared Function ConvertFileToWave (
inputFile As String
) As RawSourceWaveStream
Dim inputFile As String
Dim returnValue As RawSourceWaveStream
returnValue = UtilNAudio.ConvertFileToWave(inputFile)
public:
static RawSourceWaveStream^ ConvertFileToWave(
String^ inputFile
)
static member ConvertFileToWave :
inputFile : string -> RawSourceWaveStream
No code example is currently available or this language may not be supported.
- inputFile String
-
The input audio file.
RawSourceWaveStream
The resulting
RawSourceWaveStream that contains the raw WAVE file.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
NAudio
This is a code example.
No code example is currently available or this language may not be supported.
Dim inputFile As String = "C:\input.mp3"
Dim outputFile As String = "C:\output.wav"
Using wave As RawSourceWaveStream = ConvertFileToWave(inputFile)
WaveFileWriter.CreateWaveFile(outputFile, wave)
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.