AudioCompressionManagerChangeSpeed Method (String, String, Int32) |
Changes the speed of audio file
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static void ChangeSpeed(
string inFile,
string outFile,
int persent
)
Public Shared Sub ChangeSpeed (
inFile As String,
outFile As String,
persent As Integer
)
public:
static void ChangeSpeed(
String^ inFile,
String^ outFile,
int persent
)
Parameters
- inFile
- Type: SystemString
input file - outFile
- Type: SystemString
output file - persent
- Type: SystemInt32
100 is normal speed, 50 is reduced by half, 200 is increased in 2 times
Examples This example shows simple using of ChangeSpeed method.
string inFile = @"in.wav";
string outFile = @"out.wav";
int persent = 50;
AudioCompressionManager.ChangeSpeed(inFile, outFile, persent);
See Also