Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer.Audio_Effects_PitchScale Method

Sets the parameters for the Pitch Scale effect.

Pascal
procedure Audio_Effects_PitchScale(Stream: Integer; ID: Integer; FFTSize: TVFFFTSize; Pitch: Integer; Quality: Integer; Separate: Boolean);
C++
__fastcall Audio_Effects_PitchScale(int Stream, int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
C#
public Audio_Effects_PitchScale(int Stream, int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
Visual Basic
Public Sub Audio_Effects_PitchScale(Stream As Integer, ID As Integer, FFTSize As TVFFFTSize, Pitch As Integer, Quality As Integer, Separate As Boolean)
Java
public Audio_Effects_PitchScale(int Stream, int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
IDL
Audio_Effects_PitchScale(int Stream, int ID, TVFFFTSize FFTSize, int Pitch, int Quality, Boolean Separate);
JavaScript
Audio_Effects_PitchScale
Parameters 
Description 
Stream: Integer 
Stream ID. 
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) 2013. All rights reserved.
What do you think about this topic? Send feedback!