It's not very clear what you mean with "equal frequency composition", but assuming the sounds you're talking about are mostly tonal (and hence have a fundamental frequency f_1
and harmonics f_2 = 2*f_1
, f_3 = 3*f_1
, etc), you can try normalising your frequency axis to the fundamental frequency at each case - that is, plot the spectra against f_norm = f/f_1
(instead of against f
in Hz), where f_1
changes depending on your individual recording/animal. Hence, sounds at different frequencies will always show their fundamentals at f_norm = 1
, the 2nd harmonic at f_norm = 2
, and so on. Note that this compresses/stretches the frequency axis, so spectra with the same shape when plotted in Hz will not have the same shape when plotted in this normalized frequency!
[This is sort of "order analysis", a type of engineering analysis used for investigating noise and vibration generated by rotating machines - motors, fans, engines, etc - as their rotational frequency changes over time.]