Linearized Euler equation solver for computational acoustics