Text this: Magnetoacoustic Heating of Plasma Caused by Periodic Magnetosound Perturbations with Discontinuities in a Quasi-Isentropic Magnetic Gas