By the Fourier theorem, every sound can be decomposed into a sum of pure sine waves. Finite duration or non-repeating sounds require summing an infinite number of sine wave to perfectly reconstruct, but you can get arbitrarily close with a finite number of sine waves.
You can break down the waveform of any noise into its constituent pure frequencies. You can also generate any waveform by combining only pure frequencies. So long as the frequencies needed to construct the second sound are present in the first, then you can do it. If you don't have the necessary frequencies, you can compress or stretch the original waveform appropriately until you do.
Note that this is primarily a theoretical argument - if you have even a single sine wave, you can create any possible wave form by copying, modifying, and combining waves. Whether this is actually practical or in any sense worthwhile is a different story. In principle, though, any sound can be decomposed into sine waves, any sine wave can be turned into any other sine wave, and any sound can be synthesized as the sum of sine waves.