|
thanks alot ultraq for your resopnse... actually i have tried to adjust the reverb setting with the help of include/EFX-Util.h files but the quality of reverb i m getting is not very good.... infact in the case of a room i m getting lot of echos.... one thing might be the cause of that in the header file there are more properties than those available in the joal using EFX.... like in the header file we have float flDensity; float flDiffusion; float flGain; float flGainHF; float flGainLF; float flDecayTime; float flDecayHFRatio; float flDecayLFRatio; float flReflectionsGain; float flReflectionsDelay; float flReflectionsPan[3]; float flLateReverbGain; float flLateReverbDelay; float flLateReverbPan[3]; float flEchoTime; float flEchoDepth; float flModulationTime; float flModulationDepth; float flAirAbsorptionGainHF; float flHFReference; float flLFReference; float flRoomRolloffFactor; int iDecayHFLimit; whereas in joal we have following corresponding properties. al.alEffectf(effects[0], AL.AL_REVERB_DENSITY, 21.6f); al.alEffectf(effects[0], AL.AL_REVERB_DIFFUSION, 1.000f); al.alEffectf(effects[0], AL.AL_REVERB_GAIN, -1000f); al.alEffectf(effects[0], AL.AL_REVERB_GAINHF, -476f); al.alEffectf(effects[0], AL.AL_REVERB_DECAY_TIME, 0.59f); al.alEffectf(effects[0], AL.AL_REVERB_DECAY_HFRATIO, 1.0f); al.alEffectf(effects[0], AL.AL_REVERB_REFLECTIONS_GAIN, 0.020f); al.alEffectf(effects[0], AL.AL_REVERB_REFLECTIONS_DELAY, 0.00f); al.alEffectf(effects[0], AL.AL_REVERB_LATE_REVERB_GAIN, -289f); al.alEffectf(effects[0], AL.AL_REVERB_LATE_REVERB_DELAY, 0.030f); al.alEffectf(effects[0], AL.AL_REVERB_AIR_ABSORPTION_GAINHF, -5.0f); al.alEffectf(effects[0], AL.AL_ROOM_ROLLOFF_FACTOR, 0f);
by using these properties i m not getting the actual reverb effect close to reality. If you have any suggestion please let me know cheers
|