If you solve the formulas for calculating it, the speed of sound only depends on temperature. Mostly because temperature is dependant on pressure itself.
Temperature and molecular properties.. which guess what are also highly variable in combustion! Very messy stuff. Especially when you get into the actual nitty gritty of all the intermediate chemical species involved.