BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_DISTORTION Class

BASS.NET API for the Un4seen BASS Audio Library
Used with BASS_ChannelSetFX(Int32, BASSFXType, Int32), BASS_FXSetParameters(Int32, IntPtr) and BASS_FXGetParameters(Int32, IntPtr) to retrieve and set the parameters of the DSP effect Distortion.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_DISTORTION

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public sealed class BASS_BFX_DISTORTION

The BASS_BFX_DISTORTION type exposes the following members.

Constructors

  NameDescription
Public methodBASS_BFX_DISTORTION
Default constructor
Public methodBASS_BFX_DISTORTION(Single, Single, Single, Single, Single)
Constructor already setting the members
Public methodBASS_BFX_DISTORTION(Single, Single, Single, Single, Single, BASSFXChan)
Constructor already setting the members
Top
Methods

  NameDescription
Public methodPreset_HardDistortion
Sets the instance members to a preset.
Public methodPreset_MediumDistortion
Sets the instance members to a preset.
Public methodPreset_VeryHardDistortion
Sets the instance members to a preset.
Top
Fields

  NameDescription
Public fieldfDrive
Distortion drive (0...5). Default = 0.
Public fieldfDryMix
Dry (unaffected) signal mix (-5...+5). Default = 0.
Public fieldfFeedback
Feedback (-1...+1). Default = 0.
Public fieldfVolume
Distortion volume (0...+2). Default = 0.
Public fieldfWetMix
Wet (affected) signal mix (-5...+5). Default = 0.
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect.

Default: -1 (BASS_BFX_CHANALL) - all channels.

Top
Remarks

Similar to Pre/Post Gain and Drive controls on amps. They were first introduced as a trick to added color to a guitar's tone. Usually produced back then by turning the amp all the way up, or slightly pulling out a tube from its socket. These tones are now today referred to as Overdrives. Today, there are an almost infinite variety of these effects, and they range in 3 classes: Distortions, Fuzz, and Overdrive. One common feature to mostly all of these types of pedals is a volume and drive (also noted as distortion, fuzz, gain, ...etc.). Overdrives are usually a sustain and volume boosting pedal. Used by more traditional rock and country bands. Next are the Distortions, which range from punk style to death metal screams. They are similar to Overdrives, but have more buzzing quality to them. Finally, there are the Fuzzes which are more distorted than distortions, but are more mellow and compressed sounding. Many pedals can be confused within these names, and some may be named other than what they are. Towards the end of this era, the back-to-back diode pair became popular as a technique to provide soft clipping (with germanium diodes) and hard clipping (with silicon diodes). Today, overdrive effects usually means soft clipping, where gain is reduced beyond the clipping point, while distortion usually means hard clipping, where the level is fixed beyond the clipping point. Distortion is a little harder sound, good for rock, while overdrive gives a more natural sound.

The fDrive controls the amount of overdrive. The fVolume to balance the effect volume with the bypassed level. It can also be used to boost the signal for solos. The fDryMix is the volume of input signal and the fWetMix is the volume of distorted signal. The fFeedback sets feedback of distortion.

See Also

Reference