Microstructural and environmental controls on the elastic wave properties of phyllosilicate-rich rocks