BASS.NET API for the Un4seen BASS Audio LibraryBASS_BFX_PITCHSHIFT ClassBASS.NET API for the Un4seen BASS Audio Library
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

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_PITCHSHIFT

Namespace: Un4seen.Bass.AddOn.Fx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public sealed class BASS_BFX_PITCHSHIFT

The BASS_BFX_PITCHSHIFT type exposes the following members.

Constructors

  NameDescription
Public methodBASS_BFX_PITCHSHIFT
Default constructor
Public methodBASS_BFX_PITCHSHIFT(Single, Single, Int64, Int64)
Constructor already setting the members.
Top
Fields

  NameDescription
Public fieldfPitchShift
A factor value which is between 0.5 (one octave down) and 2 (one octave up) (1 won't change the pitch, default).
Public fieldfSemitones
Semitones (0 won't change the pitch). Default = 0.
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect.

Default: -1 (BASS_BFX_CHANALL) - all channels.

Public fieldlFFTsize
Defines the FFT frame size used for the processing. Typical values are 1024, 2048 (default) and 4096, max is 8192.
Public fieldlOsamp
Is the STFT oversampling factor which also determines the overlap between adjacent STFT frames. Default = 8.
Top
Remarks

This effect uses FFT for its pitch shifting while maintaining duration.

See Also

Reference