BASS 2.4 extension and library

An extension and library for the BASS Audio Library.

File:
bass.lib, bass_next.dll
Version:
1.0
Author:
John Master

Contents

Details
Constants
Sub routines


Details

Please visit the BASS webpage, http://www.un4seen.com/, for more information. Parts of this document has been copied more or less directly from the BASS documentation.


Constants

Sample

Name
Description
BASS_SAMPLE_8BITS
BASS_SAMPLE_FLOAT
BASS_SAMPLE_MONO
BASS_SAMPLE_LOOP
BASS_SAMPLE_3D
BASS_SAMPLE_SOFTWARE
BASS_SAMPLE_MUTEMAX
BASS_SAMPLE_VAM
BASS_SAMPLE_FX
BASS_SAMPLE_OVER_VOL
BASS_SAMPLE_OVER_POS
BASS_SAMPLE_OVER_DIST

Stream

Name
Description
BASS_STREAM_PRESCAN
BASS_MP3_SETPOS
BASS_STREAM_AUTOFREE
BASS_STREAM_RESTRATE
BASS_STREAM_BLOCK
BASS_STREAM_DECODE
BASS_STREAM_STATUS

Music

Name
Description
BASS_MUSIC_FLOAT
BASS_MUSIC_MONO
BASS_MUSIC_LOOP
BASS_MUSIC_3D
BASS_MUSIC_FX
BASS_MUSIC_AUTOFREE
BASS_MUSIC_DECODE
BASS_MUSIC_PRESCAN
BASS_MUSIC_CALCLEN
BASS_MUSIC_RAMP
BASS_MUSIC_RAMPS
BASS_MUSIC_SURROUND
BASS_MUSIC_SURROUND2
BASS_MUSIC_FT2MOD
BASS_MUSIC_PT1MOD
BASS_MUSIC_NONINTER
BASS_MUSIC_SINCINTER
BASS_MUSIC_POSRESET
BASS_MUSIC_POSRESETEX
BASS_MUSIC_STOPBACK
BASS_MUSIC_NOSAMPLE

Channel active status

Name
Description
BASS_ACTIVE_STOPPED
BASS_ACTIVE_PLAYING
BASS_ACTIVE_STALLED
BASS_ACTIVE_PAUSED

Channel attributes

Name
Description
BASS_ATTRIB_FREQ
BASS_ATTRIB_VOL
BASS_ATTRIB_PAN
BASS_ATTRIB_EAXMIX
BASS_ATTRIB_NOBUFFER
BASS_ATTRIB_CPU
BASS_ATTRIB_SRC
BASS_ATTRIB_MUSIC_AMPLIFY
BASS_ATTRIB_MUSIC_PANSEP
BASS_ATTRIB_MUSIC_PSCALER
BASS_ATTRIB_MUSIC_BPM
BASS_ATTRIB_MUSIC_SPEED
BASS_ATTRIB_MUSIC_VOL_GLOBAL
BASS_ATTRIB_MUSIC_VOL_CHAN
BASS_ATTRIB_MUSIC_VOL_INST

DX8 phase

Name
Description
BASS_DX8_PHASE_NEG_180
BASS_DX8_PHASE_NEG_90
BASS_DX8_PHASE_ZERO
BASS_DX8_PHASE_90
BASS_DX8_PHASE_180

3D channel modes

Name
Description
BASS_3DMODE_NORMAL
BASS_3DMODE_RELATIVE
BASS_3DMODE_OFF

Software 3D mixing algorithms

Name
Description
BASS_3DALG_DEFAULT
BASS_3DALG_OFF
BASS_3DALG_FULL
BASS_3DALG_LIGHT

Effects

Name
Description
BASS_FX_DX8_CHORUS
BASS_FX_DX8_COMPRESSOR
BASS_FX_DX8_DISTORTION
BASS_FX_DX8_ECHO
BASS_FX_DX8_FLANGER
BASS_FX_DX8_GARGLE
BASS_FX_DX8_PARAMEQ
BASS_FX_DX8_REVERB

BOOL

Name
Description
TRUE
FALSE


Subroutines

Global

Name
Parameters
Brief description
function
BASS_Init
Init BASS.
procedure
BASS_Free
Terminate.
function
BASS_Ok
Returns true if BASS has been initialized.
procedure
BASS_SetVolume
vol#
Set volume.
function
BASS_GetVolume#
Get volume.
procedure
BASS_Pause
Pause.
procedure
BASS_Start
Start after pause.

