Class PitchShiftEffect
BassFx Pitch shift Effect.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Fx.dll
Syntax
public sealed class PitchShiftEffect : Effect<PitchShiftParameters>, IDisposable
Remarks
This effect uses FFT for its pitch shifting while maintaining duration.
Properties
Channels
A FXChannelFlags flag to define on which channels to apply the effect. Default: All
Declaration
public FXChannelFlags Channels { get; set; }
Property Value
FXChannelFlags
|
FFTFrameSize
Defines the FFT frame size used for the processing. Typical values are 1024, 2048 (default) and 4096, max is 8192.
Declaration
public long FFTFrameSize { get; set; }
Property Value
Int64
|
Remarks
It may be any value up to 8192 but it MUST be a power of 2.
OversamplingFactor
Is the STFT oversampling factor which also determines the overlap between adjacent STFT frames. Default = 8.
Declaration
public long OversamplingFactor { get; set; }
Property Value
Int64
|
Remarks
It should at least be 4 for moderate scaling ratios. A value of 32 is recommended for best quality (better quality = higher CPU usage).
PitchShift
A factor value which is between 0.5 (one octave down) and 2 (one octave up) (1 won't change the pitch, default).
Declaration
public double PitchShift { get; set; }
Property Value
Double
|
Semitones
Semitones (0 won't change the pitch). Default = 0.
Declaration
public double Semitones { get; set; }
Property Value
Double
|