Tight-gas sandstone reservoirs of the Ordos Basin of China are characterized by high rock-fragment content, dissimilar pore types and a random distribution of fluids, leading to strong local heterogeneity. We model the seismic properties of these sandstones with the double-double porosity (DDP) theory, which considers water saturation, porosity and the frame characteristics. A generalized seismic wavelet is used to fit the real wavelet and the peak frequency-shift method is combined with the generalized S-transform to estimate attenuation. Then, we establish rock-physics templates (RPTs) based on P-wave attenuation and impedance. We use the log data and related seismic traces to calibrate the RPTs and generate a 3D volume of rock-physics attributes for the quantitative prediction of saturation and porosity. The predicted values are in good agreement with the actual gas production reports, indicating that the method can be effectively applied to heterogeneous tight-gas sandstone reservoirs.