C# 클래스 TagTool.Sounds.SoundExtractor

Provides methods for extracting and converting Wwise sound files.
파일 보기 프로젝트 열기: TheGuardians/TagTool

공개 메소드들

메소드 설명
ConvertFile ( string wavPath, string outPath ) : void

Converts an audio file from one format to another. The output format is determined based upon the file extension.

ExtractAndConvertXWMA ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void

Extracts an xWMA sound and converts it to another format.

ExtractRaw ( EndianReader reader, int offset, int size, string outPath ) : void

Extracts the raw contents of a sound to a file.

ExtractWwiseToOGG ( EndianReader reader, int offset, int size, string outPath ) : void

Extracts a Wwise OGG and converts it to a "regular" OGG file.

ExtractXMAToWAV ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void

Extracts an XMA sound and converts it to a WAV.

ExtractXWMAToWAV ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void

Extracts an xWMA sound and converts it to WAV.

비공개 메소드들

메소드 설명
RunProgramSilently ( string path, string arguments, string workingDirectory ) : void

Silently executes a program and waits for it to finish.

메소드 상세

ConvertFile() 공개 정적인 메소드

Converts an audio file from one format to another. The output format is determined based upon the file extension.
public static ConvertFile ( string wavPath, string outPath ) : void
wavPath string The path of the audio file to convert.
outPath string The path of the file to save to.
리턴 void

ExtractAndConvertXWMA() 공개 정적인 메소드

Extracts an xWMA sound and converts it to another format.
public static ExtractAndConvertXWMA ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void
reader EndianReader The stream to read from.
offset int The offset of the data to extract.
rifx RIFX The RIFX data for the sound.
outPath string The path of the file to save to. The file extension will determine the output format.
리턴 void

ExtractRaw() 공개 정적인 메소드

Extracts the raw contents of a sound to a file.
public static ExtractRaw ( EndianReader reader, int offset, int size, string outPath ) : void
reader EndianReader The stream to read from.
offset int The offset of the data to extract.
size int The size of the data to extract.
outPath string The path of the file to save to.
리턴 void

ExtractWwiseToOGG() 공개 정적인 메소드

Extracts a Wwise OGG and converts it to a "regular" OGG file.
public static ExtractWwiseToOGG ( EndianReader reader, int offset, int size, string outPath ) : void
reader EndianReader The stream to read from.
offset int The offset of the data to extract.
size int The size of the data to extract.
outPath string The path of the file to save to.
리턴 void

ExtractXMAToWAV() 공개 정적인 메소드

Extracts an XMA sound and converts it to a WAV.
public static ExtractXMAToWAV ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void
reader EndianReader The stream to read from.
offset int The offset of the data to extract.
rifx RIFX The RIFX data for the sound.
outPath string The path of the file to save to.
리턴 void

ExtractXWMAToWAV() 공개 정적인 메소드

Extracts an xWMA sound and converts it to WAV.
public static ExtractXWMAToWAV ( EndianReader reader, int offset, RIFX rifx, string outPath ) : void
reader EndianReader The stream to read from.
offset int The offset of the data to extract.
rifx RIFX The RIFX data for the sound.
outPath string The path of the file to save to.
리턴 void