VisioForge Video Capture SDK (Delphi / ActiveX)
ContentsIndexHome
PreviousUpNext
TVFVideoCapture.Audio_Effects_PitchScale Method

Sets the parameters for the Pitch Scale effect.

Pascal
procedure Audio_Effects_PitchScale(ID: Integer; FFTSize: TVFFFTSize Enumeration; Pitch: Integer; Quality: Integer; Separate: Boolean);
C++
__fastcall Audio_Effects_PitchScale(int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
C#
public Audio_Effects_PitchScale(int ID, TVFFFTSize Enumeration FFTSize, int Pitch, int Quality, Boolean Separate);
Visual Basic
Public Sub Audio_Effects_PitchScale(ID As Integer, FFTSize As TVFFFTSize, Pitch As Integer, Quality As Integer, Separate As Boolean)
Java
public Audio_Effects_PitchScale(int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
IDL
Audio_Effects_PitchScale(int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
JavaScript
Audio_Effects_PitchScale
PHP
public Audio_Effects_PitchScale($ID, TVFFFTSize $FFTSize, $Pitch, $Quality, Boolean $Separate);
Parameters 
Description 
ID: Integer 
Effect ID. 
FFTSize: TVFFFTSize 
Specifies the FFTSize that will be used. The size must be at last 256. A value of 1024 is recommended. 
Pitch: Integer 
Specifies the pitch of a channel. Default value is 1000 which means that the pitch isn't changed. 
Quality: Integer 
Specifies the quality of the filter. Large values require a lot of CPU time. A value of 8-32 is recommended.  
Separate: Boolean 
Enables or Disables separate amplification. If Enabled every channel will be amplified by it's own amplification value. If Disabled every channel will be amplified with the amplification value of channel 0.  

Component to increase/decrease the pitch of an audio buffer without changing the tempo.

Copyright (c) 2012. All rights reserved.
What do you think about this topic? Send feedback!