diff --git a/Engine/source/T3D/assets/SoundAsset.cpp b/Engine/source/T3D/assets/SoundAsset.cpp index e8b6d3cdb..f3a29cc8a 100644 --- a/Engine/source/T3D/assets/SoundAsset.cpp +++ b/Engine/source/T3D/assets/SoundAsset.cpp @@ -173,7 +173,8 @@ SoundAsset::SoundAsset() mProfileDesc.mPriority = 1.0f; mProfileDesc.mSourceGroup = NULL; mProfileDesc.mFadeInEase = EaseF(); - mProfileDesc.mReverb = SFXSoundReverbProperties(); + mProfileDesc.mSourceGroup = dynamic_cast(Sim::findObject("AudioChannelMaster")); + dMemset(mProfileDesc.mParameters, 0, sizeof(mProfileDesc.mParameters)); mIsPlaylist = false; diff --git a/Engine/source/sfx/openal/sfxALDevice.cpp b/Engine/source/sfx/openal/sfxALDevice.cpp index 306b98659..6a090fb09 100644 --- a/Engine/source/sfx/openal/sfxALDevice.cpp +++ b/Engine/source/sfx/openal/sfxALDevice.cpp @@ -208,7 +208,10 @@ SFXALDevice::SFXALDevice(U32 providerIndex) mDistanceModel(SFXDistanceModelLinear), mDistanceFactor(1.0f), mRolloffFactor(1.0f), - mUserRolloffFactor(1.0f) + mUserRolloffFactor(1.0f), + mHasEFX(false), + mEffect(0), + mAuxSlot(0) { SFXProvider* p = SFXSystem::getProvider(providerIndex); @@ -282,7 +285,7 @@ SFXALDevice::SFXALDevice(U32 providerIndex) #undef LOAD_PROC // generate our auxiliary slot for the effects. - // alGenAuxiliaryEffectSlots(1, &mAuxSlot); + alGenAuxiliaryEffectSlots(1, &mAuxSlot); } // --- Device frequency --- @@ -309,6 +312,12 @@ SFXALDevice::~SFXALDevice() { _releaseAllResources(); + if (alIsEffect(mEffect)) + { + alDeleteAuxiliaryEffectSlots(1, &mAuxSlot); + alDeleteEffects(1, &mEffect); + } + ///cleanup of effects ends alcMakeContextCurrent( NULL ); alcDestroyContext( mContext ); @@ -449,6 +458,90 @@ void SFXALDevice::setDistanceModel( SFXDistanceModel model ) //----------------------------------------------------------------------------- +void SFXALDevice::setReverb(const SFXReverbProperties& r) +{ + if (!(mCaps & CAPS_Reverb)) + return; + + ALenum err; + + /* Clear error state. */ + alGetError(); + + if (alIsEffect(mEffect)) + alDeleteEffects(1, &mEffect); + + /* Create the effect object and check if we can do EAX reverb. */ + alGenEffects(1, &mEffect); + alEffecti(mEffect, AL_EFFECT_TYPE, AL_EFFECT_EAXREVERB); + err = alGetError(); + + // Map your engine's properties to EFX parameters. + // Using EAX Reverb as an example: + if (err == AL_NO_ERROR) + { + alEffectf(mEffect, AL_EAXREVERB_DENSITY, r.flDensity); + alEffectf(mEffect, AL_EAXREVERB_DIFFUSION, r.flDiffusion); + alEffectf(mEffect, AL_EAXREVERB_GAIN, r.flGain); + alEffectf(mEffect, AL_EAXREVERB_GAINHF, r.flGainHF); + alEffectf(mEffect, AL_EAXREVERB_GAINLF, r.flGainLF); + alEffectf(mEffect, AL_EAXREVERB_DECAY_TIME, r.flDecayTime); + alEffectf(mEffect, AL_EAXREVERB_DECAY_HFRATIO, r.flDecayHFRatio); + alEffectf(mEffect, AL_EAXREVERB_DECAY_LFRATIO, r.flDecayLFRatio); + + alEffectf(mEffect, AL_EAXREVERB_REFLECTIONS_GAIN, r.flReflectionsGain); + alEffectf(mEffect, AL_EAXREVERB_REFLECTIONS_DELAY, r.flReflectionsDelay); + alEffectfv(mEffect, AL_EAXREVERB_REFLECTIONS_PAN, r.flReflectionsPan); + + alEffectf(mEffect, AL_EAXREVERB_LATE_REVERB_GAIN, r.flLateReverbGain); + alEffectf(mEffect, AL_EAXREVERB_LATE_REVERB_DELAY, r.flLateReverbDelay); + alEffectfv(mEffect, AL_EAXREVERB_LATE_REVERB_PAN, r.flLateReverbPan); + + alEffectf(mEffect, AL_EAXREVERB_ECHO_TIME, r.flEchoTime); + alEffectf(mEffect, AL_EAXREVERB_ECHO_DEPTH, r.flEchoDepth); + alEffectf(mEffect, AL_EAXREVERB_MODULATION_TIME, r.flModulationTime); + alEffectf(mEffect, AL_EAXREVERB_MODULATION_DEPTH, r.flModulationDepth); + + alEffectf(mEffect, AL_EAXREVERB_AIR_ABSORPTION_GAINHF, r.flAirAbsorptionGainHF); + alEffectf(mEffect, AL_EAXREVERB_HFREFERENCE, r.flHFReference); + alEffectf(mEffect, AL_EAXREVERB_LFREFERENCE, r.flLFReference); + alEffectf(mEffect, AL_EAXREVERB_ROOM_ROLLOFF_FACTOR, r.flRoomRolloffFactor); + alEffecti(mEffect, AL_EAXREVERB_DECAY_HFLIMIT, r.iDecayHFLimit); + } + else + { + alEffecti(mEffect, AL_EFFECT_TYPE, AL_EFFECT_REVERB); + + alEffectf(mEffect, AL_REVERB_DENSITY, r.flDensity); + alEffectf(mEffect, AL_REVERB_DIFFUSION, r.flDiffusion); + alEffectf(mEffect, AL_REVERB_GAIN, r.flGain); + alEffectf(mEffect, AL_REVERB_GAINHF, r.flGainHF); + alEffectf(mEffect, AL_REVERB_DECAY_TIME, r.flDecayTime); + alEffectf(mEffect, AL_REVERB_DECAY_HFRATIO, r.flDecayHFRatio); + alEffectf(mEffect, AL_REVERB_REFLECTIONS_GAIN, r.flReflectionsGain); + alEffectf(mEffect, AL_REVERB_REFLECTIONS_DELAY, r.flReflectionsDelay); + alEffectf(mEffect, AL_REVERB_LATE_REVERB_GAIN, r.flLateReverbGain); + alEffectf(mEffect, AL_REVERB_LATE_REVERB_DELAY, r.flLateReverbDelay); + alEffectf(mEffect, AL_REVERB_AIR_ABSORPTION_GAINHF, r.flAirAbsorptionGainHF); + alEffectf(mEffect, AL_REVERB_ROOM_ROLLOFF_FACTOR, r.flRoomRolloffFactor); + alEffecti(mEffect, AL_REVERB_DECAY_HFLIMIT, r.iDecayHFLimit); + } + + err = alGetError(); + if (err != AL_NO_ERROR) + { + if (alIsEffect(mEffect)) + alDeleteEffects(1, &mEffect); + } + else + { + // Bind updated effect to slot + alAuxiliaryEffectSloti(mAuxSlot, AL_EFFECTSLOT_EFFECT, (ALint)mEffect); + } +} + +//----------------------------------------------------------------------------- + void SFXALDevice::setDopplerFactor( F32 factor ) { alDopplerFactor( factor ); diff --git a/Engine/source/sfx/openal/sfxALDevice.h b/Engine/source/sfx/openal/sfxALDevice.h index 92af85f4b..7de1e95e1 100644 --- a/Engine/source/sfx/openal/sfxALDevice.h +++ b/Engine/source/sfx/openal/sfxALDevice.h @@ -80,6 +80,10 @@ class SFXALDevice : public SFXDevice F32 mDistanceFactor; F32 mRolloffFactor; F32 mUserRolloffFactor; + + ALuint mEffect; + ALuint mAuxSlot; + bool mHasEFX; void _setRolloffFactor( F32 factor ); @@ -91,9 +95,12 @@ class SFXALDevice : public SFXDevice void setListener( U32 index, const SFXListenerProperties& listener ) override; void setDistanceModel( SFXDistanceModel model ) override; void setDopplerFactor( F32 factor ) override; + void setReverb(const SFXReverbProperties& reverb) override; void setRolloffFactor( F32 factor ) override; void resetReverb() override {} void setSpeedOfSound(F32 speedOfSound) override; + + ALuint getDeviceAuxSlot() { return mAuxSlot; } }; #endif // _SFXALDEVICE_H_ diff --git a/Engine/source/sfx/openal/sfxALVoice.cpp b/Engine/source/sfx/openal/sfxALVoice.cpp index 1894db50b..8bfbe2d83 100644 --- a/Engine/source/sfx/openal/sfxALVoice.cpp +++ b/Engine/source/sfx/openal/sfxALVoice.cpp @@ -60,6 +60,13 @@ SFXALVoice* SFXALVoice::create( SFXALDevice* device, SFXALBuffer *buffer ) SFXALVoice *voice = new SFXALVoice( buffer, sourceName ); + // does our device support reverb + if (device->mCaps & SFXDevice::ECaps::CAPS_Reverb) + { + voice->mDeviceAuxSlot = (ALint)device->getDeviceAuxSlot(); + alSource3i(sourceName, AL_AUXILIARY_SEND_FILTER, voice->mDeviceAuxSlot, 0, AL_FILTER_NULL); + } + return voice; } @@ -69,7 +76,9 @@ SFXALVoice::SFXALVoice( SFXALBuffer *buffer, : Parent( buffer ), mSourceName( sourceName ), mResumeAtSampleOffset( -1.0f ), - mSampleOffset( 0 ) + mDeviceAuxSlot(0), + mSampleOffset( 0 ), + mUseReverb(false) { AL_SANITY_CHECK(); } @@ -226,6 +235,19 @@ void SFXALVoice::setTransform( const MatrixF& transform ) alSourcefv( mSourceName, AL_DIRECTION, dir ); } +void SFXALVoice::setReverb(bool useReverb) +{ + if (useReverb == mUseReverb) + return; + + if (!useReverb) + alSource3i(mSourceName, AL_AUXILIARY_SEND_FILTER, AL_EFFECTSLOT_NULL, 0, AL_FILTER_NULL); + else + alSource3i(mSourceName, AL_AUXILIARY_SEND_FILTER, mDeviceAuxSlot, 0, AL_FILTER_NULL); + + mUseReverb = useReverb; +} + void SFXALVoice::setVolume( F32 volume ) { AL_SANITY_CHECK(); diff --git a/Engine/source/sfx/openal/sfxALVoice.h b/Engine/source/sfx/openal/sfxALVoice.h index e5a2aaff6..770918fec 100644 --- a/Engine/source/sfx/openal/sfxALVoice.h +++ b/Engine/source/sfx/openal/sfxALVoice.h @@ -54,6 +54,8 @@ class SFXALVoice : public SFXVoice /// Buggy OAL jumps around when pausing. Save playback cursor here. F32 mResumeAtSampleOffset; + + bool mUseReverb; /// Amount by which OAL's reported sample position is offset. /// @@ -62,6 +64,8 @@ class SFXALVoice : public SFXVoice /// queue we are. U32 mSampleOffset; + ALint mDeviceAuxSlot; + Mutex mMutex; /// @@ -95,6 +99,7 @@ class SFXALVoice : public SFXVoice void play( bool looping ) override; void setVelocity( const VectorF& velocity ) override; void setTransform( const MatrixF& transform ) override; + void setReverb(bool useReverb) override; void setVolume( F32 volume ) override; void setPitch( F32 pitch ) override; void setCone( F32 innerAngle, F32 outerAngle, F32 outerVolume ) override; diff --git a/Engine/source/sfx/sfxDescription.cpp b/Engine/source/sfx/sfxDescription.cpp index 4bb152441..a4f0a616f 100644 --- a/Engine/source/sfx/sfxDescription.cpp +++ b/Engine/source/sfx/sfxDescription.cpp @@ -173,7 +173,6 @@ SFXDescription::SFXDescription( const SFXDescription& desc ) mStreamPacketSize( desc.mStreamPacketSize ), mUseReverb( desc.mUseReverb ), mStreamReadAhead( desc.mStreamReadAhead ), - mReverb( desc.mReverb ), mScatterDistance( desc.mScatterDistance ), mPriority( desc.mPriority ) { @@ -206,7 +205,6 @@ SFXDescription::SFXDescription(const SFXDescription& other, bool temp_clone) mStreamPacketSize( other.mStreamPacketSize ), mStreamReadAhead( other.mStreamReadAhead ), mUseReverb( other.mUseReverb ), - mReverb( other.mReverb ), mPriority( other.mPriority ), mScatterDistance( other.mScatterDistance ) { @@ -396,48 +394,6 @@ void SFXDescription::initPersistFields() "a custom reverb setup can be defined using the \"Reverb\" properties that will then be assigned " "to sounds playing with the description.\n\n" "@ref SFX_reverb"); - addFieldV("reverbDensity", TypeRangedF32, Offset(mReverb.flDensity, SFXDescription), &CommonValidators::PositiveFloat, - "Density of reverb environment."); - addFieldV("reverbDiffusion", TypeRangedF32, Offset(mReverb.flDiffusion, SFXDescription), &CommonValidators::PositiveFloat, - "Environment diffusion."); - addFieldV("reverbGain", TypeRangedF32, Offset(mReverb.flGain, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb Gain Level."); - addFieldV("reverbGainHF", TypeRangedF32, Offset(mReverb.flGainHF, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb Gain to high frequencies"); - addFieldV("reverbGainLF", TypeRangedF32, Offset(mReverb.flGainLF, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb Gain to high frequencies"); - addFieldV("reverbDecayTime", TypeRangedF32, Offset(mReverb.flDecayTime, SFXDescription), &CommonValidators::PositiveFloat, - "Decay time for the reverb."); - addFieldV("reverbDecayHFRatio", TypeRangedF32, Offset(mReverb.flDecayHFRatio, SFXDescription), &CommonValidators::PositiveFloat, - "High frequency decay time ratio."); - addFieldV("reverbDecayLFRatio", TypeRangedF32, Offset(mReverb.flDecayLFRatio, SFXDescription), &CommonValidators::PositiveFloat, - "High frequency decay time ratio."); - addFieldV("reflectionsGain", TypeRangedF32, Offset(mReverb.flReflectionsGain, SFXDescription), &CommonValidators::PositiveFloat, - "Reflection Gain."); - addFieldV("reflectionDelay", TypeRangedF32, Offset(mReverb.flReflectionsDelay, SFXDescription), &CommonValidators::PositiveFloat, - "How long to delay reflections."); - addFieldV("lateReverbGain", TypeRangedF32, Offset(mReverb.flLateReverbGain, SFXDescription), &CommonValidators::PositiveFloat, - "Late reverb gain amount."); - addFieldV("lateReverbDelay", TypeRangedF32, Offset(mReverb.flLateReverbDelay, SFXDescription), &CommonValidators::PositiveFloat, - "Late reverb delay time."); - addFieldV("reverbEchoTime", TypeRangedF32, Offset(mReverb.flEchoTime, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb echo time."); - addFieldV("reverbEchoDepth", TypeRangedF32, Offset(mReverb.flEchoDepth, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb echo depth."); - addFieldV("reverbModTime", TypeRangedF32, Offset(mReverb.flModulationTime, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb Modulation time."); - addFieldV("reverbModDepth", TypeRangedF32, Offset(mReverb.flModulationDepth, SFXDescription), &CommonValidators::NormalizedFloat, - "Reverb Modulation Depth."); - addFieldV("airAbsorbtionGainHF", TypeRangedF32, Offset(mReverb.flAirAbsorptionGainHF, SFXDescription), &CommonValidators::PositiveFloat, - "High Frequency air absorbtion"); - addFieldV("reverbHFRef", TypeRangedF32, Offset(mReverb.flHFReference, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb High Frequency Reference."); - addFieldV("reverbLFRef", TypeRangedF32, Offset(mReverb.flLFReference, SFXDescription), &CommonValidators::PositiveFloat, - "Reverb Low Frequency Reference."); - addFieldV("roomRolloffFactor", TypeRangedF32, Offset(mReverb.flRoomRolloffFactor, SFXDescription), &CommonValidators::NegDefaultF32, - "Rolloff factor for reverb."); - addFieldV("decayHFLimit", TypeRangedS32, Offset(mReverb.iDecayHFLimit, SFXDescription), &CommonValidators::PositiveInt, - "High Frequency decay limit."); endGroup("Reverb"); Parent::initPersistFields(); @@ -496,10 +452,6 @@ void SFXDescription::validate() mConeOutsideAngle = mClamp( mConeOutsideAngle, mConeInsideAngle, 360 ); mConeOutsideVolume = mClampF( mConeOutsideVolume, 0, 1 ); - if( !mIs3D ) - mUseReverb = false; - - mReverb.validate(); } //----------------------------------------------------------------------------- @@ -534,30 +486,6 @@ void SFXDescription::packData( BitStream *stream ) stream->writeFloat( mConeOutsideVolume, 6 ); - if( mUseReverb ) - { - stream->write(mReverb.flDensity); - stream->write(mReverb.flDiffusion); - stream->write(mReverb.flGain); - stream->write(mReverb.flGainHF); - stream->write(mReverb.flGainLF); - stream->write(mReverb.flDecayTime); - stream->write(mReverb.flDecayHFRatio); - stream->write(mReverb.flDecayLFRatio); - stream->write(mReverb.flReflectionsGain); - stream->write(mReverb.flReflectionsDelay); - stream->write(mReverb.flLateReverbGain); - stream->write(mReverb.flLateReverbDelay); - stream->write(mReverb.flEchoTime); - stream->write(mReverb.flEchoDepth); - stream->write(mReverb.flModulationTime); - stream->write(mReverb.flModulationDepth); - stream->write(mReverb.flAirAbsorptionGainHF); - stream->write(mReverb.flHFReference); - stream->write(mReverb.flLFReference); - stream->write(mReverb.flRoomRolloffFactor); - stream->write(mReverb.iDecayHFLimit); - } } stream->write( mFadeInTime ); @@ -607,30 +535,6 @@ void SFXDescription::unpackData( BitStream *stream ) mConeOutsideVolume = stream->readFloat( 6 ); - if( mUseReverb ) - { - stream->read(&mReverb.flDensity); - stream->read(&mReverb.flDiffusion); - stream->read(&mReverb.flGain); - stream->read(&mReverb.flGainHF); - stream->read(&mReverb.flGainLF); - stream->read(&mReverb.flDecayTime); - stream->read(&mReverb.flDecayHFRatio); - stream->read(&mReverb.flDecayLFRatio); - stream->read(&mReverb.flReflectionsGain); - stream->read(&mReverb.flReflectionsDelay); - stream->read(&mReverb.flLateReverbGain); - stream->read(&mReverb.flLateReverbDelay); - stream->read(&mReverb.flEchoTime); - stream->read(&mReverb.flEchoDepth); - stream->read(&mReverb.flModulationTime); - stream->read(&mReverb.flModulationDepth); - stream->read(&mReverb.flAirAbsorptionGainHF); - stream->read(&mReverb.flHFReference); - stream->read(&mReverb.flLFReference); - stream->read(&mReverb.flRoomRolloffFactor); - stream->read(&mReverb.iDecayHFLimit); - } } stream->read( &mFadeInTime ); diff --git a/Engine/source/sfx/sfxDescription.h b/Engine/source/sfx/sfxDescription.h index 8f4d31134..dc0aecc20 100644 --- a/Engine/source/sfx/sfxDescription.h +++ b/Engine/source/sfx/sfxDescription.h @@ -170,9 +170,6 @@ class SFXDescription : public SimDataBlock /// The number of streaming packets to read and buffer in advance. /// Only relevant if "isStreaming" is true. U32 mStreamReadAhead; - - /// Reverb properties for sound playback. - SFXSoundReverbProperties mReverb; /// Parameters to which sources playing with this description should automatically /// connect when created. @@ -202,4 +199,4 @@ class SFXDescription : public SimDataBlock }; -#endif // _SFXDESCRIPTION_H_ \ No newline at end of file +#endif // _SFXDESCRIPTION_H_ diff --git a/Engine/source/sfx/sfxSound.cpp b/Engine/source/sfx/sfxSound.cpp index 447eb993b..32b580013 100644 --- a/Engine/source/sfx/sfxSound.cpp +++ b/Engine/source/sfx/sfxSound.cpp @@ -261,11 +261,6 @@ bool SFXSound::_allocVoice( SFXDevice* device ) _setCone( mConeInsideAngle, mConeOutsideAngle, mConeOutsideVolume ); } - // Set reverb, if enabled. - - if( mDescription->mUseReverb ) - mVoice->setReverb( mDescription->mReverb ); - // Update the duration... it shouldn't have changed, but // its probably better that we're accurate if it did. mDuration = mBuffer->getDuration(); @@ -395,8 +390,10 @@ void SFXSound::_play() { Parent::_play(); - if( mVoice ) - mVoice->play( isLooping() ); + if (mVoice) + { + mVoice->play(isLooping()); + } else { // To ensure the fastest possible reaction @@ -447,6 +444,11 @@ void SFXSound::_updateStatus() if( mVoice ) { + + // properties can change while a voice is playing, respect that. + if (getSourceGroup()) + mVoice->setReverb(getSourceGroup()->getDescription()->mUseReverb); + SFXStatus voiceStatus = mVoice->getStatus(); // Filter out SFXStatusBlocked. diff --git a/Engine/source/sfx/sfxVoice.h b/Engine/source/sfx/sfxVoice.h index 74e40293e..593c3a1f1 100644 --- a/Engine/source/sfx/sfxVoice.h +++ b/Engine/source/sfx/sfxVoice.h @@ -210,9 +210,9 @@ class SFXVoice : public StrongRefBase, F32 outerAngle, F32 outerVolume ) = 0; - /// Set the reverb properties for playback of this sound. + /// Allow this sound to use SFXEnvironment reverb. /// @note Has no effect on devices that do not support reverb. - virtual void setReverb( const SFXSoundReverbProperties& reverb ) {} + virtual void setReverb( bool useReverb ) {} /// Set the priority of this voice. Default 1.0. /// @note Has no effect on devices that do not support voice management. diff --git a/Templates/BaseGame/game/core/sfx/scripts/audio.tscript b/Templates/BaseGame/game/core/sfx/scripts/audio.tscript index 954b6a35b..b3cd76ba2 100644 --- a/Templates/BaseGame/game/core/sfx/scripts/audio.tscript +++ b/Templates/BaseGame/game/core/sfx/scripts/audio.tscript @@ -24,7 +24,11 @@ // Source groups. //----------------------------------------------------------------------------- -singleton SFXDescription( AudioMaster ); +singleton SFXDescription( AudioMaster ) +{ + useCustomReverb = false; +}; + singleton SFXSource( AudioChannelMaster ) { description = AudioMaster; @@ -33,8 +37,16 @@ singleton SFXSource( AudioChannelMaster ) singleton SFXDescription( AudioChannel ) { sourceGroup = AudioChannelMaster; + useCustomReverb = false; }; +singleton SFXDescription( AudioEffectChannel ) +{ + sourceGroup = AudioChannelMaster; + useCustomReverb = true; +}; + + singleton SFXSource( AudioChannelDefault ) { description = AudioChannel; @@ -45,7 +57,7 @@ singleton SFXSource( AudioChannelGui ) }; singleton SFXSource( AudioChannelEffects ) { - description = AudioChannel; + description = AudioEffectChannel; }; singleton SFXSource( AudioChannelMessages ) { @@ -66,7 +78,7 @@ AudioChannelMusic.play(); AudioChannelMessages.play(); // Stop in-game effects channels. -AudioChannelEffects.stop(); +AudioChannelEffects.play(); //----------------------------------------------------------------------------- // Master SFXDescriptions. @@ -440,4 +452,4 @@ function sfxResume( %pauseSet ) // Clear our pause set... the caller is left // to clear his own if he passed one. %pauseSet.clear(); -}*/ +}*/ \ No newline at end of file diff --git a/Templates/BaseGame/game/core/sfx/scripts/audioEnvironments.tscript b/Templates/BaseGame/game/core/sfx/scripts/audioEnvironments.tscript index 671825b6b..e66b863c6 100644 --- a/Templates/BaseGame/game/core/sfx/scripts/audioEnvironments.tscript +++ b/Templates/BaseGame/game/core/sfx/scripts/audioEnvironments.tscript @@ -24,893 +24,678 @@ // // For customized presets, best derive from one of these presets. -singleton SFXEnvironment( AudioEnvOff ) +singleton SFXEnvironment(AudioEnvOff) { - envSize = "7.5"; - envDiffusion = "1.0"; - room = "-10000"; - roomHF = "-10000"; - roomLF = "0"; - decayTime = "1.0"; - decayHFRatio = "1.0"; - decayLFRatio = "1.0"; - reflections = "-2602"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "200"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; + reverbDensity = "0.0"; + reverbDiffusion = "0.0"; + reverbGain = "0.0"; + reverbGainHF = "0.0"; + reverbGainLF = "0.0"; + reverbDecayTime = "0.1"; + reverbDecayHFRatio = "1.0"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.0"; + reflectionDelay = "0.0"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.0"; + lateReverbDelay = "0.0"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.075"; + reverbEchoDepth = "0.0"; + reverbModTime = "0.04"; + reverbModDepth = "0.0"; + airAbsorbtionGainHF = "1.0"; + reverbHFRef = "1000"; + reverbLFRef = "20"; + roomRolloffFactor = "0.0"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvGeneric) +{ + reverbDensity = "0.5"; + reverbDiffusion = "0.5"; + reverbGain = "0.15"; + reverbGainHF = "0.15"; + reverbGainLF = "0.1"; + reverbDecayTime = "1.0"; + reverbDecayHFRatio = "1.0"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.2"; + reflectionDelay = "0.02"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.25"; + lateReverbDelay = "0.03"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.08"; + reverbEchoDepth = "0.05"; + reverbModTime = "0.1"; + reverbModDepth = "0.05"; + airAbsorbtionGainHF = "0.95"; + reverbHFRef = "5000"; + reverbLFRef = "100"; + roomRolloffFactor = "0.2"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvPlain) +{ + reverbDensity = "0.05"; + reverbDiffusion = "0.15"; + reverbGain = "0.18"; + reverbGainHF = "0.12"; + reverbGainLF = "0.30"; + reverbDecayTime = "5.0"; + reverbDecayHFRatio = "0.5"; + reverbDecayLFRatio = "1.4"; + reflectionsGain = "0.005"; + reflectionDelay = "0.02"; + reflectionsPan = "0 0 0"; + lateReverbGain = "0.35"; + lateReverbDelay = "0.15"; + lateReverbPan = "0 0 0"; + reverbEchoTime = "0.17"; + reverbEchoDepth = "0.08"; + reverbModTime = "2.8"; + reverbModDepth = "0.25"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "6500"; + reverbLFRef = "90"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvRoom) +{ + reverbDensity = "0.8"; + reverbDiffusion = "0.85"; + reverbGain = "0.35"; + reverbGainHF = "0.4"; + reverbGainLF = "0.25"; + reverbDecayTime = "1.8"; + reverbDecayHFRatio = "0.9"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.8"; + reflectionDelay = "0.03"; + reflectionsPan = "0.2 0.0 -0.2"; + lateReverbGain = "0.9"; + lateReverbDelay = "0.05"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.09"; + reverbEchoDepth = "0.15"; + reverbModTime = "0.2"; + reverbModDepth = "0.1"; + airAbsorbtionGainHF = "0.9"; + reverbHFRef = "7000"; + reverbLFRef = "60"; + roomRolloffFactor = "0.5"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvPaddedCell) +{ + reverbDensity = "0.7"; + reverbDiffusion = "0.9"; + reverbGain = "0.5"; + reverbGainHF = "0.25"; + reverbGainLF = "0.15"; + reverbDecayTime = "2.0"; + reverbDecayHFRatio = "0.7"; + reverbDecayLFRatio = "0.9"; + reflectionsGain = "1.0"; + reflectionDelay = "0.015"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.2"; + lateReverbDelay = "0.02"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.1"; + reverbEchoDepth = "0.2"; + reverbModTime = "0.15"; + reverbModDepth = "0.1"; + airAbsorbtionGainHF = "0.85"; + reverbHFRef = "5000"; + reverbLFRef = "100"; + roomRolloffFactor = "0.8"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvBathroom) +{ + reverbDensity = "0.9"; + reverbDiffusion = "0.95"; + reverbGain = "0.45"; + reverbGainHF = "0.8"; + reverbGainLF = "0.25"; + reverbDecayTime = "1.2"; + reverbDecayHFRatio = "1.5"; + reverbDecayLFRatio = "0.9"; + reflectionsGain = "2.5"; + reflectionDelay = "0.025"; + reflectionsPan = "0.5 -0.5 0.0"; + lateReverbGain = "0.9"; + lateReverbDelay = "0.04"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.08"; + reverbEchoDepth = "0.1"; + reverbModTime = "0.15"; + reverbModDepth = "0.05"; + airAbsorbtionGainHF = "0.95"; + reverbHFRef = "12000"; + reverbLFRef = "80"; + roomRolloffFactor = "0.8"; + decayHFLimit = "1"; +}; + + +singleton SFXEnvironment(AudioEnvLivingRoom) +{ + reverbDensity = "0.45"; + reverbDiffusion = "0.65"; + reverbGain = "0.30"; + reverbGainHF = "0.35"; + reverbGainLF = "0.20"; + reverbDecayTime = "0.7"; + reverbDecayHFRatio = "0.9"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.45"; + reflectionDelay = "0.010"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.45"; + lateReverbDelay = "0.025"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.09"; + reverbEchoDepth = "0.02"; + reverbModTime = "0.20"; + reverbModDepth = "0.02"; + airAbsorbtionGainHF = "0.95"; + reverbHFRef = "5000"; + reverbLFRef = "120"; + roomRolloffFactor = "0.2"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvStoneRoom) +{ + reverbDensity = "0.70"; + reverbDiffusion = "0.85"; + reverbGain = "0.55"; + reverbGainHF = "0.45"; + reverbGainLF = "0.35"; + reverbDecayTime = "2.2"; + reverbDecayHFRatio = "0.8"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "1.1"; + reflectionDelay = "0.015"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.1"; + lateReverbDelay = "0.035"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.12"; + reverbEchoDepth = "0.05"; + reverbModTime = "0.30"; + reverbModDepth = "0.05"; + airAbsorbtionGainHF = "0.92"; + reverbHFRef = "4500"; + reverbLFRef = "80"; + roomRolloffFactor = "0.1"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvAuditorium) +{ + reverbDensity = "0.65"; + reverbDiffusion = "0.85"; + reverbGain = "0.40"; + reverbGainHF = "0.42"; + reverbGainLF = "0.30"; + reverbDecayTime = "3.6"; + reverbDecayHFRatio = "0.7"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.20"; + reflectionDelay = "0.025"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.9"; + lateReverbDelay = "0.06"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.14"; + reverbEchoDepth = "0.02"; + reverbModTime = "0.25"; + reverbModDepth = "0.03"; + airAbsorbtionGainHF = "0.93"; + reverbHFRef = "5000"; + reverbLFRef = "100"; + roomRolloffFactor = "0.05"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvConcertHall) +{ + reverbDensity = "0.66"; + reverbDiffusion = "0.88"; + reverbGain = "0.42"; + reverbGainHF = "0.40"; + reverbGainLF = "0.30"; + reverbDecayTime = "3.8"; + reverbDecayHFRatio = "0.75"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.18"; + reflectionDelay = "0.022"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.95"; + lateReverbDelay = "0.05"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.13"; + reverbEchoDepth = "0.02"; + reverbModTime = "0.22"; + reverbModDepth = "0.03"; + airAbsorbtionGainHF = "0.93"; + reverbHFRef = "4800"; + reverbLFRef = "100"; + roomRolloffFactor = "0.05"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvCave) +{ + reverbDensity = "0.55"; + reverbDiffusion = "0.70"; + reverbGain = "0.60"; + reverbGainHF = "0.30"; + reverbGainLF = "0.40"; + reverbDecayTime = "3.0"; + reverbDecayHFRatio = "1.1"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "1.6"; + reflectionDelay = "0.020"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.6"; + lateReverbDelay = "0.04"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.16"; + reverbEchoDepth = "0.06"; + reverbModTime = "0.30"; + reverbModDepth = "0.06"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4500"; + reverbLFRef = "70"; + roomRolloffFactor = "0.1"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvArena) +{ + reverbDensity = "0.60"; + reverbDiffusion = "0.85"; + reverbGain = "0.48"; + reverbGainHF = "0.38"; + reverbGainLF = "0.32"; + reverbDecayTime = "5.5"; + reverbDecayHFRatio = "0.6"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.6"; + reflectionDelay = "0.025"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.2"; + lateReverbDelay = "0.06"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.18"; + reverbEchoDepth = "0.04"; + reverbModTime = "0.30"; + reverbModDepth = "0.04"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4500"; + reverbLFRef = "90"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvHangar) +{ + reverbDensity = "0.50"; + reverbDiffusion = "0.60"; + reverbGain = "0.55"; + reverbGainHF = "0.30"; + reverbGainLF = "0.45"; + reverbDecayTime = "7.5"; + reverbDecayHFRatio = "0.5"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.8"; + reflectionDelay = "0.03"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.6"; + lateReverbDelay = "0.07"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.18"; + reverbEchoDepth = "0.03"; + reverbModTime = "0.35"; + reverbModDepth = "0.04"; + airAbsorbtionGainHF = "0.88"; + reverbHFRef = "4000"; + reverbLFRef = "80"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvCarpettedHallway) +{ + reverbDensity = "0.35"; + reverbDiffusion = "0.50"; + reverbGain = "0.18"; + reverbGainHF = "0.08"; + reverbGainLF = "0.18"; + reverbDecayTime = "0.35"; + reverbDecayHFRatio = "0.5"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.25"; + reflectionDelay = "0.004"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.22"; + lateReverbDelay = "0.02"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.09"; + reverbEchoDepth = "0.01"; + reverbModTime = "0.18"; + reverbModDepth = "0.02"; + airAbsorbtionGainHF = "0.88"; + reverbHFRef = "5000"; + reverbLFRef = "120"; + roomRolloffFactor = "0.25"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvHallway) +{ + reverbDensity = "0.45"; + reverbDiffusion = "0.60"; + reverbGain = "0.30"; + reverbGainHF = "0.28"; + reverbGainLF = "0.22"; + reverbDecayTime = "1.2"; + reverbDecayHFRatio = "0.7"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.9"; + reflectionDelay = "0.007"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.8"; + lateReverbDelay = "0.03"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.10"; + reverbEchoDepth = "0.02"; + reverbModTime = "0.20"; + reverbModDepth = "0.03"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4500"; + reverbLFRef = "80"; + roomRolloffFactor = "0.12"; + decayHFLimit = "1"; +}; + +singleton SFXEnvironment(AudioEnvStoneCorridor) +{ + reverbDensity = "0.60"; + reverbDiffusion = "0.75"; + reverbGain = "0.50"; + reverbGainHF = "0.30"; + reverbGainLF = "0.32"; + reverbDecayTime = "2.6"; + reverbDecayHFRatio = "0.8"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "1.0"; + reflectionDelay = "0.013"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.0"; + lateReverbDelay = "0.04"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.14"; + reverbEchoDepth = "0.04"; + reverbModTime = "0.25"; + reverbModDepth = "0.05"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4200"; + reverbLFRef = "80"; + roomRolloffFactor = "0.1"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvAlley) +{ + reverbDensity = "0.22"; + reverbDiffusion = "0.30"; + reverbGain = "0.15"; + reverbGainHF = "0.12"; + reverbGainLF = "0.22"; + reverbDecayTime = "1.1"; + reverbDecayHFRatio = "0.6"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.3"; + reflectionDelay = "0.007"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.25"; + lateReverbDelay = "0.02"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.12"; + reverbEchoDepth = "0.18"; + reverbModTime = "0.25"; + reverbModDepth = "0.02"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "5000"; + reverbLFRef = "100"; + roomRolloffFactor = "0.08"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvForest) +{ + reverbDensity = "0.10"; + reverbDiffusion = "0.20"; + reverbGain = "0.10"; + reverbGainHF = "0.08"; + reverbGainLF = "0.18"; + reverbDecayTime = "1.1"; + reverbDecayHFRatio = "0.5"; + reverbDecayLFRatio = "1.2"; + reflectionsGain = "0.02"; + reflectionDelay = "0.12"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.20"; + lateReverbDelay = "0.10"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.14"; + reverbEchoDepth = "0.60"; + reverbModTime = "0.40"; + reverbModDepth = "0.06"; + airAbsorbtionGainHF = "0.88"; + reverbHFRef = "4000"; + reverbLFRef = "90"; + roomRolloffFactor = "0.02"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvCity) +{ + reverbDensity = "0.18"; + reverbDiffusion = "0.35"; + reverbGain = "0.18"; + reverbGainHF = "0.16"; + reverbGainLF = "0.22"; + reverbDecayTime = "1.4"; + reverbDecayHFRatio = "0.6"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.25"; + reflectionDelay = "0.010"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.22"; + lateReverbDelay = "0.06"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.16"; + reverbEchoDepth = "0.12"; + reverbModTime = "0.30"; + reverbModDepth = "0.04"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "5000"; + reverbLFRef = "100"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvMountains) +{ + reverbDensity = "0.06"; + reverbDiffusion = "0.18"; + reverbGain = "0.12"; + reverbGainHF = "0.10"; + reverbGainLF = "0.20"; + reverbDecayTime = "3.2"; + reverbDecayHFRatio = "0.45"; + reverbDecayLFRatio = "1.3"; + reflectionsGain = "0.01"; + reflectionDelay = "0.30"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.25"; + lateReverbDelay = "0.10"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.20"; + reverbEchoDepth = "0.40"; + reverbModTime = "1.2"; + reverbModDepth = "0.10"; + airAbsorbtionGainHF = "0.88"; + reverbHFRef = "4500"; + reverbLFRef = "80"; + roomRolloffFactor = "0.02"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvQuary) +{ + reverbDensity = "0.25"; + reverbDiffusion = "0.45"; + reverbGain = "0.28"; + reverbGainHF = "0.20"; + reverbGainLF = "0.30"; + reverbDecayTime = "2.1"; + reverbDecayHFRatio = "0.7"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.9"; + reflectionDelay = "0.060"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.9"; + lateReverbDelay = "0.04"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.14"; + reverbEchoDepth = "0.45"; + reverbModTime = "0.30"; + reverbModDepth = "0.06"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4200"; + reverbLFRef = "80"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvParkingLot) +{ + reverbDensity = "0.20"; + reverbDiffusion = "0.40"; + reverbGain = "0.16"; + reverbGainHF = "0.12"; + reverbGainLF = "0.22"; + reverbDecayTime = "1.3"; + reverbDecayHFRatio = "1.1"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.20"; + reflectionDelay = "0.010"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.22"; + lateReverbDelay = "0.03"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.12"; + reverbEchoDepth = "0.05"; + reverbModTime = "0.25"; + reverbModDepth = "0.04"; + airAbsorbtionGainHF = "0.90"; + reverbHFRef = "4800"; + reverbLFRef = "100"; + roomRolloffFactor = "0.04"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvSewerPipe) +{ + reverbDensity = "0.42"; + reverbDiffusion = "0.60"; + reverbGain = "0.65"; + reverbGainHF = "0.18"; + reverbGainLF = "0.40"; + reverbDecayTime = "2.6"; + reverbDecayHFRatio = "0.35"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "1.8"; + reflectionDelay = "0.014"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.8"; + lateReverbDelay = "0.09"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.14"; + reverbEchoDepth = "0.02"; + reverbModTime = "0.20"; + reverbModDepth = "0.03"; + airAbsorbtionGainHF = "0.86"; + reverbHFRef = "3500"; + reverbLFRef = "60"; + roomRolloffFactor = "0.08"; + decayHFLimit = "0"; +}; + +singleton SFXEnvironment(AudioEnvUnderwater) +{ + reverbDensity = "0.85"; + reverbDiffusion = "0.95"; + reverbGain = "0.70"; + reverbGainHF = "0.20"; + reverbGainLF = "0.60"; + reverbDecayTime = "2.0"; + reverbDecayHFRatio = "0.3"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.6"; + reflectionDelay = "0.012"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "0.9"; + lateReverbDelay = "0.06"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.10"; + reverbEchoDepth = "0.12"; + reverbModTime = "1.2"; + reverbModDepth = "0.25"; + airAbsorbtionGainHF = "0.80"; + reverbHFRef = "1200"; + reverbLFRef = "50"; roomRolloffFactor = "0.0"; - diffusion = "0.0"; - density = "0.0"; - flags = 0x33; + decayHFLimit = "0"; }; -singleton SFXEnvironment( AudioEnvGeneric ) +singleton SFXEnvironment(AudioEnvDrugged) { - envSize = "7.5"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-100"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.83"; - decayLFRatio = "1.0"; - reflections = "-2602"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "200"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvRoom ) -{ - envSize = "1.9"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-454"; - roomLF = "0"; - decayTime = "0.4"; - decayHFRatio = "0.83"; - decayLFRatio = "1.0"; - reflections = "-1646"; - reflectionsDelay = "0.002"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "53"; - reverbDelay = "0.003"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvPaddedCell ) -{ - envSize = "1.4"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-6000"; - roomLF = "0"; - decayTime = "0.17"; - decayHFRatio = "0.1"; - decayLFRatio = "1.0"; - reflections = "-1204"; - reflectionsDelay = "0.001"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "207"; - reverbDelay = "0.002"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvBathroom ) -{ - envSize = "1.4"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-1200"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.54"; - decayLFRatio = "1.0"; - reflections = "-370"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "1030"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "60.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvLivingRoom ) -{ - envSize = "2.5"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-6000"; - roomLF = "0"; - decayTime = "0.5"; - decayHFRatio = "0.1"; - decayLFRatio = "1.0"; - reflections = "-1376"; - reflectionsDelay = "0.003"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1104"; - reverbDelay = "0.004"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvStoneRoom ) -{ - envSize = "11.6"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "300"; - roomLF = "0"; - decayTime = "2.31"; - decayHFRatio = "0.64"; - decayLFRatio = "1.0"; - reflections = "-711"; - reflectionsDelay = "0.012"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "83"; - reverbDelay = "0.017"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "-5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvAuditorium ) -{ - envSize = "21.6"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-476"; - roomLF = "0"; - decayTime = "4.32"; - decayHFRatio = "0.59"; - decayLFRatio = "1.0"; - reflections = "1"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-289"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvConcertHall ) -{ - envSize = "19.6"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-500"; - roomLF = "0"; - decayTime = "3.92"; - decayHFRatio = "0.7"; - decayLFRatio = "1.0"; - reflections = "-1230"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-2"; - reverbDelay = "0.029"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvCave ) -{ - envSize = "14.6"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "0"; - roomLF = "0"; - decayTime = "2.91"; - decayHFRatio = "1.3"; - decayLFRatio = "1.0"; - reflections = "-602"; - reflectionsDelay = "0.015"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-302"; - reverbDelay = "0.022"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x1f; -}; - -singleton SFXEnvironment( AudioEnvArena ) -{ - envSize = "36.2f"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-698"; - roomLF = "0"; - decayTime = "7.24"; - decayHFRatio = "0.33"; - decayLFRatio = "1.0"; - reflections = "-1166"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "16"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvHangar ) -{ - envSize = "50.3"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-1000"; - roomLF = "0"; - decayTime = "10.05"; - decayHFRatio = "0.23"; - decayLFRatio = "1.0"; - reflections = "-602"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "198"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvCarpettedHallway ) -{ - envSize = "1.9"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-4000"; - roomLF = "0"; - decayTime = "0.3"; - decayHFRatio = "0.1"; - decayLFRatio = "1.0"; - reflections = "-1831"; - reflectionsDelay = "0.002"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1630"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvHallway ) -{ - envSize = "1.8"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-300"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.59"; - decayLFRatio = "1.0"; - reflections = "-1219"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "441"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvStoneCorridor ) -{ - envSize = "13.5"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-237"; - roomLF = "0"; - decayTime = "2.7"; - decayHFRatio = "0.79"; - decayLFRatio = "1.0"; - reflections = "-1214"; - reflectionsDelay = "0.013"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "395"; - reverbDelay = "0.02"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvAlley ) -{ - envSize = "7.5"; - envDiffusion = "0.3"; - room = "-1000"; - roomHF = "-270"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.86"; - decayLFRatio = "1.0"; - reflections = "-1204"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-4"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.125"; - echoDepth = "0.95"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvForest ) -{ - envSize = "38.0"; - envDiffusion = "0.3"; - room = "-1000"; - roomHF = "-3300"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.54"; - decayLFRatio = "1.0"; - reflections = "-2560"; - reflectionsDelay = "0.162"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-229"; - reverbDelay = "0.088"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.125"; - echoDepth = "1.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "79.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvCity ) -{ - envSize = "7.5"; - envDiffusion = "0.5"; - room = "-1000"; - roomHF = "-800"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.67"; - decayLFRatio = "1.0"; - reflections = "-2273"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1691"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "50.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvMountains ) -{ - envSize = "100.0"; - envDiffusion = "0.27"; - room = "-1000"; - roomHF = "-2500"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.21"; - decayLFRatio = "1.0"; - reflections = "-2780"; - reflectionsDelay = "0.3"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1434"; - reverbDelay = "0.1"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "1.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "27.0"; - density = "100.0"; - flags = 0x1f; -}; - -singleton SFXEnvironment( AudioEnvQuary ) -{ - envSize = "17.5"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-1000"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.83"; - decayLFRatio = "1.0"; - reflections = "-10000"; - reflectionsDelay = "0.061"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "500"; - reverbDelay = "0.025"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.125"; - echoDepth = "0.7"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvPlain ) -{ - envSize = "42.5"; - envDiffusion = "0.21"; - room = "-1000"; - roomHF = "-2000"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.5"; - decayLFRatio = "1.0"; - reflections = "-2466"; - reflectionsDelay = "0.179"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1926"; - reverbDelay = "0.1"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "1.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "21.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvParkingLot ) -{ - envSize = "8.3"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "0"; - roomLF = "0"; - decayTime = "1.65"; - decayHFRatio = "1.5"; - decayLFRatio = "1.0"; - reflections = "-1363"; - reflectionsDelay = "0.008"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-1153"; - reverbDelay = "0.012"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x1f; -}; - -singleton SFXEnvironment( AudioEnvSewerPipe ) -{ - envSize = "1.7"; - envDiffusion = "0.8"; - room = "-1000"; - roomHF = "-1000"; - roomLF = "0"; - decayTime = "2.81"; - decayHFRatio = "0.14"; - decayLFRatio = "1.0"; - reflections = "429"; - reflectionsDelay = "0.014"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "1023"; - reverbDelay = "0.21"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "0.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "80.0"; - density = "60.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvUnderwater ) -{ - envSize = "1.8"; - envDiffusion = "1.0"; - room = "-1000"; - roomHF = "-4000"; - roomLF = "0"; - decayTime = "1.49"; - decayHFRatio = "0.1"; - decayLFRatio = "1.0"; - reflections = "-449"; - reflectionsDelay = "0.007"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "1700"; - reverbDelay = "0.011"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "1.18"; - modulationDepth = "0.348"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x3f; -}; - -singleton SFXEnvironment( AudioEnvDrugged ) -{ - envSize = "1.9"; - envDiffusion = "0.5"; - room = "-1000"; - roomHF = "0"; - roomLF = "0"; - decayTime = "8.39"; - decayHFRatio = "1.39"; - decayLFRatio = "1.0"; - reflections = "-115"; - reflectionsDelay = "0.002"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "985"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "0.25"; - modulationDepth = "1.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x1f; -}; - -singleton SFXEnvironment( AudioEnvDizzy ) -{ - envSize = "1.8"; - envDiffusion = "0.6"; - room = "-1000.0"; - roomHF = "-400"; - roomLF = "0"; - decayTime = "17.23"; - decayHFRatio = "0.56"; - decayLFRatio = "1.0"; - reflections = "-1713"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "-613"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "1.0"; - modulationTime = "0.81"; - modulationDepth = "0.31"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x1f; -}; - -singleton SFXEnvironment( AudioEnvPsychotic ) -{ - envSize = "1.0"; - envDiffusion = "0.5"; - room = "-1000"; - roomHF = "-151"; - roomLF = "0"; - decayTime = "7.56"; - decayHFRatio = "0.91"; - decayLFRatio = "1.0"; - reflections = "-626"; - reflectionsDelay = "0.02"; - reflectionsPan[ 0 ] = "0.0"; - reflectionsPan[ 1 ] = "0.0"; - reflectionsPan[ 2 ] = "0.0"; - reverb = "774"; - reverbDelay = "0.03"; - reverbPan[ 0 ] = "0.0"; - reverbPan[ 1 ] = "0.0"; - reverbPan[ 2 ] = "0.0"; - echoTime = "0.25"; - echoDepth = "0.0"; - modulationTime = "4.0"; - modulationDepth = "1.0"; - airAbsorptionHF = "-5.0"; - HFReference = "5000.0"; - LFReference = "250.0"; - roomRolloffFactor = "0.0"; - diffusion = "100.0"; - density = "100.0"; - flags = 0x1f; -}; + reverbDensity = "0.40"; + reverbDiffusion = "0.55"; + reverbGain = "0.50"; + reverbGainHF = "0.30"; + reverbGainLF = "0.35"; + reverbDecayTime = "4.0"; + reverbDecayHFRatio = "1.1"; + reverbDecayLFRatio = "1.0"; + reflectionsGain = "0.8"; + reflectionDelay = "0.010"; + reflectionsPan = "0.0 0.0 0.0"; + lateReverbGain = "1.1"; + lateReverbDelay = "0.04"; + lateReverbPan = "0.0 0.0 0.0"; + reverbEchoTime = "0.20"; + reverbEchoDepth = "0.20"; + reverbModTime = "0.75"; + reverbModDepth = "0.40"; + airAbsorbtionGainHF = "0.88"; + reverbHFRef = "4200"; + reverbLFRef = "90"; + roomRolloffFactor = "0.05"; + decayHFLimit = "0"; +}; \ No newline at end of file