TBASS_SetEAXParameters

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TBASS (Sound Module) > TBASS 3D and EAX >

TBASS_SetEAXParameters

 

Description

 

Sets the type of EAX environment and it's parameters.

 

Syntax

 

n = TBASS_SetEAXParameters(Environ, Volume, Decay, Damp)

 

Returns

 

Number

If successful, then %TBASS_TRUE is returned, else %TBASS_FALSE is returned. Use TBASS_ErrorGetCode to get the error code.

 

Parameters

 

Name

Type

Optional

Meaning

Environ

Numeric

No

One of the preset environment key. See TBASS equates.

Volume

Numeric

No

The volume of the reverb

0.0 (off)

1.0 (max)

less than 0.0 = leave current.

Decay

Numeric

No

The time in seconds it takes the reverb to diminish by 60dB

0.1 (min)

20.0 (max)

less than 0.0 = leave current.

Damp

Numeric

No

The damping, high or low frequencies decay faster

0.0 = high decays quickest

1.0 = low/high decay equally

2.0 = low decays quickest

less than 0.0 = leave current.

 

Remarks

 

Restrictions

 

See also

 

Examples