TBASS_SetEAXPreset

<< Click to Display Table of Contents >>

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

TBASS_SetEAXPreset

 

Description

 

Sets the type of EAX environment predefined parameters.

 

Syntax

 

n = TBASS_SetEAXPreset(PresetEnviron)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

PresetEnviron

Numeric

No

One of the preset environment key. See TBASS equates.

 

Remarks

 

The following table contains the predefined parameters. You can get the same result calling TBASS_SetEAXParameters with the following parameters:

Symbol

Params

%TBASS_EAX_ENVIRONMENT_GENERIC

(0.5, 1.493, 0.5)

%TBASS_EAX_ENVIRONMENT_PADDEDCELL

(0.25, 0.1, 0)

%TBASS_EAX_ENVIRONMENT_ROOM

(0.417, 0.4, 0.666)

%TBASS_EAX_ENVIRONMENT_BATHROOM

(0.653, 1.499, 0.166)

%TBASS_EAX_ENVIRONMENT_LIVINGROOM

(0.208, 0.478, 0)

%TBASS_EAX_ENVIRONMENT_STONEROOM

(0.5, 2.309, 0.888)

%TBASS_EAX_ENVIRONMENT_AUDITORIUM

(0.403, 4.279, 0.5)

%TBASS_EAX_ENVIRONMENT_CONCERTHALL

(0.5, 3.961, 0.5)

%TBASS_EAX_ENVIRONMENT_CAVE

(0.5, 2.886, 1.304)

%TBASS_EAX_ENVIRONMENT_ARENA

(0.361, 7.284, 0.332)

%TBASS_EAX_ENVIRONMENT_HANGAR

(0.5, 10, 0.3)

%TBASS_EAX_ENVIRONMENT_CARPETEDHALLWAY

(0.153, 0.259, 2)

%TBASS_EAX_ENVIRONMENT_HALLWAY

(0.361, 1.493, 0)

%TBASS_EAX_ENVIRONMENT_STONECORRIDOR

(0.444, 2.697, 0.638)

%TBASS_EAX_ENVIRONMENT_ALLEY

(0.25, 1.752, 0.776)

%TBASS_EAX_ENVIRONMENT_FOREST

(0.111, 3.145, 0.472)

%TBASS_EAX_ENVIRONMENT_CITY

(0.111, 2.767, 0.224)

%TBASS_EAX_ENVIRONMENT_MOUNTAINS

(0.194, 7.841, 0.472)

%TBASS_EAX_ENVIRONMENT_QUARRY

(1, 1.499, 0.5)

%TBASS_EAX_ENVIRONMENT_PLAIN

(0.097, 2.767, 0.224)

%TBASS_EAX_ENVIRONMENT_PARKINGLOT

(0.208, 1.652, 1.5)

%TBASS_EAX_ENVIRONMENT_SEWERPIPE

(0.652, 2.886, 0.25)

%TBASS_EAX_ENVIRONMENT_UNDERWATER

(1, 1.499, 0)

%TBASS_EAX_ENVIRONMENT_DRUGGED

(0.875, 8.392, 1.388)

%TBASS_EAX_ENVIRONMENT_DIZZY

(0.139, 17.234, 0.666)

%TBASS_EAX_ENVIRONMENT_PSYCHOTIC

(0.486, 7.563, 0.806)

 

Restrictions

 

See also

 

Examples