Click or drag to resize
AudioCompressionManagerCopy Method (String, String, Int32, Int32)
Copy part audio data from in file to out file

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public static void Copy(
	string inFile,
	string outFile,
	int skipSeconds,
	int readSeconds
)

Parameters

inFile
Type: SystemString
input file
outFile
Type: SystemString
output file
skipSeconds
Type: SystemInt32
skip seconds
readSeconds
Type: SystemInt32
read seconds
Examples
This example shows simple using of Copy method.
string inFile = "in.wav";
string outFile = "out.wav";
int skipSeconds = 1;
int readSeconds = 2;
AudioCompressionManager.Copy(inFile, outFile, skipSeconds, readSeconds);
See Also