Used with BASS_ChannelSetFX(Int32, BASSFXType, Int32), BASS_FXSetParameters(Int32, Object) and BASS_FXGetParameters(Int32, Object) to retrieve and set the parameters of the DSP effect Pitch Shift using FFT.
Inheritance Hierarchy
Un4seen.Bass.AddOn.FxBASS_BFX_PITCHSHIFT
Namespace: Un4seen.Bass.AddOn.Fx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Syntax
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public sealed class BASS_BFX_PITCHSHIFT
The BASS_BFX_PITCHSHIFT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BASS_BFX_PITCHSHIFT |
Default constructor
|
![]() | BASS_BFX_PITCHSHIFT(Single, Single, Int64, Int64) |
Constructor already setting the members.
|
Fields
Name | Description | |
---|---|---|
![]() | fPitchShift |
A factor value which is between 0.5 (one octave down) and 2 (one octave up) (1 won't change the pitch, default).
|
![]() | fSemitones |
Semitones (0 won't change the pitch). Default = 0.
|
![]() | lChannel |
A BASSFXChan flag to define on which channels to apply the effect.
Default: -1 (BASS_BFX_CHANALL) - all channels. |
![]() | lFFTsize |
Defines the FFT frame size used for the processing. Typical values are 1024, 2048 (default) and 4096, max is 8192.
|
![]() | lOsamp |
Is the STFT oversampling factor which also determines the overlap between adjacent STFT frames. Default = 8.
|
Remarks
This effect uses FFT for its pitch shifting while maintaining duration.
See Also