Samples

Name
Parameters
Brief description
function
BASS_SampleLoad
filename$, chn_max, flags
Load sample from file.
procedure
BASS_SampleFree
handle
Free sample.
procedure
BASS_SampleStop
handle
Stop sample.
procedure
BASS_SamplePlay
handle, vol#
Play sample.
function
BASS_SampleGetChannel
handle, only_new
Creates/initializes a playback channel for a sample.

Music

Name
Parameters
Brief description
function
BASS_MusicLoad
filename$, flags
Load music file (MOD, XM, IT ...)
procedure
BASS_MusicFree
handle
Free music.

Streams

Name
Parameters
Brief description
function
BASS_StreamCreateFile
filename$, flags
Create stream from file (MP3, OGG, WAV ...).
function
BASS_StreamCreateURL
url$, flags
Create stream from URL.
procedure
BASS_StreamFree
handle
Free stream.

Channels

Name
Parameters
Brief description
procedure
BASS_ChannelPlay
handle, restart
Play channel.
procedure
BASS_ChannelStop
handle
Stop channel.
procedure
BASS_ChannelPause
handle
Pause channel.
function
BASS_ChannelIsActive
handle
Return status of channel.
function
BASS_ChannelFlags
handle, flags, mask
Modify and retrieve flags.
function
BASS_ChannelGetAttribute#
handle, attrib
Get attribute.
procedure
BASS_ChannelSetAttribute
handle, attrib, value#
Set attribute.
function
BASS_ChannelIsSliding
handle, attrib
Return true if an (or any) attribute is sliding.
procedure
BASS_ChannelSet3DAttributes
handle, mode, mind#, maxd#, iangle, oangle, outvol#
Set 3d attributes.
procedure
BASS_ChannelSet3DPosition
handle, &pos#[], &orient#[], &vel#[]
Set 3D position.
function
BASS_ChannelSetFX
handle, type, priority
Set an effect on a stream, MOD music.
procedure
BASS_ChannelRemoveFX
handle, fx
Remove effect.
procedure
BASS_ChannelSlideAttribute
handle, attrib, value#, tim
Slide channel's attribut from current value to another.

Effects

Name
Parameters
Brief description
procedure
BASS_FXReset
handle
Reset effect.
procedure
BASS_FXSetChorus
handle, wetDryMix#, depth#, feedback#, frequency#, waveform, delay#, phase
Set chorus effect.
procedure
BASS_FXSetCompressor
handle, gain#, attack#, release#, threshold#, ratio#, predelay#
Set compressor effect.
procedure
BASS_FXSetDistortion
handle, gain#, edge#, postEQCenterFreq#, postEQBandwidth#, preLowpassCutoff#
Set distortion effect.
procedure
BASS_FXSetEcho
handle, wetDryMix#, feedback#, leftDelay#, rightDelay#, panDelay
Set echo effect.
procedure
BASS_FXSetFlanger
handle, wetDryMix#, depth#, feedback#, freq#, waveform, delay#, phase
Set flanger effect.
procedure
BASS_FXSetGargle
handle, rateHz, waveShape
Set gargle effect.
procedure
BASS_FXSetParamEq
handle, cent#, bandwidth#, gain#
Set param eq effect.
procedure
BASS_FXSetReverb
handle, inGain#, reverbMix#, reverbTime#, highFreqRTRatio#
Set reverb effect.


Subroutine documentation

function BASS_Init ( )

Init BASS.

Return value
True on success, else false.

[ Back ]


procedure BASS_Free ( )

Terminate.

[ Back ]


function BASS_Ok ( )

Returns true if BASS has been initialized.

Return value
True if BASS has been initialized, else false.

[ Back ]


