I am working on an app that has a reverb feature. I know we can achieve this feature by the PresetReverb and EnvironmentalReverb classes.
For customization, we have the EnvironmentalReverb class and I am using this class like this and effects can be notice in the video:
val eReverb = EnvironmentalReverb(1, simpleExoplayer?.audioSessionId!!)
eReverb.reverbDelay = 5 // [0, 100] done
eReverb.roomLevel = -1000 // [-9000, 0]
eReverb.reverbLevel = 2000 // [-9000, 2000]
eReverb.decayHFRatio = 1000.toShort()
eReverb.decayTime = 10000
eReverb.density = 1000.toShort()
eReverb.diffusion = 1000.toShort()
eReverb.enabled = true
val auxEffectInfo = AuxEffectInfo(eReverb.id, 1.0F)
simpleExoplayer?.setAuxEffectInfo(auxEffectInfo)
Problem: If we want to apply the EnvironmentalReverb values according to the PresetReverb class effects(LARGE_ROOM, LARGE_HALL, MEDIUM_ROOM, etc) then what should be the values of reverbDelay, diffusion, density, etc?