Matlab - FFT/PSD Problem for Preemphasis
- 1. Read an Audiodata ([y,fs]) and generate white Noise with a certain SNR ([n,fs])
- 2. Generate a Filter H which shapes the PSD(y) similiar to the PSD(n)
- 3. Generate an inverse Filter G=H^(-1) which reverts the effect of H.
- 4. Get the output signal
- 1. The pnout should be shaped liked pout (which it isn't).
- 2. The outputsignals (outy,outn) are both complex and therefore it is not possible to play the outputfile.