procedure BASS_SetVolume ( vol# )

Set volume.

Parameter
Mode
Description
vol
In
Volume in the range [0..1]

[ Back ]


function BASS_GetVolume# ( )

Get volume.

Return value
Volume in the range [0..1].

[ Back ]


procedure BASS_Pause ( )

Pause.

[ Back ]


procedure BASS_Start ( )

Start after pause.

[ Back ]


function BASS_SampleLoad ( filename$, chn_max, flags )

Load sample from file. The following flags can be OR:ed together: BASS_SAMPLE_FLOAT, BASS_SAMPLE_LOOP, BASS_SAMPLE_MONO, BASS_SAMPLE_SOFTWARE, BASS_SAMPLE_VAM, BASS_SAMPLE_3D, BASS_SAMPLE_MUTEMAX, BASS_SAMPLE_OVER_VOL, BASS_SAMPLE_OVER_POS, BASS_SAMPLE_OVER_DIST, BASS_UNICODE.

Parameter
Mode
Description
chn_max
In
Max number of sample instances that can be played simultaneously.
flags
In
Flags.

Return value
Sample handle.

[ Back ]


procedure BASS_SampleFree ( handle )

Free sample.

Parameter
Mode
Description
handle
In
Sample handle.

[ Back ]


procedure BASS_SampleStop ( handle )

Stop sample.

Parameter
Mode
Description
handle
In
Sample handle.

[ Back ]


procedure BASS_SamplePlay ( handle, vol# )

This function is specific for NaaLaa. You can also use BASS_SampleGetChannel and BASS_ChannelPlay to play samples.

Parameter
Mode
Description
handle
In
Sample handle.
vol
In
Volume in the range [0..1]

[ Back ]


function BASS_SampleGetChannel ( handle, only_new )

Creates/initializes a playback channel for a sample.

Parameter
Mode
Description
handle
In
Sample handle.
only_new
In
True if you don't want to use an already existing sample channel.

Return value
Channel handle.

[ Back ]


function BASS_MusicLoad ( filename$, flags )

Load music file. The following flags can be OR:ed together: BASS_SAMPLE_8BITS, BASS_SAMPLE_FLOAT, BASS_SAMPLE_MONO, BASS_SAMPLE_SOFTWARE, BASS_SAMPLE_3D, BASS_SAMPLE_FX, BASS_SAMPLE_LOOP, BASS_MUSIC_NONINTER, BASS_MUSIC_SINCINTER, BASS_MUSIC_RAMP, BASS_MUSIC_RAMPS, BASS_MUSIC_SURROUND, BASS_MUSIC_SURROUND2, BASS_MUSIC_FT2MOD, BASS_MUSIC_PT1MOD, BASS_MUSIC_POSRESET, BASS_MUSIC_POSRESETEX, BASS_MUSIC_STOPBACK, BASS_MUSIC_PRESCAN, BASS_MUSIC_NOSAMPLE, BASS_MUSIC_AUTOFREE, BASS_MUSIC_DECODE, BASS_UNICODE.

Parameter
Mode
Description
filename
In
Filename.
flags
In
Flags.

Return value
Music handle.

[ Back ]


procedure BASS_MusicFree ( handle )

Free music.

Parameter
Mode
Description
handle
In
Music handle.

[ Back ]


function BASS_StreamCreateFile ( filename$, flags )

Create stream from file. The following flags can be OR:ed together: BASS_SAMPLE_FLOAT, BASS_SAMPLE_MONO, BASS_SAMPLE_SOFTWARE, BASS_SAMPLE_3D, BASS_SAMPLE_LOOP, BASS_SAMPLE_FX, BASS_STREAM_PRESCAN, BASS_STREAM_AUTOFREE, BASS_STREAM_DECODE, BASS_ASYNCFILE, BASS_UNICODE.

Parameter
Mode
Description
filename
In
Filename.
flags
In
Flags.

Return value
Stream handle.

[ Back ]


function BASS_StreamCreateURL ( url$, flags )

Create stream from URL. The following flags can be OR:ed together: BASS_SAMPLE_FLOAT, BASS_SAMPLE_MOO, BASS_SAMPLE_SOFTWARE, BASS_SAMPLE_3D, BASS_SAMPLE_LOOP, BASS_SAMPLE_FX, BASS_STREAM_RESTRATE, BASS_STREAM_BLOCK, BASS_STREAM_STATUS, BASS_STREAM_AUTOFREE, BASS_STREAM_DECODE, BASS_UNICODE.

Parameter
Mode
Description
url
In
URL.
flags
In
Flags.

Return value
Stream handle.

[ Back ]


procedure BASS_StreamFree ( handle )

Free stream.

Parameter
Mode
Description
handle
In
Stream handle.

[ Back ]


procedure BASS_ChannelPlay ( handle, restart )

Play channel using a music or stream handle or a sample channel obtained with BASS_SampleGetChannel.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
restart
In
True to restart ongoing playback.

[ Back ]


procedure BASS_ChannelStop ( handle )

Stop channel.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.

[ Back ]


procedure BASS_ChannelPause ( handle )

Pause channel.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.

[ Back ]


function BASS_ChannelIsActive ( handle )

Returns BASS_ACTIVE_STOPPED, BASS_ACTIVE_PLAYING, BASS_ACTIVE_PAUSED or BASS_ACTIVE_STALLED.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.

Return value
Status of channel.

[ Back ]


function BASS_ChannelFlags ( handle, flags, mask )

These flags can be OR:ed together: BASS_SAMPLE_LOOP, BASS_STREAM_AUTOFREE, BASS_STREAM_RESTRATE, BASS_MUSIC_NONINTER, BASS_MUSIC_SINCINTER, BASS_MUSIC_RAMP, BASS_MUSIC_RAMPS, BASS_MUSIC_SURROUND, BASS_MUSIC_SURROUND2, BASS_MUSIC_FT2MOD, BASS_MUSIC_PT1MOD, BASS_MUSIC_POSRESET, BASS_MUSIC_POSRESETEX, BASS_MUSIC_STOPBACK

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
flags
In
A combination of these flags OR:ed together.
mask
In
The flags to modify.

Return value
Updated flags.

[ Back ]


function BASS_ChannelGetAttribute# ( handle, attrib )

The attribute can be one of the following: BASS_ATTRIB_EAXMIX, BASS_ATTRIB_CPU, BASS_ATTRIB_FREQ, BASS_ATTRIB_MUSIC_AMPLIFY, BASS_ATTRIB_MUSIC_BPM, BASS_ATTRIB_MUSIC_PANSEP, BASS_ATTRIB_MUSIC_PSCALER, BASS_ATTRIB_MUSIC_SPEED, BASS_ATTRIB_MUSIC_VOL_CHAN, BASS_ATTRIB_MUSIC_VOL_GLOBAL, BASS_ATTRIB_MUSIC_VOL_INST, BASS_ATTRIB_NOBUFFER, BASS_ATTRIB_PAN, BASS_ATTRIB_SRC, BASS_ATTRIB_VOL.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
attrib
In
Attribute.

Return value
Attribute

[ Back ]


procedure BASS_ChannelSetAttribute ( handle, attrib, value# )

The attribute can be one of the following: BASS_ATTRIB_EAXMIX, BASS_ATTRIB_CPU, BASS_ATTRIB_FREQ, BASS_ATTRIB_MUSIC_AMPLIFY, BASS_ATTRIB_MUSIC_BPM, BASS_ATTRIB_MUSIC_PANSEP, BASS_ATTRIB_MUSIC_PSCALER, BASS_ATTRIB_MUSIC_SPEED, BASS_ATTRIB_MUSIC_VOL_CHAN, BASS_ATTRIB_MUSIC_VOL_GLOBAL, BASS_ATTRIB_MUSIC_VOL_INST, BASS_ATTRIB_NOBUFFER, BASS_ATTRIB_PAN, BASS_ATTRIB_SRC, BASS_ATTRIB_VOL.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
attrib
In
Attribute.

[ Back ]


function BASS_ChannelIsSliding ( handle, attrib )

The attribute to check for sliding can be one of these (or 0 for any): BASS_ATTRIB_EAXMIX, BASS_ATTRIB_FREQ, BASS_ATTRIB_PAN, BASS_ATTRIB_VOL, BASS_ATTRIB_MUSIC_AMPLIFY, BASS_ATTRIB_MUSIC_BPM, BASS_ATTRIB_MUSIC_PANSEP, BASS_ATTRIB_MUSIC_PSCALER, BASS_ATTRIB_MUSIC_SPEED, BASS_ATTRIB_MUSIC_VOL_CHAN, BASS_ATTRIB_MUSIC_VOL_GLOBAL, BASS_ATTRIB_MUSIC_VOL_INST.

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
attrib
In
Attribute.

Return value

[ Back ]


procedure BASS_ChannelSet3DAttributes ( handle, mode, mind#, maxd#, iangle, oangle, outvol# )

The mode can by one of these flags or -1 to leave out: BASS_3DMODE_NORMAL, BASS_3DMODE_RELATIVE, BASS_3DMODE_OFF

Parameter
Mode
Description
handle
In
Handle to channel, music or stream.
mode
In
Mode.
mind
In
Minimum distance.
maxd
In
Maximum distance.
iangle
In
Angle of inside projection cone.
oangle
In
Angle of outside projection cone.
outvol
In
Delta-volume outside the projection cone.

[ Back ]


procedure BASS_ChannelSet3DPosition ( handle, &pos#[], &orient#[], &vel#[] )

Set 3D position.

Parameter
Mode
Description
Handle
In
to channel, music or stream.
pos
In
Position [x, y, z].
orient
In
Orientation [x, y, z].
vel
In
Velocity [x, y, z].

[ Back ]


function BASS_ChannelSetFX ( handle, type, priority )

The type can be one of these: BASS_FX_DX8_CHORUS, BASS_FX_DX8_COMPRESSOR, BASS_FX_DX8_DISTORTION, BASS_FX_DX8_ECHO, BASS_FX_DX8_FLANGER, BASS_FX_DX8_GARGLE, BASS_FX_DX8_PARAMEQ, BASS_FX_DX8_REVERB

Parameter
Mode
Description
handle
In
Handle to stream or MOD music.
type
In
Type of effect.
priority
In
Priority.

Return value

[ Back ]


procedure BASS_ChannelRemoveFX ( handle, fx )

Remove effect.

Parameter
Mode
Description
handle
In
Handle to stream or MOD music.
fx
In
Effect handle.

[ Back ]


procedure BASS_ChannelSlideAttribute ( handle, attrib, value#, tim )

The attribute can be one of these: BASS_ATTRIB_EAXMIX, BASS_ATTRIB_FREQ, BASS_ATTRIB_PAN, BASS_ATTRIB_VOL, BASS_ATTRIB_MUSIC_AMPLIFY, BASS_ATTRIB_MUSIC_BPM, BASS_ATTRIB_MUSIC_PANSEP, BASS_ATTRIB_MUSIC_PSCALER, BASS_ATTRIB_MUSIC_SPEED, BASS_ATTRIB_MUSIC_VOL_CHAN, BASS_ATTRIB_MUSIC_VOL_GLOBAL, BASS_ATTRIB_MUSIC_VOL_INST.

Parameter
Mode
Description
handle
In
Handle to stream or MOD music.
attrib
In
Attribute.
value
In
Value.
tim
In
Time in milliseconds.

[ Back ]


procedure BASS_FXReset ( handle )

Reset effect.

Parameter
Mode
Description
handle
In
Effect handle.

[ Back ]


procedure BASS_FXSetChorus ( handle, wetDryMix#, depth#, feedback#, frequency#, waveform, delay#, phase )

Set chorus effect.

Parameter
Mode
Description
handle
In
Effect handle.
wetDryMix
In
Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0 through 100 (all wet). The default value is 50.
depth
In
Percentage by which the delay time is modulated by the low-frequency oscillator (LFO). Must be in the range from 0 through 100. The default value is 10.
feedback
In
Percentage of output signal to feed back into the effect's input, in the range from -99 to 99. The default value is 25.
frequency
In
Frequency of the LFO, in the range from 0 to 10. The default value is 1.1.
waveform
In
Waveform of the LFO... 0 = triangle, 1 = sine. By default, the waveform is sine.
delay
In
Number of milliseconds the input is delayed before it is played back, in the range from 0 to 20. The default value is 16 ms.
phase
In
Phase differential between left and right LFOs, one of BASS_DX8_PHASE_NEG_180, BASS_DX8_PHASE_NEG_90, BASS_DX8_PHASE_ZERO, BASS_DX8_PHASE_90 and BASS_DX8_PHASE_180. The default value is BASS_DX8_PHASE_90.

[ Back ]


procedure BASS_FXSetCompressor ( handle, gain#, attack#, release#, threshold#, ratio#, predelay# )

Set compressor effect.

Parameter
Mode
Description
handle
In
Effect handle.
gain
In
Output gain of signal after compression, in the range from -60 to 60. The default value is 0 dB.
attack
In
Time before compression reaches its full value, in the range from 0.01 to 500. The default value is 10 ms.
release
In
Speed at which compression is stopped after input drops below threshold, in the range from 50 to 3000. The default value is 200 ms.
threshold
In
Point at which compression begins, in decibels, in the range from -60 to 0. The default value is -20 dB.
ratio
In
Compression ratio, in the range from 1 to 100. The default value is 3, which means 3:1 compression.
predelay
In
Time after threshold is reached before attack phase is started, in milliseconds, in the range from 0 to 4. The default value is 4 ms.

[ Back ]


procedure BASS_FXSetDistortion ( handle, gain#, edge#, postEQCenterFreq#, postEQBandwidth#, preLowpassCutoff# )

Set distortion effect.

Parameter
Mode
Description
handle
In
Effect handle.
gain
In
Amount of signal change after distortion, in the range from -60 through 0. The default value is -18 dB.
edge
In
Percentage of distortion intensity, in the range in the range from 0 through 100. The default value is 15 percent.
postEQCenterFreq
In
Center frequency of harmonic content addition, in the range from 100 through 8000. The default value is 2400 Hz.
postEQBandwidth
In
Width of frequency band that determines range of harmonic content addition, in the range from 100 through 8000. The default value is 2400 Hz.
preLowpassCutoff
In
Filter cutoff for high-frequency harmonics attenuation, in the range from 100 through 8000. The default value is 8000 Hz.

[ Back ]


procedure BASS_FXSetEcho ( handle, wetDryMix#, feedback#, leftDelay#, rightDelay#, panDelay )

Set echo effect.

Parameter
Mode
Description
handle
In
Effect handle.
wetDryMix
In
Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0 through 100 (all wet). The default value is 50.
feedback
In
Percentage of output fed back into input, in the range from 0 through 100. The default value is 50.
leftDelay
In
Delay for left channel, in milliseconds, in the range from 1 through 2000. The default value is 500 ms.
rightDelay
In
Delay for right channel, in milliseconds, in the range from 1 through 2000. The default value is 500 ms.
panDelay
In
Value that specifies whether to swap left and right delays with each successive echo. The default value is FALSE, meaning no swap.

[ Back ]


procedure BASS_FXSetFlanger ( handle, wetDryMix#, depth#, feedback#, freq#, waveform, delay#, phase )

Set flanger effect.

Parameter
Mode
Description
handle
In
Effect handle.
wetDryMix
In
Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0 through 100 (all wet). The default value is 50.
depth
In
Percentage by which the delay time is modulated by the low-frequency oscillator (LFO). Must be in the range from 0 through 100. The default value is 100.
feedback
In
Percentage of output signal to feed back into the effect's input, in the range from -99 to 99. The default value is -50.
freq
In
Frequency of the LFO, in the range from 0 to 10. The default value is 0.25.
waveform
In
Waveform of the LFO... 0 = triangle, 1 = sine. By default, the waveform is sine.
delay
In
Number of milliseconds the input is delayed before it is played back, in the range from 0 to 4. The default value is 2 ms.
phase
In
Phase differential between left and right LFOs, one of BASS_DX8_PHASE_NEG_180, BASS_DX8_PHASE_NEG_90, BASS_DX8_PHASE_ZERO, BASS_DX8_PHASE_90 and BASS_DX8_PHASE_180. The default value is BASS_DX8_PHASE_ZERO.

[ Back ]


procedure BASS_FXSetGargle ( handle, rateHz, waveShape )

Set gargle effect.

Parameter
Mode
Description
handle
In
Effect handle.
rateHz
In
Rate of modulation, in Hertz. Must be in the range from 1 through 1000. The default value is 20.
waveShape
In
Shape of the modulation waveform... 0 = triangle, 1 = square. By default, the waveform is triangle.

[ Back ]


procedure BASS_FXSetParamEq ( handle, cent#, bandwidth#, gain# )

Set param eq effect.

Parameter
Mode
Description
handle
In
Effect handle.
cent
In
Center frequency, in hertz.
bandwidth
In
Bandwidth, in semitones, in the range from 1 to 36. The default value is 12.
gain
In
Gain, in the range from -15 to 15. The default value is 0 dB.

[ Back ]


procedure BASS_FXSetReverb ( handle, inGain#, reverbMix#, reverbTime#, highFreqRTRatio# )

Set reverb effect.

Parameter
Mode
Description
handle
In
Effect handle.
inGain
In
Input gain of signal, in decibels (dB), in the range from -96 through 0. The default value is 0 dB.
reverbMix
In
Reverb mix, in dB, in the range from -96 through 0. The default value is 0 dB.
reverbTime
In
Reverb time, in milliseconds, in the range from 0.001 through 3000. The default value is 1000.
highFreqRTRatio
In
High-frequency reverb time ratio, in the range from 0.001 through 0.999. The default value is 0.001.

[ Back ]


Generated with NLDoc 20140929.