In most cases, when we say they are the same, we don't have all the data. For example, it is simple and efficient to increase cylinder compression with an overhead cam engine vs. a pushrod, and this will change the sound. Also, the exhaust angles and length of exhaust port are an effective means of altering sound wave frequencies. This is, for the most part, comparing apples and snow peas.